Commit graph

28 commits

Author SHA1 Message Date
Tyler Marques
bad4ad37e3
FIX: Messages were triggering at the same time
Was calling the onMessageComplete function twice, fixed that
2025-06-16 09:39:30 -07:00
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
ef3e3a79fe
WIP: Mostly working version that uses the eventqueue
We've mostly got this working. Events get executed in the array of
events. We don't use setTimeout anymore thankfully. I'm not in love with
this system, it still isn't straight forward about what events happen
where, but I do at least now have an ability to better control the flow.
2025-06-16 09:39:30 -07:00
Tyler Marques
a929bf5ee6
WIP: Majority converted to event queue, continuing to work on others.
The bottom newsbar still needs conversion, as do numerous other pieces,
but we're working our way there. Attempting adding some tests with
Claude, but they aren't functioning yet, making them effectively
useless. Continuing to iterate.
2025-06-16 09:39:30 -07:00
Tyler Marques
2b52a9cbf9
WIP: An attempt at a completly event queue driven game.
This is a lot of Claude having at the code base, there is no human
review here yet. That is to come.
2025-06-16 09:39:30 -07:00
Tyler Marques
d454c68044
Cleanup of some lingering code
There is logic littered all over the place. We don't have some central
way of determining order for operations and it's driving me insane. This
needs a refactoring so we have a central way to control the order of
operations here.
2025-06-16 09:39:29 -07:00
Tyler Marques
b8a8f5a6f2
FIX: Map jump bug, leaderboard misname
Reintroducing the fix for the bug in tween.js (issue 677) that causes
the map to jump at the end of the tween.

Leaderboard name was used twice in the code base, once for the modal at
the beginning of games, and also for the rotating display in the bottom
left. I've removed the modal at the beggining of the game as its data is
stale and not updated yet. I've renamed the bottom left to
'rotatingDisplay' and the bottom right to 'leaderboard'.
2025-06-16 09:39:29 -07:00
Alx-Ai
ad3af94f72 added background music 2025-06-05 08:02:33 +00:00
Alx-Ai
30849a36e4 closest so far! 2025-06-05 07:42:20 +00:00
Alx-Ai
51e6b4d21b fixed sounds! 2025-06-05 04:58:41 +00:00
Tyler Marques
334950d674
FIX: Some phase logic was mucked in chatwindows
This created some very weird behaviour where it got hung up on certain
phases. Removed that logic, as well as extraneous file
relationshipPopup.ts
2025-06-04 16:49:33 -04:00
Tyler Marques
9695a64d65
FIX: Instant mode wouldn't disable on toggle. 2025-06-03 12:08:39 -07:00
Tyler Marques
eebfba0a1b
Initial attempt at some tests that help us determine if the game has basic functionality
Signed-off-by: Tyler Marques <me@tylermarques.com>
2025-06-03 10:14:34 -07:00
Tyler Marques
e81f41fc57
Adding an 'instant mode' toggle, which can be used during testing when we just want to make sure games play through
Signed-off-by: Tyler Marques <me@tylermarques.com>
2025-06-03 10:14:07 -07:00
Tyler Marques
16f4384c5a
Updating font sizes to be more readable. 2025-05-30 11:33:17 -07:00
Tyler Marques
e1309c4012
Rudimentary moments working, instant chat debug tool
The moments are now triggered correctly and have the phases happen as
expected.
Also added an instant chat tool that skips the playing out of all the
messages and instead lets us quickly move through a game
2025-05-30 11:33:16 -07:00
Tyler Marques
8a3b6273cc
WIP: Moment display at the end of the turn only 2025-05-30 11:33:16 -07:00
Tyler Marques
25c67cbf78
Updating interface to use the names of the models instead of the powers 2025-05-30 11:33:16 -07:00
Tyler Marques
d20eaa5217
Power names are now shown as the model name 2025-05-30 11:33:16 -07:00
Tyler Marques
ae8ff4d455
Added a smoother camera pan animation during game play.
The tween animation uses the tweening library to smoothly move the
camera across the board. Also added a smoothing for any large jumps in
the position of the camera.
2025-04-15 13:04:43 -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
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
ee75a2a4ba fixed bugs and streamlined between turns 2025-03-15 19:05:39 -07: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
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