diff --git a/docs/todos.md b/docs/todos.md index a80ca51..00c510b 100644 --- a/docs/todos.md +++ b/docs/todos.md @@ -2,4 +2,32 @@ List of things to implement following the "release" of the minimum viable product (simple browser tower defense game). -## WILL WRITE AFTER MVP IS DONE. +## Creeps + +- [ ] Elemental resistances/attunement +- [ ] Proper animation via PNG sequence +- [ ] More variety in Creeps +- [ ] Health bar + statistics on hover over +- [ ] +/- on x or y axis to give creeps more variance when walking along path (maybe) + +## Towers + +- [ ] Extend projectile into seperate defintion + json file +- [ ] Make tower react with slotted gems +- [ ] Alter damage based on attunement from slotted gems +- [ ] Tower info on click (replace gem tab temporarily or something) +- [ ] Animate projectiles +- [ ] Better mouseover tracking when placing tower and showing radius + +## Gems + +- [ ] Create Gem definitions +- [ ] Make gems affect towers + +## Other + +- [ ] Create mission authoring tool +- [ ] Add sound effects +- [ ] Tutorial image/mission +- [ ] Pause menu +- [ ] Score screen when winning/losing map diff --git a/src/scenes/Game.ts b/src/scenes/Game.ts index 14d2702..a157628 100644 --- a/src/scenes/Game.ts +++ b/src/scenes/Game.ts @@ -49,7 +49,12 @@ export class GameScene extends Scene { if (this.update) this.update(this.ticker.elapsedMS); }); this.ticker.start(); - const SidebarRect = new PIXI.Rectangle(Engine.GridCellSize * 30 - 360, 0, 360, Engine.app.canvas.height); + const SidebarRect = new PIXI.Rectangle( + Engine.GridCellSize * Engine.GridColumns - 360, + 0, + 360, + Engine.app.canvas.height + ); const changeRoundButtonRect = new PIXI.Rectangle(50, Engine.app.canvas.height - 100, 310, 100); new Grid(this.mission.gameMap, this.missionIndex); new TowerManager();