1. detecting if all the colors in a grid are the same
STATUS: COMPLETE. i already thought of a way to do this.
2. detecting the direction a sprite is spinning
STATUS: NO CLUE. i first saw this employed in a flash game and i'm wondering if it could be reproduced in Scratch.
Any ideas?
Offline
Well, I'm sure it could be figured out with some sensing and motion blocks....hmmm...
Offline
Detecting which way a sprite is rotating? Sounds rather easy ( ). Give me a second.
Edit: Patched.
Last edited by Kileymeister (2011-04-22 19:58:57)
Offline
#2:
[Found mistake]
When you press space it turns in a random direction and tells you which.
Last edited by TheBlueRocky (2011-04-21 17:03:56)
Offline
Kileymeister wrote:
Detecting which way a sprite is rotating? Sounds rather easy ( ). Give me a second.
http://i51.tinypic.com/15pkhnm.gif
Edit: Patched.
good, I'm going to try it.
Offline
Kileymeister wrote:
Detecting which way a sprite is rotating? Sounds rather easy ( ). Give me a second.
http://i51.tinypic.com/15pkhnm.gif
Edit: Patched.
don't you mean 'stationary'?
Offline
echs wrote:
don't you mean 'stationary'?
D'oh, yes. Whatever, a typo's not too important.
Last edited by Kileymeister (2011-04-21 16:34:42)
Offline
Kileymeister wrote:
Detecting which way a sprite is rotating? Sounds rather easy ( ). Give me a second.
http://i51.tinypic.com/15pkhnm.gif
Edit: Patched.
It didn't work. Every time the sprite moved past 0 or 180, it changed.
Offline
echs wrote:
Kileymeister wrote:
Detecting which way a sprite is rotating? Sounds rather easy ( ). Give me a second.
http://i51.tinypic.com/15pkhnm.gif
Edit: Patched.It didn't work. Every time the sprite moved past 0 or 180, it changed.
Are you sure? It works perfectly for me even past those markers. Did you use the edited patched one? Did you recreate it correctly?
Last edited by Kileymeister (2011-04-21 16:45:54)
Offline
Did you leave the repeat 1 time blank? Otherwise it won't work properly.
Offline