mit-cml / appinventor-sources

MIT App Inventor Public Open Source
http://appinventor.mit.edu/appinventor-sources/
Apache License 2.0
1.47k stars 2.06k forks source link

Implement glide #1062

Open halatmit opened 6 years ago

halatmit commented 6 years ago

Implement glide for sprites, similar to Scratch. This might done using Evan's idea for a blocks thread, but it might be simpler and better to just do the glide on a separate thread, similar to how sprites move under setSpeed.

Note that Scratch's Glide command is a blocking command, so we would do presumably do this using Evan's blocks thread.

espertus commented 5 years ago

Implementing a non-blocking guide was trivial but would probably confuse the user. Should we offer a non-blocking option or just make it always blocking? A pro argument is so someone can have multiple glides take place at the same time. A con argument is that it's confusing to have multiple options. Let me know what you think and if I should post to the list.

In either case, we have to figure out what to do with collisions while gliding.

@ewpatton could you please point me to your blocks thread or other relevant technology?

halatmit commented 5 years ago

Just off the top of my head, I think glide should block. But I could be convinced otherwise.

== Hal

Hal Abelson hal@mit.edu Prof. of Comp. Sci. and Eng. MIT Dept. of Elec. Eng. and Comp. Sci.

On Fri, Aug 16, 2019 at 6:21 PM Ellen Spertus notifications@github.com wrote:

Implementing a non-blocking guide was trivial but would probably confuse the user. Should we offer a non-blocking option or just make it always blocking? A pro argument is so someone can have multiple glides take place at the same time. A con argument is that it's confusing to have multiple options. Let me know what you think and if I should post to the list.

In either case, we have to figure out what to do with collisions while gliding.

@ewpatton https://github.com/ewpatton could you please point me to your blocks thread or other relevant technology?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mit-cml/appinventor-sources/issues/1062?email_source=notifications&email_token=AAGAXNZRP32N2THYV2LWCJTQE4R5BA5CNFSM4EJKGRV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4P2U3Q#issuecomment-522168942, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGAXN3QOHT7LJW7KDNR7FLQE4R5BANCNFSM4EJKGRVQ .

espertus commented 5 years ago

See proposal: https://docs.google.com/document/d/1fMbRtCLAjDqLaNrAlnHLa7fC5QvPGDKBBtTt554p1jU/edit?usp=sharing