NEON-RUN Movement (Unity)
A downloadable asset
Overview:
This is the source code for the movement in my game NEON-RUN.
The movement is rigidbody based so it does not teleport the players transform, please note that this code does provide built in slope handling but does not stop the player form sliding when thay are on a steep slope, in most cases it does not matter.
The provided sample scene is ready to go with a player that can wall jump, move, and jump, the code for the dash, climb, and crouch are provided but not set up in the sample scene.
It also contains a very useful utility script that does many math heavy things, a lean script that animates the rotation of the visual, and a PlayerMovement script that only handles input and does not require anything so you can easily remove any component in the player abilities folder if you don't want it but note that the CharacterController2D is always required on the player!
Licence:
You can do anything with this asset including using in commercial projects but credit is very much appreciated especially if you use it commercially!
Credits:
Published | 2 days ago |
Status | Released |
Category | Tool |
Author | Plug |
Genre | Platformer |
Tags | 2D, Open Source, Unity |
Download
Install instructions
Import the unity package file into your unity 2d project, if you are using something other than unity 6 in URP you will have to change some materials in the sample scene and update the api in the code (changing rb.linearVelocity to rb.velocity in most cases) but I would recommend using unity 6 in URP. as that is the most stable and new version of unity and the built in RP is deprecated and in my opinion sucks but if you for some reason need it it's very simple to change the materials.
Leave a comment
Log in with itch.io to leave a comment.