Double Jump Issue (SOLVED)

I want to make the player be able to double jump after picking up a PowerUp. It works properly on mobile devices, but it doesn’t work on PC.

The animation doesn’t change when you press Space and the other conditions are met? :thinking:

It changes, but it didn’t work. I had to separate the touch and pc command’s events. To the pc one (the one which wasn’t working) I had to modify it by adding +1 to the variable doppiosaltopowerup.
So now it’s:
The scene variable doppiosaltopowerup <2 and not <1 which I used and it works.
But for touch command events it works at <1

1 Like