"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
29
S
7
G
2
Posts: 28
Reputation: 2,145

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
45
S
15
G
6
Posts: 481
Reputation: 6,982

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
29
S
7
G
2
Posts: 28
Reputation: 2,145

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
45
S
15
G
6
Posts: 481
Reputation: 6,982


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests