Source code for my unfinished Playdate game that's a mix between a deck builder and action roguelike. Features simple combat and card selection mechanic.
mockups/
- Art mockupssource/
scripts/
assets/
- Font/image assetsdata/
cards.lua
- Card properties data fileconstants.lua
- Global constantsgameData.lua
- Global game state data
libraries/
SceneManager.lua
- Handles scene transitionsUtilities.lua
- Utility functions
scenes/
game/
cards/
properties/
- Component system to construct cards from individual propertiesaoeCard.lua
beamCard.lua
damageZoneCard.lua
followZoneCard.lua
projectileCard.lua
randomStrikeCard.lua
repeatedProjectileCard.lua
rowExplosionCard.lua
card.lua
- Handles individual card animation and datahand.lua
- Handles card selection and data of cards in hand
enemies/
- Enemy data and movement/attack functionsblight.lua
cerberus.lua
gargoyle.lua
kraken.lua
phoenix.lua
slime.lua
managers/
aimManager.lua
- Draws aiming linedrawManager.lua
- Handles miscellaneous draw callsenemyManager.lua
- Manages enemieslevelManager.lua
- Manages room managementparticleManager.lua
- Draws particlesprojectileManager.lua
- Draw projectilestimerManager.lua
- Updates timersuiManager.lua
- Draws health
deck.lua
- Simple card deck managementgameScene.lua
- Composes managersplayer.lua
- Player character controller
level/
campfire/
campfireScene.lua
- Empty
chest/
chestScene.lua
- Empty
market/
marketScene.lua
- Empty
cardSelection.lua
- UnimplementedlevelScene.lua
- Level selection UI
title/
titleScene.lua
- Title screen UI
main.lua
- All imports
All code is licensed under the terms of the MIT license.