Q in Advanced Platformer Movements
Sylvannus
Member Posts: 21
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.
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
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
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I'd really like some help.
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.