Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


OverviewFelgo 2 Support (Qt 5) › key mapping?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #8952


    I’m looking over the platformer demo, specifically at the player, and I’m wondering why he jumps when I press up. I’m looking at this file I can see why he jumps but where are the buttons defined that call the jump function? If I wanted to change jumping from the up arrow to the space bar how could I?


    Felgo Team


    have a look at the TwoAxisController component in the GameScene.qml file.
    You can also add console.debug(actionName) in the onInputActionPressed signal handler to see what codes you have to check against when you want to use the space button instead.




    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.