How do I make him land at the same spot every time?

Get help using Construct 2

Post » Sat Feb 13, 2016 10:17 pm

Hi! Im having some trouble with this. I want a square to jump to a certain point and always land at that point. But alter the hight of the jump by how long you hold the mousebutton. like this Image

here is a capx wich requires the move to behaviour. As you can see the in the capx the first jump always work. But then it screws up. I guess the sine and the moveto behavior does not work that good together. But any way to make it work is helpful. Thanks

https://drive.google.com/uc?export=download&id=0B-fFT9zZyH3CaDBYMlQ1ejBZOFk
B
11
S
4
G
2
Posts: 116
Reputation: 1,936

Post » Sun Feb 14, 2016 8:19 am

Anyone?
B
11
S
4
G
2
Posts: 116
Reputation: 1,936

Post » Sun Feb 14, 2016 1:07 pm

The wave is not synced, and can't be synced.
The collissions trigger to soon.

Here is a solution with a synced wave and synced triggers:

https://
drive.google.com/open?id=0B1SSuCVV8v74Nmh4MHR0cDZDVEU
B
33
S
18
G
28
Posts: 2,477
Reputation: 20,918

Post » Sun Feb 14, 2016 4:45 pm

@99Instances2Go Thanks a lot. This works just great. I have not had the time to check the coding that much yet but it works just the way as i was thinking. Actually even better. You are my hero.
B
11
S
4
G
2
Posts: 116
Reputation: 1,936


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 1 guest