Hello experts,
I'm trying to make a simple game... Rocket (block) takes off from surface (rectangle) and textbox shows distance travelled. That's it
I've checked online and found =[quote:3gr1dir3] Distance(instance1.x,instance1.y,instance2.x,instance2.y)
but don't know how to apply it.
Originally I tried a variable = DIST (distance), but I'm intriged by system action. Here's my capx
http://robfreeman.co.uk/temp/game.capx
rules:
1. Player clicks = TAPS variable adds
2. Bar counts down and when = 0, the rocket (block) takes off.
3. variable "Burnout" starts and counts down from 10.
4. when "Burnout" = 0, I was DIST textbox to display the distance from surface to rocket.
Hope this makes sense.
As you may see, I tried doing this with a variable "DIST", but I cannot get it to stop counting when "Burnout" = 0
Thanks for your time.
Roberto