Q in Advanced Platformer Movements

Hello,

I want to ask you - What rules/attributes are needed if:

­1 » Player (controlable) does "Slide" along Ground (Vertical) while holding the Key (Left/Right) (Depending on which side is the wall)?
2 » Player (controlable) does move a bit either right or left when jumps off the Ground (Vertical)?
3 » Key (Left/Right) does NOT block (doing nothing) when Player (controlable) jumps off the Ground (Vertical)?


Let me provide you a video of similar game which uses the techniques mentioned above.



1 » 1:34 to 1:37
2 AND 3 » 2:16 to 2:25

Thank you in advance.

Comments

  • SylvannusSylvannus Member Posts: 21
    Bump
  • SylvannusSylvannus Member Posts: 21
    Bump
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    If you can rephrase your post, I think you'll be more likely to get the help you're looking for.

    You wrote:

    1 » Player (controlable) does "Slide" along Ground (Vertical) while holding the Key (Left/Right) (Depending on which side is the wall)?

    Could this be reworded as follows?

    1. The player "slides" along the ground while holding the left or right arrow key

    English may not be your first language, so I think you're getting few responses because it's hard to understand what you're wanting. The video is helpful but I'm still confused about your request.

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

  • SylvannusSylvannus Member Posts: 21
    That's right. If you remove the words such as (controlable) and (vertical), it is the same sentence as yours.

  • SylvannusSylvannus Member Posts: 21
    Removing the mentioned words above, you will see the exact question. Those words written in the brackets are just additional information about which object I am talking about.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    It was confusing for me, so I imagine it was confusing for other people as well. Hopefully someone will answer your questions. :)

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

  • SylvannusSylvannus Member Posts: 21
    Anyone know anything about this mechanics?
    I'd really like some help.
  • MissOgynistMissOgynist Member Posts: 5
    I haven't done something like this just yet (I have been using GS approx two weeks), but I would assume there are a couple different ways to go abouts doing this depending on what you want final results to be, such as:

    1] You could increase the friction physics attribute on your "Walls" (a better term for vertical ground);

    2] Alter (change attribute) the "gravity" or downward movement in your game while the player is colliding with walls.


    I assume the second way would be more of what you are looking for here. With my limited knowledge, I do not believe this to be something very complicated.
    * create Wall actor
    * add rule to Player actor that checks for Wall collision and button presses (L/R). If conditions are met, change attribute to your downward movement to a smaller number.

    That should really be it. Hope this helps.
  • MissOgynistMissOgynist Member Posts: 5
    For clarification, my numbers do not align with the OP numbers. They are referring to the wall-slide functionality. Thought I would toss that out there as well.
  • SylvannusSylvannus Member Posts: 21
    I will check this way out later this night. However, thank you for your output.
  • oo7franoo7fran Member Posts: 25
    Do a search on youtube for jamie cross he has a tutorial for advanced platformer movement which might help. By changing his movement rule that checks for ground collision so that it checks for wall collision and then modify the parameters to suit your needs
Sign In or Register to comment.