Source code for my Playdate game "Propeller Rat", a game where you pilot a propeller-strapped rat through increasingly challenging, hazard-filled worlds with crank-based movement! Features a total of 80 action packed levels spread across 8 different worlds, and leaderboards to compete for the fastest times in each world! You can get it on Catalog, or on Itch IO.
mockups/
: contains all the .aseprite files used in the projectsource/
: contains all the source code and assetsdata/
: contains font + LDtk world dataimages/
: contains all game imageslauncherImages/
: contains all images used by Playdate launcherscripts/
: contains all source codeaudio/
: contains audio manageraudioManager.lua
: handles all SFX and Music in one place
game/
: contains game scenegameScene.lua
: manager for all game elements (player, hazards, tilemap, etc.)
hazards/
: code for all the hazard elementslevels/
: handles spawning all the level elements (walls, hazards, etc.)libraries/
: contains all the libraries used in this projectAssets.lua
: Lazy Loading Assets by Shaun InmanLDtk.lua
: Playdate LDtk Importer by Nic MagnierSceneManager.lua
: Scene Management, by meUtilites.lua
: Generic Utilities, by me
pickups/
: contains code for keys and the teleporterplayer/
: contains player controllerstory/
: contains dialog/story codetitle/
: contains all non-game scenesgameCompletedScene.lua
: unused game end scenelevelSelectScene.lua
: level select + level preview generationscoreboardScene.lua
: scoreboard displaystarfield.lua
: generates random starfield backgroundtitleScene.lua
: title + disabled cheat codeworldSelectScene.lua
: world select + unlocking
globals.lua
: game data, tags, z indexes, all script importstests.lua
: sanity checks for valid levels
sound/
: contains all sfx and music filesmain.lua
: only imports globals and sets the starting scene
All code under source/scripts
is under the MIT License, except the libraries LDtk.lua
and Assets.lua
. All the assets that are not code and outside of the scripts folder (e.g. sound, images, etc.) are not under the MIT License.
"/source/scripts/libraries"
LDtk.lua by Nic Magnier
Assets.lua by Shaun Inman
--
All other code under /source/scripts
MIT License
Copyright (c) 2024 SquidGod
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.