Collision - simple platformer game.

This forum is currently in read-only mode.
From the Asset Store
Basic Rounded Vector Geometry Player Design with Glow for 3 player games
  • Pretty much I need to know how to make the player sprite collide with the ground sprite so he doesn't fall through it. I've put the platform behavior on the player sprite already.

    I would also like to know how I can use my animations like:

    When it jumps it does the jump animation

    Or basic things like my walk animation

    and how to make it turn left when I walk left

    I'm pretty noob to Construction so you might have to go into some detail,

    Thanks!

  • Simply select the ground, and under 'Attributes' in the properties bar, tick 'Solid'. If you go file - new - template and pick Simple Platformer, there's a demo of this in action (but not animations).

    Using the animator bar you can add animations and animation frames to a sprite. If you then add the 'Mouse and Keyboard' object, you can add events such as 'On shift pressed - change to jump animation'.

  • Hey thanks! I'll test this out!

    How about when I want my guy to start walking left or right, can I just do some sort of command that mirrors the animation to the left, cause my walking animation is only for the right!

    And is there any way to select more then one sprite at once so that i can make rows of ground easier and more equal?

    And Is there a way i can make my character sprite be able to do a double jump?

  • Oh and I don't see any action/command to change the sprite to an animation.

    Never mind I got it to work.

    Never mind again, I found the command but it is not working.

  • Please review the end of this thread:

    That may help get you started. If after that you have any further questions, please ask.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok i sort of figured out the angle stuff, but it's not working: Cap file: http://files.filefront.com/Gamecap/;102 ... einfo.html

  • A couple things to change. For each angle of animation, make them "looping" at a speed of about 10 or so.

    Why it's crashing right after the platform movement comes to a stop is eluding me. Ashley? Rich?

  • Yeah I don't know why It's crashing, Also what annoys me is when I do the "Import frame" (because i can import multiple frames in at once) It doesn't have transparency and makes a blue box around the sprite. So i have to do the add frame, which is annoying cause it's importing one frame at a time.

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