auto runner powerup proplem

Get help using Construct 2

Post » Sun Oct 27, 2013 12:30 am

hi guys am making auto runing game style but i can't make the power up function disactive after an x of time
the function called (X2)
here is the capx
https://dl.dropboxusercontent.com/u/62993408/running.capx

thanxminaehab2013-10-27 00:33:17
B
6
S
1
Posts: 49
Reputation: 573

Post » Sun Oct 27, 2013 12:47 am

player on collision powerup:
[add powerup effects (like activating your group)]
[start timer "powerup" for 5 seconds once]


player on timer "powerup"
[remove powerup effects (like deactivating your group)]mindfaQ2013-10-27 00:48:40
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 788
Reputation: 3,788

Post » Sun Oct 27, 2013 1:21 am

i already done that but still not work
B
6
S
1
Posts: 49
Reputation: 573

Post » Sun Oct 27, 2013 1:28 am

Well because your "on timer"-event is empty and the start of your timer is deactivated. Also you try to run "every tick" in a function, which is run only when called (so if you call it once, the stuff in "every tick" will only run once).
You try to deactivate the group "timer" which doesn't exist in your project. If think you need to clean up some stuff there ^^.mindfaQ2013-10-27 01:30:49
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 788
Reputation: 3,788

Post » Sun Oct 27, 2013 1:53 am

ok i active time
put power up effect on timer
disactive every tick
still not disactivating

capx reuploadminaehab2013-10-27 01:53:46
B
6
S
1
Posts: 49
Reputation: 573


Return to How do I....?

Who is online

Users browsing this forum: irina and 10 guests