Commit graph

80 commits

Author SHA1 Message Date
29d6213134 add remove() to remove from dom (TODO: will need to handle wordballoon) 2024-07-09 23:35:30 -04:00
803c63f1f9 make show/hide play respective animations 2024-07-09 23:32:20 -04:00
36ad3fe178 - expose agent to window in testbed
- ts-ignore setTimeout line causing errors
2024-07-09 23:29:21 -04:00
8d029c682f add playAnimationByName() api 2024-07-09 23:26:12 -04:00
3845f1c1a7 style change 2024-07-09 23:23:02 -04:00
438489c43f animation playback (no branches or anything yet) 2024-07-09 23:21:24 -04:00
57b272becf fix decompression copying out of wasm heap 2024-07-09 23:09:32 -04:00
1ed14d58f1 remove debug printing 2024-07-09 22:42:46 -04:00
76541dd31d msagent.js: fixed bitmap drawing
Now everything is top down, correctly colored, as you'd expect! Woohoo!
2024-07-09 22:42:12 -04:00
9f211ec36a half working frame rendering 2024-07-09 19:47:10 -04:00
5d5f620fec clean up structures 2024-07-09 19:29:44 -04:00
64226599f8 read image RGNDATA structure 2024-07-09 18:59:11 -04:00
5c3433461d msagent.js: Rewrite decompression to use WASM
Mostly so it actually works. I couldn't get a fully JS version working and I can't be bothered to when this seems to work.

Note that yes, the wasm IS checked in to the repository. This is just so clang isn't a direct build dependency, but will be needed if the decompression module needs to be updated.
2024-07-09 18:53:18 -04:00
9eadf40d4c read images (TODO)
next is displaying them in the testbed
2024-07-04 20:41:11 -04:00
9d88e332f5 parse animation data!
also clean up some offsetting stuff a bit, by adding a RAII-like utility that lets the code temporairly offset elsewhere.
2024-07-04 05:13:35 -04:00
3718b508a5 split structs out into seperate typescript files (in prep for animation) 2024-07-03 21:18:40 -04:00
c7b54f1c86 webapp: fix testbed
oops™️
2024-07-03 06:04:42 -04:00
2c8793a796 msagent.js: Parse character info
msagent.js can now parse the character section of a ACS file fully.

This also adds a testbed thing. Later on it will display individual frames
and animations for debugging before the full character API is ready.
For now, it just has a file input for dumping ACS files into so we can debug
reading of the data.
2024-07-03 06:00:22 -04:00
ba3ce91410 a few fixes and improvements 2024-07-03 02:12:02 -04:00
7d30426a08 fix https, prevent audio spam 2024-07-03 01:06:01 -04:00
f9307278c6 FUCK x3 2024-07-02 23:47:30 -04:00
990935f2f4 FUCK x2 2024-07-02 23:45:39 -04:00
6bc9631748 FUCK 2024-07-02 23:43:56 -04:00
c7963631cb working chat and TTS 2024-07-02 23:43:27 -04:00
c3c0d33e5b msagent.js: add wordballoon code
also initalize msagent.js inside of the webapp
2024-07-02 23:04:45 -04:00
0c7fece5b6 switch webapp to using 98.css 2024-07-02 21:42:58 -04:00
3955d05a59 skeleton package for msagent ACS player 2024-07-02 18:27:43 -04:00
75607abfcf implement basic commands 2024-07-02 00:30:10 -04:00
4862747935 make the workspaces actually work 2024-07-01 23:49:42 -04:00
e101a4a45a First commit 2024-07-01 23:37:57 -04:00