From ca07ec8da046b219a00a8fed0ddc5a69ea0c1567 Mon Sep 17 00:00:00 2001 From: Elijah Voigt Date: Wed, 11 Oct 2023 08:44:17 -0700 Subject: [PATCH] TODO Planning --- README.md | 28 ++++++++++++++++++---------- src/display2d.rs | 6 ++++++ 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index e962b97..f7b5729 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,24 @@ # TODO -## 2d gameplay +'Loading...' screen + +Loading bar? + Loaded assets / Total number of loading assets + +## 2d+3d Gameplay + +Update piece board index when board changes. -Background music audio. +Update piece location based on BoardIndex. -Pick up, put down. -Audio for pick up/put down. +## 2d gameplay + +Debug gizmos Determine valid moves. Menu: - Start, Credits, Quit - Start -> Gameplay - States: Loading, Gameplay, Menu, Credits, Quit -Gameplay + Escape -> Overlay Menu -Menu audio + Credits Turns + Manual 2 player. @@ -22,7 +26,11 @@ Ownership based on placement + color based on placement. ## 3d gameplay -Import GLTF assets and use them for drawing pawn, drone, and queens. +Hitboxes for pieces and tiles + +Select piece when clicked on + +Put down piece on tile Select piece in 3d 3d hitbox diff --git a/src/display2d.rs b/src/display2d.rs index cb94278..92a2f50 100644 --- a/src/display2d.rs +++ b/src/display2d.rs @@ -201,6 +201,12 @@ fn initialize_board(sprite_sheet: Option>, mut commands: Comman /// JUST RE-DRAW ANY ENTITY WITH A CHANGED BoardIndex!! /// INITIALIZE THE STARTING BOARD, THEN JUST UPDATE CHANGED BOARDINDEX!!! /// GOD YOU ARE SO DUMB. +/// +/// OK so that won't quite work because we want the 2d/3d states to stay in sync. +/// We can figure some way of diffing the board though. +/// +/// I mean we can still have a system that sets the location based on index changes. +/// But the index changes can be the _only_ change we make in the update_board method. fn draw_board( board: Option>, sprite_sheet: Option>,