"is Jumping" or "on Jump"

Discussion and feedback on Construct 2

Post » Sat Feb 21, 2015 5:20 pm

I spent some time trying to find the answer to this on the forums, but I didn't find one. Which event trigger would have better performance, "is Jumping", or "on Jump"?
B
50
S
16
G
8
Posts: 34
Reputation: 6,582

Post » Sat Feb 21, 2015 5:48 pm

"On Jump" is triggered only in the first frame when the player starts to jump
"Is Jumping" is triggered every frame while the player is jumping
B
49
S
15
G
6
Posts: 535
Reputation: 7,197

Post » Sat Feb 21, 2015 5:52 pm

TGeorgeMihai wrote:"On Jump" is triggered only in the first frame when the player starts to jump
"Is Jumping" is triggered every frame while the player is jumping


Then would "is jumping - trigger once" be the same as "on Jump"?
B
50
S
16
G
8
Posts: 34
Reputation: 6,582

Post » Sat Feb 21, 2015 6:16 pm

SEGamestudio wrote:
TGeorgeMihai wrote:"On Jump" is triggered only in the first frame when the player starts to jump
"Is Jumping" is triggered every frame while the player is jumping

Then would "is jumping - trigger once" be the same as "on Jump"?

Yes
B
49
S
15
G
6
Posts: 535
Reputation: 7,197


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests