platform game RRS feed

  • Question

  • Good evening,

    I would try to make a small platform game (simple).
    Here's the reference:


    I would, at first:
    - Improve the message waiting for loading images
    - Streamline the movement of the main character (
    I wish I could manage with the jump directions)

    - Ensure that it can jump from one platform to another (what is the technique?) (Genre press 2 times the space bar to give more power to jump?)

    There, I put everything on the same background. Maybe he should ask the different platforms, as an object or sprite?

    Later, I'll add objects rammaser and others to avoid.

    And online, the jump does not work, probably because of the speed of the Internet

    Can you help me?

    Thank you.


    • Edited by absolu Sunday, December 11, 2011 6:56 PM
    Sunday, December 11, 2011 6:51 PM


All replies

  • There is an other version :




    If you can help me with these.

    Thank you.

    Sunday, December 11, 2011 9:36 PM
  • What you want to do is create a variable holding the position of the player's Y coordinates. Then you initiate a loop that makes the player go up, and after a certain point, go down. The loop stops when the player hits the ground or touches a platform. When you are in the air you should be able to move, I think.


    For an example, see:

    • Edited by AirWaves Sunday, December 11, 2011 11:03 PM
    Sunday, December 11, 2011 11:02 PM
  • QMN494-0   

    Jump problem is solved.  (Online) 

    Tuesday, December 13, 2011 10:27 AM
  • Thank you,


    I'm going to analyz the code.



    Tuesday, December 13, 2011 11:14 AM
  • Is the character suppose to keep going up if holding down space?


    Kirk Friend

    Tuesday, December 13, 2011 11:25 AM
  • Yes.


    Maybe i must put the platfofrms as sprites ?



    Tuesday, December 13, 2011 11:31 AM
  • Good evening,

    I got to do collision detection with the icing. Should I happened to do it with other objects, etc ...

    But I can not find a way to ensure that the player can land on the platforms, if they are falling over, etc ...

    Could you help me?

    Thank you.

    Thursday, December 15, 2011 9:06 PM