Help! The player get stucked.

Get help using Construct 2

Post » Fri Feb 07, 2014 10:01 am

Hello. What am i doing wrong?

It is probably silly but i have spent hours trying to find out why the player ge stucked....



https://www.dropbox.com/s/o99lo4m70i8covl/HELP.capx


Please help me!NMRosta2014-02-07 10:04:12
B
8
S
1
Posts: 14
Reputation: 569

Post » Fri Feb 07, 2014 10:11 am

It's actually very simple.

Once the player collides with sprite4 Variable1 is set to 1

System variable1 = 1 : set position to (67,356)

is true every tick after that, so every tick the position is set.

I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Feb 07, 2014 10:12 am

Just add Trigger once where you check the conditions (Variable1=1)
B
9
S
4
G
1
Posts: 44
Reputation: 1,663

Post » Fri Feb 07, 2014 10:13 am

You probably want the player's position to be set and after be able to repeat the same events.

The way to do that would be adding a condition system trigger once to the variable check and resetting the variable to 0 in an action.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Feb 07, 2014 12:26 pm

Thank you LittleStain & matthewxq!

Construct2 is amazing but it is many Trial and Error on the road. But now im back on the road again.. :)
B
8
S
1
Posts: 14
Reputation: 569


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests