Noob question!

Discussion and feedback on Construct 2

Post » Fri Feb 20, 2015 4:10 am

I'm wondering whther it is more performant this:

Every 1 sec
Sprite is on screen
-----------------> Set Sprite effect "normal mapping" enabled

Or this:

Sprite is on screen
Trigger Once
-----------------> Set Sprite effect "normal mapping" enabled

The second one does the intended effect,of course i dont need the game to set every second "normal mapping" enable, BUT, i'm unsure about the conditions: does the game checks every single DT if the sprite is on screen in second example? In that case, is it batter to let the game check once every 1 sec, so that it doesn't get cluttered with check every frame? (i got plenty of those events).
B
55
S
18
G
4
Posts: 338
Reputation: 5,865

Post » Fri Feb 20, 2015 4:18 am

as far as I know, any condition that is not a trigger (the green arrows) will be checked every tick
Image
B
46
S
12
G
6
Posts: 270
Reputation: 11,616


Return to Construct 2 General

Who is online

Users browsing this forum: kururugi66, Yahoo [Bot] and 4 guests