personaly i realy need a block like <> bounce so you could bounce off of colors or sprites, i mainly need this for a game, your player can walk backward and forward, but when i try to make a wall, he just plows through when he goes backward, and i already have lots of sprites, so i dont want to add more with add x or add y, because that would require 12 more sprites, see my problem?
Offline
I had this problem also. You mean like trying to balance on something, right?
Try this:[blocks]<if><touching color[
or
[blocks]<if><color[ ]is over[ [/blocks]
Last edited by boogawk (2009-06-16 17:46:28)
Offline
read the notes in this:
http://scratch.mit.edu/projects/yambanshee/371970
(trig can be replaced with move X steps)
Offline
yeah, both are good points, but it doesn't help with what I'm doing, i need to make walls on a some houses, for a game, you see it birds eye view, and well, i dont want to make 16 new sprites for walls, thats the problem
Offline
zackman94 wrote:
yeah, both are good points, but it doesn't help with what I'm doing, i need to make walls on a some houses, for a game, you see it birds eye view, and well, i dont want to make 16 new sprites for walls, thats the problem
I'm a bit confused by what you mean, so this may not make any sense: Try having slightly different colors (different colors for each wall, but you can't tell because the colors are so similar).
Last edited by Jonathanpb (2009-06-23 02:00:10)
Offline
It would also be cool, because there is the block 'if on edge, bounce', so why not the 'if touching [sprite here], bounce'. Wouldn't it be cool?
__________________________________________
Even if the internet dies, Scratch shall not.
Last edited by Jonathanpb (2009-06-18 02:29:07)
Offline
If what you are looking for is solid walls, without a lot of sensing sprites, here is a technique you might find useful
http://scratch.mit.edu/projects/Paddle2SeeFixIt/188825
or
http://scratch.mit.edu/projects/Paddle2SeeFixIt/188807
Offline