Tyler Marques
9333f531bd
WIP: Fixing no events in queue
...
Had a bug where we'd do down a path that didn't result in calling the
nextPhase, meaning we'd end up with zero events in the queue and then
just sit there. Wasn't great.
2025-06-16 09:39:30 -07:00
Tyler Marques
fd00131af2
FIX: SC History now works and correctly updates on phase move
...
The SVG paths weren't getting added to the chart. Should be fixed and
does work in later phases.
2025-06-16 09:39:29 -07:00
Tyler Marques
29bc960fe3
Added some initial tests for the functions present.
...
Had a resurgence of a bug I was pretty sure I fixed, but it came back.
Adding some tests to make sure we catch it if it comes back again.
2025-05-28 10:38:16 -07:00
Tyler Marques
cad1cb0464
Fixing bug where province colors didn't reset on game change.
...
The province colors were not properly being iterated through, needed to
do all of them on game change.
2025-05-28 10:38:16 -07:00
AlxAI
fa52f4f841
adding the rotating display but bugs still with the game loop
2025-05-06 20:25:40 -04:00
Tyler Marques
cae33dd5ba
Retreats now work as expected
2025-03-26 17:05:30 -04:00
Tyler Marques
34371a40af
Working spawn animations. Units lower from the heavens.
...
Also updated currentPower to come from the gameState object instead of
just another export from the file.
2025-03-26 10:12:22 -04:00
Tyler Marques
7548a0e62c
Fixed the animation, fixed the weird flying boat.
2025-03-25 16:56:45 -04:00
Tyler Marques
e979c065bc
WIP: Adding some animations, as well as tween'd camera movement
...
The tween'd movement is non-blocking and therefor stutters less. Only
issue is it doesn't go to the correct path yet.
2025-03-25 16:56:42 -04:00
Tyler Marques
e92c3393d2
Full working stream. Fixed issue with chrome SIGILL'ing with base software renderer
...
Moved the assets to public, as assets is the directory that vite preview
serves it's files from and that confuses vite. Using public is just
easier. Updated all the needed links.
2025-03-17 16:27:03 -04:00
AlxAI
8d9223de74
First pass fixing post typescript port
2025-03-15 18:21:18 -07:00
Tyler Marques
a417d9510a
WIP Animations now work, the spot they go to is just wrong lol
2025-03-14 09:46:21 -04:00
Tyler Marques
24bef1271c
Working initial state again
2025-03-13 14:21:43 -04:00
Tyler Marques
ae2db39729
WIP: Moving most globals into gamestate
...
The gamestate object is now where most of the "state" of both the map
and the board live. The units load, just working on loading the colors
of the map ownership again.
2025-03-13 11:33:30 -04:00
Tyler Marques
dff01db83f
Move to using tween for animations
2025-03-12 16:01:29 -04:00
Tyler Marques
cae197aa1a
Moving map init to its own files
2025-03-12 16:00:15 -04:00
Tyler Marques
f3b7067182
More separation and typing
2025-03-12 15:58:30 -04:00
AlxAI
4062942ab8
working news bar and all time leaderboard / info pannel also random power start
2025-03-11 19:21:02 -07:00
Tyler Marques
f6be611893
readding the createUnitMesh function
2025-03-07 13:40:32 -05:00
Tyler Marques
b5dcd78898
Fixing unit movements and phaseAnimation
2025-03-07 13:06:14 -05:00
Tyler Marques
47e197e67d
Adding types for map data, moving labels to coordinate json
...
Removed the need for the second json file, all the data lives in the one
json file now. Added the types for the province data to map lsp work for
it.
2025-03-07 13:01:15 -05:00
Tyler Marques
fc6283107c
Changed map to start at 0,0, Added debug config, altered camera pos
...
Changed the map to have the top left at 0,0, saving us from having to do
a bunch of transformations for all the objects we want to add to the
board.
2025-03-07 13:01:11 -05:00