Skip to content

About

seperate repo for basic side scroller game

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

197 Commits

Folders and files

Repository files navigation

Red Square


Just a simple side scroller where you control a red square and can jump and move around

redSquare

Bugs to fix

  • Red Square can clip into platforms

Ideas to implement next: Easy

  • Add background
  • Variable jump height — if you release space early, cut vertical velocity so short taps give small jumps and held space gives full jumps.
  • Screen shake when landing from a high fall
  • "Bamf" sound whenever you land
    • edit "Bamf" sound to make it shorter/better match timing
  • A collectible coin or star that disappears when touched and increments a counter displayed on screen Medium
  • Expanding the map — straightforward now that the world/window separation is clean
  • Moving platforms — just add x or y velocity to platform rects each frame and reverse when they hit a boundary
  • A simple enemy that patrols back and forth on a platform and resets your position if touched
  • Wall jumping — detect collision with the side of a platform and allow a jump while touching it
  • Double jump — track jump count and allow a second jump before landing Hard
  • A checkpoint system — save a respawn position when square touches certain spots
  • A simple level system — when square reaches a goal, load a new platform layout
  • A tile map loaded from a text file — to allow designing levels outside the code
  • Parallax background — multiple background layers scrolling at different speeds for depth

About

seperate repo for basic side scroller game

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages