Platform Game Questions

0 favourites
  • 9 posts
From the Asset Store
A pack of 76 platform designs for a platformer game with a mushroom/jungle theme
  • Hi guys, I'm trying to create my first platform game.

    I'm starting to make the character animations and I would like if it is possible to change the default (JUMP) up arrow key action.

    I would like to make my char jump when up arrow is pressed, but I want him jumping using the animation that I did, I dont want the "default jump".

    Is it possible?

    Thanks in advance!

  • Yes it is possible.

    Checked this beginner's tutorial about platform games, it should answer your first questions.

    Later, you can check the how do I FAQ which lists lots of examples of platform and other type of games mechanics.

  • Oh man! Thanks a lot! <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Hey Kyatric, I found many useful informations on those links but I'm afraid I could not locate what piece of text is talking about replacing the UP ARROW key function. I meant, how to clear the jump moviment of this key. Do you know how can I do it? Thanks again!

  • Set the property "Use default controls" to "No" in the platform behavior properties.

    Add a keyboard plugin, and use the events "on key pressed" or "on key is down".

    It's explained/showed in the pages 4 and 5 of the tutorial I previously linked.

    When you use those condition, you use then the action "Simulate control" accordingly to the key pressed. (ex: left key is down => Simulate control Left)

    You then use the "simulate control: Jump" for the key of your choice.

  • Oh nice!

    Allow me to annoy you again...

    How could I make my char jump lower or higher according to how much time the "jump key" was pressed?

    I mean, the more you press the "jump key" the higher char will jump...like super mario game.

    Thanks!

  • Hey, I was actually looking at this myself recently.

    Be sure to always check the How Do I FAQ as it's a great resource and has a ton of questions like this that have already been answered.

    Here's the specific link you're looking for: Varied power of jump

    Hope this helps <img src="smileys/smiley1.gif" border="0" align="middle">

  • Wow purplenurple, that's exactly what I needed! Thank you very much!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You're very welcome.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)