godot-wildlings / cyberpunk-jam-2019

https://itch.io/jam/cyberpunk-jam-2019
MIT License
2 stars 0 forks source link

player sticks to walls and objects #30

Closed plexsoup closed 5 years ago

plexsoup commented 5 years ago

When you jump into the side of a StaticBody2D, you stick there and slowly slide down.

Add a reflection vector and use the remainder to you bounce off. https://docs.godotengine.org/en/3.1/tutorials/math/vector_math.html#reflection

plexsoup commented 5 years ago

added bounce effect to jumping and falling states