Tyler Marques
3642e391bc
Updating phase state control to allow for reinit of units at any phase.
...
I wanted to be able to cause the turns to either progress, or to set the
units in their specific spots. This way if I skip ahead a bunch of turns
for one reason or another, I don't have to worry about the units on the
board being all messed up.
2025-05-28 10:38:16 -07:00
Tyler Marques
9a43be9b9c
Adding a GameId to allow moving through a list of games.
2025-05-28 10:38:16 -07:00
Tyler Marques
9314a411f9
WIP: Starting the ingestion of moments.json file
2025-05-28 10:38:16 -07:00
Tyler Marques
06cf18c7bf
Fixing issue with province names appended with /...
...
Signed-off-by: Tyler Marques <me@tylermarques.com>
2025-05-28 10:38:16 -07:00
Tyler Marques
981dfef6a0
WIP: Continuing to iterate
2025-05-28 10:38:16 -07:00
Tyler Marques
190686e248
WIP: Adding games to test.
2025-05-28 10:38:15 -07:00
Tyler Marques
d250e38359
WIP: Adding a larger relationship view, that shows all powers
2025-05-28 10:38:15 -07:00
Tyler Marques
302e93de9d
Updating Elevenlabs to speak fully when not in debug
2025-05-15 11:34:02 -04:00
Tyler Marques
5621a43c48
Adding the missing provinces.
...
There still may be more, but these were what was triggered when
ingesting new game. We obviously need tests.
2025-05-15 08:28:59 -04:00
Tyler Marques
e46455d279
Fixing bug where yoyo-tween jumped to init pos
...
There is a bug in Tween.js that makes the camera jump when you are using
the yoyo() function. This is mitigated by calling update twice per loop,
waiting for a patch from the tween.js team.
https://github.com/tweenjs/tween.js/issues/677
2025-05-13 12:19:18 -07:00
Tyler Marques
500428e872
Fixing cameraPanAnim not getting init'd properly.
2025-05-12 10:02:24 -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
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
ee9d0afea0
Sometimes createAnimations was called twice per phase
...
I'm not certain how this will affect speaking, as I don't have a working
speech example. That is to test next.
2025-04-15 12:04:12 -04:00
Tyler Marques
ff8249709f
Missing SCs, units with bad destination data
...
There were a number of tiles that didn't have SCs, resulting in some of
the provinces appearing to have more units than SCs. This was an issue
with the map data and is now fixed.
When setting the unit destination, we were setting it when creating the
animation, meaning that when we went to create the next animation we
would find the unit we already made an animation for.
2025-04-15 12:04:12 -04:00
AlxAI
65f287df84
iterating
2025-04-13 12:12:11 -07: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
AlxAI
11071889f5
Merge branch 'main' into feature/better-animations
2025-03-26 07:09:47 -07:00
AlxAI
0cbf585148
Merge pull request #21 from Tylermarques/bugfix/spawn_supplycenters
...
Fix SC spawning
2025-03-26 07:06:10 -07:00
AlxAI
f0054a722d
Merge pull request #20 from Tylermarques/feature/streaming_mode
...
Working animations
2025-03-26 07:05:58 -07: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
12983d6164
Fixing the spawning of Supply centers
...
They were removed by accident, adding them back in.
2025-03-25 16:55:35 -04:00
Tyler Marques
950cb43f4c
Working animations
...
We have working animations, when going forward in time.
2025-03-25 16:55:35 -04:00
Tyler Marques
2533a7b422
Working animations, correctly taking bounces into account.
...
There is still an issue with some orders not having matching units.
Ongoing issue with managing state in the game.
2025-03-25 16:55:35 -04:00
AlxAI
67b772d60d
standings!
2025-03-22 17:32:17 -07:00
Tyler Marques
c5a9b91616
Fixing the spawning of Supply centers
...
They were removed by accident, adding them back in.
2025-03-20 14:09:25 -04:00
Tyler Marques
dc5abd0a10
Working animations
...
We have working animations, when going forward in time.
2025-03-20 13:43:39 -04:00
Tyler Marques
d15021b7df
Working animations, correctly taking bounces into account.
...
There is still an issue with some orders not having matching units.
Ongoing issue with managing state in the game.
2025-03-20 11:31:28 -04:00
Tyler Marques
40851c572e
Adding automatic start to playing if we set an env variable.
...
Also added a dev container that will hot load your code, so we can make
sure out environments are identical.
2025-03-19 09:36:31 -04:00
AlxAI
f00a037aed
fixed logging and elevan labs!
2025-03-17 14:49:40 -07: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
Tyler Marques
33298eff3c
Streams to twitch given a correct streaming key. Needs to fic the fact that the screen isn't the full width of the monitor
2025-03-17 14:54:21 -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
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
Tyler Marques
44204f77dd
Typing the create unit functions, moving into their own files
...
More work on trying to get the animations to work by sectioning the work
into small actionable pieces
2025-03-12 15:58:30 -04:00
Tyler Marques
245091ada9
Moved to typescript for main file. Added logging util, more types
2025-03-12 15:58:27 -04:00
Tyler Marques
c421468def
Rebasing on new_bar branch, Adding some typing, renaming map files
2025-03-12 15:55:16 -04:00
AlxAI
8884e13c14
animate by message and fewer sound effects
2025-03-12 12:36:23 -07:00
AlxAI
4b6da987ea
added eleven labs integration
2025-03-11 20:18:38 -07:00
AlxAI
4062942ab8
working news bar and all time leaderboard / info pannel also random power start
2025-03-11 19:21:02 -07:00
AlxAI
4eb37acfd8
News bar
...
working first bar
2025-03-10 21:35:15 -07:00
AlxAI
f3ca1d8cc0
first attempt at news bar
...
broke main
2025-03-10 13:52:35 -07:00