Source code for my unfinished Playdate deckbuilding game. Features basic turn-based card battle gameplay. Uses the Noble Engine.
scenes/game/UI/cardInspector.lua- UI for looking through cards and descriptionsreticle.lua- Aiming reticle for selecting enemies
cards/properties/- A sort of component system for composing cards from individual propertiesaoeDamage.luacardDraw.luaheal.luaproperty.luashield.luasingleTargetDamage.lua
card.lua- Card objectdeck.lua- Deck manager (contains cards)hand.lua- Draws animations and manages data of cards in hand
enemies/basicEnemy.lua- Base enemy data classenemy.lua- Manages enemy animations and actionsenemyManager.lua- Manages enemy turn
player/player.lua- Manages player animations and actions
GameScene.lua- Battle scene
levels/campfire/CampfireScene.lua- Unimplemented
chest/ChestScene.lua- Unimplemented
market/MarketScene.lua- Unimplemented
cardSelection.lua- UI for selecting scene to go to (campfire, chest, market)LevelScene.lua- Level select screen
title/ClassSelectScene.lua- UnimplementedTitleScene.lua- Simple title screen
ExampleScene.lua- Example scene included with Noble EngineExampleScene2.lua- Example scene included with Noble Engine
All code is licensed under the terms of the MIT license.