How do I

Get help using Construct 2

Post » Sun Jun 14, 2015 4:50 am

So i have this thing in where you get hit you loose some items and don't pick them up the start flashing after 2 secs and disappear after 9 secs exept they don't flash the objects in questions have 30 frames and run at a speed of 15.5 frames could someone please help
(and yes i used the command to start flashing)
B
5
S
1
Posts: 60
Reputation: 495

Post » Sun Jun 14, 2015 5:15 am

Why not have a timer variable?

Something like:
local (timer) : initial value (9)
Is object Visible?
>Yes
>every 1.0 second : subtract (1) from (timer)

local (timer) </= 7 : flash (or play "flash" animation)*
local (timer) = 0 : destroy

*The 30 frames sound very superfluous, unless each frame is doing something different. Is it a flashing animation? If so, see above.
Check out my VGM on my soundcloud page!
Video-Game Music: E.C.2151
B
9
S
3
G
2
Posts: 194
Reputation: 1,713

Post » Sun Jun 14, 2015 5:27 am

@Emperor Ing

I'm not very good with timers... if its not too much trouble could you post a capx. that would really kelp
The 30 frames are to make the object rotate on the z axis not flashing

(Couldn't help but read your post in what i imagine Dr Willy's voice to b e :D )
B
5
S
1
Posts: 60
Reputation: 495


Return to How do I....?

Who is online

Users browsing this forum: BiffanyPFH and 27 guests

cron