Griffpatch' s physics engine must be an extension
It doesn't exist
None
Any
Disagree - if someone claimed that "My physics engine should be added too!", what will you do?
Hey now... I haven't even committed it to github, let alone got it ready
for any kind of release. Extensions will most likely not be considered for
quite some time to come. What we can do is try to host our extensions on
GitHub so that you can play with the ideas in a safe environment outside of
scratch... If I can work it out :/ keep struggling with getting git to do
what I want!
On Tue, 22 Jan 2019, 13:25 -Bonfire- <[email protected] wrote:
Reopened #4402 https://github.com/LLK/scratch-gui/issues/4402.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/LLK/scratch-gui/issues/4402#event-2088766914, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGbNvn--ZttRyVOGYYLc3qP60JW8LHRVks5vFxFEgaJpZM4aMAvX
.
I love @griffpatch's physics experiments!
I did some experiments along these lines, before we even had an extension spec. I used matter.js, but the idea was pretty similar. We may not be able to include something like this as an official extension, for various reasons, but it's worth thinking about. Here are some demos I made back in summer 2017, I think inspired by earlier work from griffpatch (note that the first one doesn't even have any blocks!):



I think this is a very intriguing idea. I've often wished for an easier way to add simple 2d gravity and velocity setting, e.g. for platformers, since that's something many of my students immediately show interest in.
I can see the argument against it -- that someone trying to, say, make their first platformer would learn more starting with simple constant speed up, constant speed down and then iterating from there, rather than using an existing library. But, an extension would not replace the ability to learn this.
Interesting! My first attempt at the scratch 3 physics extension also used
matter.is, but after a little playing with it i found it not very good...
Box2d provided far better physics interactions and allow for the required
offset of the sprite center vs. their center of mass... :)
I'm having a bit of trouble with my GitHub branches... I want to revert my
branch to a fresh new copy of your repo and then upload to a working GitHub
site... But not am I struggling with it sigh. Feel like it should be so
easy ;)
On Tue, 22 Jan 2019, 20:32 Benjamin Wheeler <[email protected] wrote:
I think this is a very intriguing idea. I've often wished for an easier
way to add simple 2d gravity and velocity setting, e.g. for platformers,
since that's something many of my students immediately show interest in.I can see the argument against it -- that someone trying to, say, make
their first platformer would learn more starting with simple constant speed
up, constant speed down and then iterating from there, rather than using an
existing library. But, an extension would not replace the ability to learn
this.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/LLK/scratch-gui/issues/4402#issuecomment-456552274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGbNvr9pgTLM0fu1hYmLdkclTrNKdKrQks5vF3VAgaJpZM4aMAvX
.
In case you're interested, here's a video of the current extension in
action:
On Tue, 22 Jan 2019, 22:42 Andrew Griffin <[email protected] wrote:
Interesting! My first attempt at the scratch 3 physics extension also used
matter.is, but after a little playing with it i found it not very good...
Box2d provided far better physics interactions and allow for the required
offset of the sprite center vs. their center of mass... :)I'm having a bit of trouble with my GitHub branches... I want to revert my
branch to a fresh new copy of your repo and then upload to a working GitHub
site... But not am I struggling with it sigh. Feel like it should be so
easy ;)On Tue, 22 Jan 2019, 20:32 Benjamin Wheeler <[email protected]
wrote:I think this is a very intriguing idea. I've often wished for an easier
way to add simple 2d gravity and velocity setting, e.g. for platformers,
since that's something many of my students immediately show interest in.I can see the argument against it -- that someone trying to, say, make
their first platformer would learn more starting with simple constant speed
up, constant speed down and then iterating from there, rather than using an
existing library. But, an extension would not replace the ability to learn
this.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/LLK/scratch-gui/issues/4402#issuecomment-456552274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGbNvr9pgTLM0fu1hYmLdkclTrNKdKrQks5vF3VAgaJpZM4aMAvX
.
@benjiwheeler Or we could use box2d.js or cannon.js as alternatives... But I don't recommend that. Using either one will be REALLY hard to implement. I suggest that you wait until @griffpatch's extension is complete unless you want to play around with it :)
@ericrosenbaum What are those reasons, really?
@griffpatch could you release it, please? The Scratch community will be pleased!
@apple502j I don't think it would happen, especially if people don't know who made it. As you can see, people are literally screaming for it! In case this happens though, we can tell them to collaborate with griffpatch
@griffpatch I can try to help with Github stuff... feel free to reach out more directly, my info is at techno-social.com
@griffpatch I can try to help with Github stuff... feel free to reach out more directly, my info is at techno-social.com
Thanks Benji, but as luck would have it I think I finally got my repo in order and managed to publish my scratch-gui to github pages: https://griffpatch.github.io/scratch-gui/ Ta-da!
Most helpful comment
Thanks Benji, but as luck would have it I think I finally got my repo in order and managed to publish my scratch-gui to github pages: https://griffpatch.github.io/scratch-gui/ Ta-da!