Skip to content

Maoyeedy/P5-ShadowGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot

A p5.js game for a 24-hour gamejam.

I'm completely new to p5.js and I'm learning as I go.

🌞 Gameplay

The game can either be played with one or two players.

🎯 Win Condition

  • Black Cube reaches the final target.

⌨️ Controls

  • W, A, S, D moves the Black Cube.
  • , , , moves the White Cube.
  • Q, E rotates the sun.

🛠️ Extra Utilities

  • Drag and scroll with your mouse
  • O to switch between orthographic/perspective
  • R to restart

💡Inspirations

📝 To-Do

  • Add sun rotation animation
  • Make collision affect the other player
  • Add sun rotation check, just like Felix the Reaper
  • Add mobile controls