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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support