"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
44
S
13
G
7
Posts: 32
Reputation: 5,628

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: 534
Reputation: 7,195

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
44
S
13
G
7
Posts: 32
Reputation: 5,628

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: 534
Reputation: 7,195


Return to Construct 2 General

Who is online

Users browsing this forum: jachalmarrie, MadSpy, winsonzhong and 5 guests