So I'm creating a new game and theres this Green Sucker thing that suckes the ball up right( its kinda like a pong game so the ball goes up and down left and right!!), and i've got the animations for the sucker and i need to get it to suck the ball up, i know how to make it go to the next level, but its just the sucking part please!
Offline
Alright. Heres a code which should work
When flag pressed forever if <(distance to [vortex])=10)> Glide [1] secs to x:[X position of Vortex] Y:[Y position of vortex]
Hope this helps!
If you need more help, just say so!
Offline
ssss wrote:
Alright. Heres a code which should work
Code:
When flag pressed forever if <(distance to [vortex])=10)> Glide [1] secs to x:[X position of Vortex] Y:[Y position of vortex]Hope this helps!
If you need more help, just say so!
Hmm, Didnt Work, Do i put that on the ball and is Vortex my sucker? (my Sprite is called Sucker) Umm The Sucker also has animation, does this effect it?
Offline
Matty3414 wrote:
ssss wrote:
Alright. Heres a code which should work
Code:
When flag pressed forever if <(distance to [vortex])=10)> Glide [1] secs to x:[X position of Vortex] Y:[Y position of vortex]Hope this helps!
If you need more help, just say so!Hmm, Didnt Work, Do i put that on the ball and is Vortex my sucker? (my Sprite is called Sucker) Umm The Sucker also has animation, does this effect it?
If you could upload the project that would help
And yes, vortex is your 'Sucker' sprite! Maybe change the if <(distance to [vortex]=10) to <if (distance to [vortex] = 20> or <distance to [vortex] <20)
Offline
Matty3414 wrote:
Yay the '<distance to [vortex] <20)' Worked Thx so much for all the times u helped me! Now just to make it better!
your welcome
If you need me any more, I'm happy to help!
Offline