Skip to main content

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

This is a great game! I noticed you used smartshapes for the level collision, how did you do the wallrunning? I've been trying for a while now and i can never figure it out. Thanks!

(+1)

Thanks! Wallrunning was really tough will smart shapes I'm not gonna lie. I think we "borrowed" the code from an open-source sonic fangame that had wallrunning, but that got tough to modify as the project went on. I believe it used a raycast system to check if the floor was getting closer or moving further away in front & behind the player and adjusted the rotation based on that. It probably used the normal vectors to do some math too or something like that. If you're still struggling with it, I can try to find that sonic project, but I can't promise anything haha

Thank you so much! The sonic project would be great, but you've already given me more than enough :D Was this the project you were talking about? https://github.com/Sslaxx/Godot_Sonic_Engine/tree/master