Commit graph

143 commits

Author SHA1 Message Date
AlxAI
6e5079fa02 working with agent, relationships, and goals (seemingly) 2025-04-09 22:24:10 -07:00
AlxAI
70f4438b2e state! 2025-04-07 17:25:12 -07:00
AlxAI
203a63d69a
Merge pull request #23 from Tylermarques/feature/move_animations
Spawn Animation and working retreat orders
2025-03-26 14:13:13 -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
9efb42f672
Merge pull request #22 from Tylermarques/feature/better-animations
feature/better animations
2025-03-26 07:10:16 -07: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
6c3f6fd625
Merge branch 'feature/streaming_mode' 2025-03-20 13:45:59 -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
AlxAI
06f4a8c642
Merge pull request #19 from Tylermarques/feature/streaming_mode
Adding automatic start to playing if we set an env variable.
2025-03-19 11:55:36 -07: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
AlxAI
476402a23e
Merge pull request #18 from Tylermarques/feature/headless-stream3
Headless streaming now works
2025-03-17 13:34:19 -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
1969c3e409
WIP: Fullscreen, working stream. Need to default to playing, as well as have a default game load 2025-03-17 15:40:32 -04:00
Tyler Marques
cff209dc55
Making sure to add example env 2025-03-17 14:56:16 -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
AlxAI
502445a0d1
Merge pull request #17 from Tylermarques/bugfix/animations-disappearing
Animations now present, they just don't always move to the right space.
2025-03-15 12:46:52 -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
ed192801b9
Merge pull request #16 from Alx-AI/news_bar
News bar + Messages one by one + Spoken Summary
2025-03-12 12:53:01 -07: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
AlxAI
5fde5a3874
Merge pull request #15 from Tylermarques/feature/color-provinces
Provinces now color correctly
2025-03-07 14:01:17 -08:00
Tyler Marques
4e73846dcf
Fix Animate order so that map draws properly 2025-03-07 16:23:37 -05:00
Tyler Marques
f34ef44002
Adding debug flag to speed up animations 2025-03-07 16:03:54 -05:00
Tyler Marques
91abd53c98
Updating map color on phase change 2025-03-07 15:43:26 -05:00
Tyler Marques
db0991b7d9
Initial map draw now colors provinces based on ownership 2025-03-07 14:53:01 -05:00