Skip to content

rishitkhare/Platformer-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Platformer Player Controller

After hearing about some of the fascinating tips and tricks used in the game Celeste, I wanted to try out creating some platformer code myself using Unity. Some of the sources that inspired this controller are here:

The demo has the following features:

  • Smooth movement with tweakable parameters for airspeed + groundspeed
  • Custom collision detection (using a similar algorithm described in Maddy's article)
  • Jump physics (and holding to jump higher)
  • Coyote Time physics
  • Parallax scrolling
  • Eased camera movement
  • Animation finite state machine
  • 8-direction dashing

Sample video

platformer-demo.mp4

About

2D platformer game sample code using Unity C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors