Actor passing through ground (Platformer template)

Hello,

I created a platform game, almost the same as Platformer template. I took the rules of the pre existing game (Platformer template).

But my main character (actor) is passing through the ground. I have created two attributes "Facing right" and "Grounded?" but there is nothing to do, he passes through the ground. Can you help me ?

Thank you

Comments

  • silviossilvios Member Posts: 29
    Here is a screenshot of my actor, with rules : http://hpics.li/41f2d4b

    In Platformer template, like me, there is no Collide with ground, but just that rule called "Determine if grounded". For me it is not working, please help me
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    For two actors to collide with each other and affect each other, you have to use the Collide behavior.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • silviossilvios Member Posts: 29
    Thank you for your response, but in the "Platformer template", there is not the Collide behavior, and it is perfectly working. I did the same, but it does not work :/ .

    Can you look at the "Platformer template" please ? Thanks
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited December 2013
    I don't use Windows for game development but it's hard for me to believe there isn't a Collide behavior.

    Edit: nevermind. Not Windows!

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • BBEnkBBEnk Member Posts: 1,764
    edited December 2013
    The collide rule is in the actor and invisible actors are the ground:

    image
  • silviossilvios Member Posts: 29
    Thank you.

    BBEnk : InvisiSpring is not the ground, it is just the thing that enables you to dia big jump, in the right corner of the level. So I think there really is no Collide behaviour with the ground
  • BBEnkBBEnk Member Posts: 1,764
    Solid
  • silviossilvios Member Posts: 29
    Tatiang : i'm not using Windows too, i Use macbook , so maybe you can Check. I looked for 3-4 hours, i do not find that Collide behaviour
  • BBEnkBBEnk Member Posts: 1,764
    image
  • silviossilvios Member Posts: 29
    Solid are the walls, the character walks on the actor called Ground
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Why did I think you were using Windows? Sorry about that! Anyway, see above. :\">

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • BBEnkBBEnk Member Posts: 1,764
    1: solid is what the actor stands on so not to fall through or move past a point so it collides
    2: ground is a small thin actor on top of the solid so the actor knows it grounded
  • silviossilvios Member Posts: 29
    Ok i understand thank you ! I will try like that
Sign In or Register to comment.