"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
34
S
11
G
6
Posts: 29
Reputation: 4,672

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
48
S
15
G
6
Posts: 512
Reputation: 7,121

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
34
S
11
G
6
Posts: 29
Reputation: 4,672

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
48
S
15
G
6
Posts: 512
Reputation: 7,121


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests