Platformer Example

About Monkey 2 Forums Monkey 2 Code Library Platformer Example

This topic contains 4 replies, has 3 voices, and was last updated by  therevills 3 months, 2 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #13290

    Amon
    Participant
    #13299

    therevills
    Participant

    Nice little example Amon 🙂

    It runs too fast on my PC, so I needed to add a timer to slow it down.

    And by doing so you can see a little bug which sometimes makes “Dave” float upwards…

    #13312

    Amon
    Participant

    Heya, Cheers. 🙂

    Ahh, that’s a silly bug. Fixed, I think. Change the code below by adding a canJump = 0 after isFalling = 1.

    New code

    #13336

    Pakz
    Participant

    Nice. The movement feels good.

    I think I now also figured out how to use assets. I have not used those before in Monkey2.

    #13347

    therevills
    Participant

    @pakz I cheat, put everything in an assests folder and just use:

    Which will copy over all the assets 🙂

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

You must be logged in to reply to this topic.