Commit graph

114 commits

Author SHA1 Message Date
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
Tyler Marques
781366671c
Updated coords to have supply center locations, 2025-03-07 14:37:46 -05:00
Tyler Marques
24f349f43a
Pruning a bunch of now unused code 2025-03-07 14:09:26 -05:00
AlxAI
4ba4fad8b6
Merge pull request #14 from Tylermarques/feature/character-positions
Correct character locations
2025-03-07 10:42:09 -08: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
9fb022c782
Characters now use the new coordinates, updated some label locations 2025-03-07 13:03:08 -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
AlxAI
9c14c58ce0 sounds!!! 2025-03-07 09:55:13 -08:00
AlxAI
02f04dd067
Merge pull request #13 from Alx-AI/animation_iteration
Animation iteration
2025-03-06 22:53:32 -08:00
AlxAI
57f887edf5 talking heads :) 2025-03-06 22:47:10 -08:00
AlxAI
e417ffa596 updated style with messages arranged 2025-03-06 21:21:14 -08:00
AlxAI
c00f31413c reskin 2025-03-06 21:00:05 -08:00
AlxAI
f94bd41d0d
Merge pull request #12 from Tylermarques/feature/animation-modules
Reformatting the project to be able to use TS in certain modules
2025-03-06 09:40:26 -08:00
Tyler Marques
39c8320484
Reformating the project to have it's own directory, relying on TS
This makes the project able to use TS, and can be stood up using `npm
run dev`
2025-03-06 11:34:42 -05:00
AlxAI
3128b3ae98
Merge pull request #11 from Tylermarques/feature/eu-map
Added EU map, split html and javascript into separate files
2025-03-06 08:21:54 -08:00
Tyler Marques
9591ce9eca
Changed file structure for maps to put all relevant map files into 1 dir 2025-03-06 11:04:22 -05:00
Tyler Marques
04b12a6aaa
Split into html and javascript files
Makes dev-ing just a little easier. Going to work on cleaning up some of
the old files now, and making it easier to start the whole thing.
2025-03-06 10:41:02 -05:00
AlxAI
36c8790380 Revert "Update simple-test.html"
This reverts commit ee454961da.
2025-03-05 22:23:09 -08:00
AlxAI
85766d235f Revert "Update simple-test.html"
This reverts commit 80e1c2bde7.
2025-03-05 22:23:06 -08:00
AlxAI
80e1c2bde7 Update simple-test.html 2025-03-05 22:22:36 -08:00
AlxAI
ee454961da Update simple-test.html 2025-03-05 22:07:42 -08:00
Tyler Marques
ed22b5ae0c
Removing the grid and making labels a little more usable 2025-03-05 17:22:42 -05:00
Tyler Marques
1bcf4dfe99
Labels present on the map, though they are huge an often overlapping 2025-03-05 17:19:05 -05:00
Tyler Marques
00474c8db6
Fixing race condition for map_styles 2025-03-05 16:45:07 -05:00
Tyler Marques
00a5f5d179
Center the SVG to the viewport of threejs 2025-03-05 15:50:21 -05:00
Tyler Marques
9dc6972b75
The SVG now correctly loads fully.
Still need to map the corrdinates of the countries to the given svg
locations.
2025-03-05 15:15:59 -05:00
Tyler Marques
2bf7dcc0c4
Basic loading of SVG into the canvas.
Still some issues, the svg is "standing up", and we need to map the
points to the correct point.
2025-03-05 14:41:37 -05:00
AlxAI
759aaea1cc chat works!! 2025-03-04 22:28:00 -08:00