I am making a game where there are two tanks in a maze and the balls bounce off the walls ( Like in tank trouble if you've played it)I have tried scripts of my own and others from the interent but none of them work properly becuase sometimes they travel through walls or don't bounce properly. Thank you
Offline
good idea but dont now what to sugest
Offline
zammer990 wrote:
assuming the maze is top down, it should be a simple matter of using a detector costume to see what orientation the walls are, then using the appropriate script. I'll post code if asked
yes please
Offline
zammer990 wrote:
Just found this on the wiki, the code involved should be exactly what you want
http://wiki.scratch.mit.edu/wiki/If_on_Edge,_Bounce_(block)
i love you so much thnx also i had a look at some of your games and love them
Offline
I don't really know how to make the balls move but I know how to make the balls bounce off the wall. Just use this script.
Sprite 1 (ball)
if on edge, bounce
Last edited by maxamillion321 (2013-01-03 16:10:19)
Offline
maxamillion321 wrote:
I don't really know how to make the balls move but I know how to make the balls bounce off the wall. Just use this script.
Sprite 1 (ball)if on edge, bounce
That block would only work if the only walls it had to bounce off of were the stages boundaries, the link I posted is a mirror of that, but that works for all blocks
Offline