Hello! I have an "asteroids"-like game project: https://snap.berkeley.edu/snap/snap.html#present:Username=pavelbel&ProjectName=Asteroids-public
There is a bullet sprite and a child of it, a sprite with small 1x1 costume (I use it for speeding up collision detection with rocks). Sorry, names are in russian. The smaller one is the last in sprites list.
The problem is: when clicking or trying to move the 1x1 sprite in the list, the Snap! page immediately hangs.
What browsers show this problem? - Chrome & Firefox
Hi, I can't reproduce this issue. Can you be more specific or share a project that isolates the behavior you see more clearly? You project works fine for me.
Hi Jens! The project itself works fine, I know The problem appears in editor, when I just click on sprite named "Основа пули" (it is the last sprite in sprites list under the app window). Snap window immediately stops responding.
And also did you see any rock appearing in "arrow" costume? It is an error too: I never switch to it
The bug with the rocks is easy to fix. It happens, because your project starts right away, meaning you might already be creating clones, before the costumes are "initialized". Just add a "switch to costume (aster_10_0)" block right below the "When I start as a clone"-block in your Камень sprite.
Crazy, I can't reproduce it on my Computer in Chrome. No matter what I try....
Same with Firefox, everything works, I can click on the problematic sprite, nothing breaks for me. Geez!
Hi @pavelbel, I've just released a patch of Snap! that - among other things - addresses the issue of sub-pixel sized thumbnails that was causing the hangup. Can you confirm that the bug is fixed? Thank you!
Tested just now. No more hangs, the bug is gone. Thank you for the patch and for Snap! itself - it's is very powerful and fast. But the thing I like most is it's smooth animations.