Skip to content

An endless, vertically scrolling casual arcade game for the Playdate

License

Notifications You must be signed in to change notification settings

SquidGodDev/escape-from-complex-32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Escape from Complex 32

Source code for my Playdate game "Escape from Complex 32, a vertically scrolling endless action game where you use the crank to control a giant laser to shoot yourself up and dodge obstacles. You can get the game on Itch IO.

Project Structure

  • scripts/
    • game/
      • background/
        • gameBackground.lua - Manages the infinitely scrolling walls and it's collisions
      • obstacles/
        • floorSpikes.lua - The spikes that catch the player if they fall too far down
        • gate.lua - The obstacle for the platform with the gap
        • movingSpike.lua - The moving spike obstacle (extends spike.lua)
        • obstacle.lua - The parent obstacle class which all obstacles extend from
        • obstacleRect.lua - An invisible helper obstacle I used for gate.lua
        • obstacleSpawner.lua - Manages the spawning of obstacles as the player moves up
        • spike.lua - The stationary spike obstacle
      • player/
        • laserBeam.lua - The beam that shoots out from the player (it's purely cosmetic)
        • laserGun.lua - The rotating laser gun
        • laserTimer.lua - The currently unused timer to shoot the laser
        • player.lua - The player (manages collisions, gravity, input, and more)
      • ui/
        • heightDialog.lua - UI element that displays the height and max height in resultsDisplay.lua
        • heightDisplay.lua - UI element that appears while playing that displays your current height
        • resultsDisplay.lua - UI element that handles displaying the result and fading the background
      • gameScene.lua - Used by sceneManager.lua and loads everything related to the game scene
    • title/
      • titleScene.lua - Used by sceneManager.lua and loads everything related to the title scene
    • globals.lua - A helper file that contains functions/variables used across the game
    • sceneManager.lua - Class that handles scene transitions

License

All code is licensed under the terms of the MIT license.

About

An endless, vertically scrolling casual arcade game for the Playdate

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published