A 2D-Platformer player & platform controller with raycasts.
Current Features:
- Raycast collision detection with 2D colliders (with adjustable ray count)
- Smooth damped movement acceleration
- Adjustable airborne and ground acceleration
- Ascending and Decending slopes
- Variable jump height and time
- Stepping (up of 90 degree angles) with adjustable stepHeight
Features to come:
- Moving platforms
- One way platforms
- Wall jumping
- And more...
What you (probably) need before using the project:
- Preferably Unity Editor's LTS Release 2019.4.21f1 or later
- A Basic understanding of Unity Engine
- An Intermediate understanding of C#
Follow the instructions below to install the project:
- Clone the repository ( or download it az a zip, and unzip it ).
- Go to UnityHub -> Projects -> Add -> *Open the repository's folder *
- Open the Demo.scene in Assets -> Scenes -> Demo.scene
- Unity Engine - The game engine
- Visual Studio - The Integrated development environment used
- Aseprite - As my favorite sprite editor
This project is licensed under the MIT License - see the LICENSE.md file for details
Very special thanks to Sebastial league for their 2d platformer raycast tutorial series. Also thanks to the game dev underground's discord community ( special thanks to 'theChief' )