Hey there guys! I’d like to start off by saying I’m a very new programmer, and for my first basic project I want to construct a 2d sidescroller. I’m already stuck on the character movement aspect. If anyone has any character movement scripts that would work for a 2d sidescroller I’d be very grateful.
A really basic controller is available in Unity (PlatformController), if you restrict its movement to one axis its a reasonable start.
That said its definitely not “production ready” for 2D, the biggest issue is the way it slides off of blocks.
I’m sure there are some better controllers out there, but it might be a start.
If you don’t find anything I’m thinking about putting something better together soon, if I do I’ll post a link here.
Please look at the 2d side scroller tutorial.
That would be the best help.
Unless of course someone wants to walk you thru that, but i doubt it
Good luck!
If you have specific questions from that, please post.
I’m sorry but I’ve been through that tutorial and the movement script that lerpz uses in that is really clunky and weird. I’m just wondering what a good fluid movement script would look like with basic jump, left, right, and possibly double jump
Capabilities
That would be amazing. Character movement is huge for me in a game, so I’d love for my game to perform well in that area. Let me know when you create this script! In the meantime I’ll check out that Controller and delete the y axis part of it
the also 2 script in the move, and simpelmove
The move script even use gravity whit jump and ingame physic.
But that always a start