Content-Length: 14238 | pFad | http://itch.io/post/6327301

Post by domjanabi in rock and roll and levitate jam comments - itch.io
Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

we had to design the character movement without the use of kinematicbody2D because it wouldn't interact with the die properly (infinite inertia). so we somehow made a character controller with the rigidbody2d node in character mode, which i don't recommend at all using in case you're considering it. move_and_slide() wasn't available 

also in your code i recommend storing the player's velocity
and then doing 
velocity = move_and_slide(velocity, Vector2.UP)
otherwise the player will continue moving in a certain direction even though there's an obstacle in the way
(like continuing to move upward after hitting the ceiling)









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://itch.io/post/6327301

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy