Skip to content

solarsailengine/theboy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

theboy

A SolarSail example project showing a 2D platformer with sprite sheet animations

Quickstart

  1. Clone this repo
  2. Download the player
  3. Unzip player into this repo
  4. Run player

Controls

Movement

  • LEFT/RIGHT Arrow Keys: Move and change direction
  • SPACE: Jump (with gravity physics)

Animation Selection (Number Keys)

  • 1: Idle animation
  • 2: Walk animation
  • 3: Run animation
  • 4: Jump animation
  • 5: Dead animation
  • 0: Reset to automatic animation mode

Features

  • 2D Platformer Movement: Horizontal movement with proper speed control
  • Jump Physics: Gravity simulation with ground collision detection
  • Direction Facing: Character flips when changing direction
  • Automatic Animation: Idle/run animations based on movement state
  • Manual Animation Control: Number keys for testing specific animations
  • Frame-Rate Independent: Uses Time.deltaTime for consistent movement

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published