0 Favourites

Fall through solid ground

This forum is currently in read-only mode.
  • Hi.

    I don?t know if there?s another topic wich discribes the same problem.

    Anyway...

    I made a solid ground and set the players properties (Platform Behavior).

    The Player has Idle,Walk,Jump and Fall Settings.

    At the first Gametest all does worked nice, but after I changed Jump and Fall Grafic, it doesen?t worked really good.

    So i set it again, like it was before.

    Now the Player falls, by starting the game, throught the solid ground.

    I really don?t know why.

    2shared.com/file/PH0-NSNj/Projekt.html

    That?s the .cap

  • Without seeing the .cap. it's just guesswork, but I'd suggest checking the collision mask. Looks like it's missing.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Does anyone know, how the problem can be fixed?

  • Edit the sprite and delete the collision mask, then click on collision mask again and close and save. Right mouse on the edited sprite and 'copy collision mask to each frame'.

    Do this for all anims.

    This will fix the falling problem but I wouldn't recommend this way of doing things. Using the animation 'tags' has always caused problems for me. It is usually better to use a dummy sprite with the platform behavior and set the position of the main sprite to this using System: always set position to object.

    Try to hunt down the platform school examples - they have lots of useful tips.

    In case you're interested, the first 5 lessons from Platform School are HERE, and part 6 can be found HERE.

  • Thank you for your help, but i don?t understand

    it complete how you explain...

    "Edit the sprite and delete the collision mask"

    Do you mean the collision mask sprite, or one the player sprite?

    "then click on collision mask again and close and save"

    There you mean the c-m sprite, do you? But you have to edit it to close and save.

    And after that i have to copy the cm to each frame.

    That?s what i?ve done, but it doesen?t work.

    "a dummy sprite with the platform behavior and set the position of the main sprite to this using System: always set position to object."

    I don?t understand it. How do i do this?

    Sorry if that are silly questions, but i?m a beginner.

    Maybe the Tutorials explains it too.

    Anyway, i look to them.

  • A VERY quick and simple way to get you going is just to click on the main sprite in the layout (Spieler), then in the Properties bar on the left, change the 'Collision' property to bounding box.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
168 15,515
Lumicreative's avatar
Lumicreative
Unread hot topic
37 4,506
JackieChan's avatar
JackieChan
Unread hot topic
0 Favourites
[plugin] New grounds api v3
41 7,899
Picoti's avatar
Picoti