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"?
Develop games in your browser. Powerful, performant & highly capable.
"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
"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"?
> "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"?
> "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
>
Yes