Jump Help Counter

Get help using Construct 2

Post » Thu Mar 21, 2013 6:44 pm

People, I am developpintg a game of the olympic sport: Long Jump. So, the player runs through a track and then he jumps into the Sand Box. My problem is: I want to count the distance in pixels that he has jumped till the landing and register that in a Score box... can someone help me?
ThanksGabriel Leal2013-03-21 18:48:08
B
3
Posts: 4
Reputation: 308

Post » Thu Mar 21, 2013 7:59 pm

You can store the player's X coordinate into a variable upon jumping, find the difference between that value and the player's X coordinate upon landing, and plug that into a text box.

Demo
Capx

This is some pretty basic stuff. It's probably worthwhile to go through the beginners guide, and check out some of the tutorials to get a grasp of the basics.zatyka2013-03-21 20:10:07
B
44
S
13
G
7
Posts: 338
Reputation: 10,389


Return to How do I....?

Who is online

Users browsing this forum: dadanwsd, DemantDigitalArt and 20 guests