Skip to content

Light7734/Unity-Platformer2D-Raycast-Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Platformer2D-Raycast-Controller

A 2D-Platformer player & platform controller with raycasts.

Features

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...

Getting Started

Prerequisites

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#

Installing

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

Built-With

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

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' )

About

A 2D-Platformer player & platform controller with raycasts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published