Confused with Every Tick

Get help using Construct 2

Post » Thu Mar 21, 2013 2:41 am

Hello, So I understand the "System: Every Tick" Condition, executes the Actions inside of it, every tick, but how is that different from Conditions that are just listed at the top level outside of Every Tick, they too execute every Tick, I am confused. :(

Thanks
Brett
B
21
S
7
G
1
Posts: 128
Reputation: 3,076

Post » Thu Mar 21, 2013 4:06 am

Every tick is an even that runs without a condition every tick. Events with conditions are evaluated every ticks as well, but they have a condition.

So, if you want to update your UI every tick no matter what is going on, you use every tick. If you, instead, only wanted to update the UI every tick when the player was on screen, you'd use Player -> is onScreen.
B
26
S
8
G
3
Posts: 210
Reputation: 5,973

Post » Thu Mar 21, 2013 10:19 am

Maybe this is oversimplifying but I think the best way to interpret Every Tick is as an 'Always' action.
So saying
[Every Tick > Make Player Look at Cursor]
is the same as saying
[Always Make Player look at Cursor]
B
13
S
4
Posts: 129
Reputation: 1,483

Post » Thu Mar 21, 2013 12:59 pm

That makes sense as I look at my logic and really think what you both say makes sense. DUH, thank you.
B
21
S
7
G
1
Posts: 128
Reputation: 3,076


Return to How do I....?

Who is online

Users browsing this forum: Zebbi and 23 guests