I have a game where somes after destroying rocks a powerup spawns bu i don,t kno how to make it go to recently destroyed Rock, they are many difdrent rocks help anyone
Grammer? Whats grammar?Offline
fillergames wrote:
I have a game where sometimes after destroying rocks a powerup spawns, but i don't know how to make it go to recently destroyed Rock, they are many diffrent rocks help anyone
Fixed grammar errors
Grammer? Whats grammar?Offline
fillergames wrote:
fillergames wrote:
I have a game where sometimes after destroying rocks a powerup spawns, but i don't know how to make it go to the recently destroyed Rock. There are many different rocks. Help, anyone.
Fixed grammar errors
Fixed more of you grammar. Anyway, one way you could do this is have two variables called x and y. Whenever a power rock is destroyed, it sets x to its x position and it sets y to its y position. Then it broadcasts hit. From there, your powerup should have:
when I receive [hit v] go to x: (x) y: (y) show your script hideAnd it will go to the recently destroyed power rock. Anyway, I hope that this helps!
Last edited by ErnieParke (2012-10-16 17:38:53)
Offline
Thank you for the help
Grammer? Whats grammar?Offline