Commit graph

71 commits

Author SHA1 Message Date
Zed A. Shaw
80f100f223 Can now apply a shader using the animation's timer but not sure if there should be shaders on animations or outside or both. 2026-02-09 13:58:28 -05:00
Zed A. Shaw
0d481a5ab7 Animator won't crash anymore when there's an error, and instead displays an error message. 2026-02-07 13:05:24 -05:00
Zed A. Shaw
46f34828e4 Sound is now working, and the animator tools will play them and also has mute. 2026-02-06 13:39:34 -05:00
Zed A. Shaw
a4ffacdb18 Fix up the animator to show the initial form. 2026-02-06 12:23:17 -05:00
Zed A. Shaw
4356b1535e Animation tool now lets you cycle through different sequence/transform 'forms' and shows you which one you're viewing. 2026-02-04 15:10:07 -05:00
Zed A. Shaw
07b2102f59 The gorious Lord Keith the Rat King can now have easing and motion functions that are defined in json and hot-reloaded. 2026-02-04 00:59:26 -05:00
Zed A. Shaw
77643a4bcd Can now specify a background to render the sprite on. 2026-02-04 00:04:17 -05:00
Zed A. Shaw
fc01579232 Space now stops/starts the animation. 2026-02-03 23:30:12 -05:00
Zed A. Shaw
961a470844 Animator now starts off as being the size of the sprite. 2026-02-03 23:24:39 -05:00
Zed A. Shaw
ce3d142208 Fixed a test that failed because loop was set on the tranform being used. 2026-02-03 22:34:19 -05:00
Zed A. Shaw
c092b82dfc Animator tool now has no UI, it just watches the file to change time and reloads. 2026-02-03 13:03:38 -05:00
Zed A. Shaw
dea0607901 Now loading the new animations out of assets/animate2.json 2026-02-03 00:30:49 -05:00
Zed A. Shaw
df730047ac Animator tool can now play, stop, loop, and toggle an animation. 2026-02-02 00:02:10 -05:00
Zed A. Shaw
7d79e75651 Decided that it's better to adjust the ease_rate manually/visually rather than try to math it. That's what the animator tool is for. 2026-01-31 13:05:56 -05:00
Zed A. Shaw
ca335d21e5 All of the original features now work: simple, flipped, scaled, toggled, looped and stationary is replaced by ease2::scale_only. 2026-01-31 11:40:45 -05:00
Zed A. Shaw
34e4a34f65 Nearly perfect sync between transform and animation, but not sure how to replicate that reliably. 2026-01-30 23:57:02 -05:00
Zed A. Shaw
d4e79f1d3d Animation API getting better but now need to resolve how it works with the frames. 2026-01-30 23:26:35 -05:00
Zed A. Shaw
785d0240da Animator now can apply transforms using the timer alpha which mostly works. 2026-01-28 00:29:39 -05:00
Zed A. Shaw
7f14a39edf Most of the transforms kind of work now need to hook in the new timer. 2026-01-27 23:39:09 -05:00
Zed A. Shaw
20d7612f1c Animation now applies to the animator tool and works. 2026-01-27 13:44:46 -05:00
Zed A. Shaw
b7394f832d Now have a timer for animations that does ticks with deltatime...maybe it works. 2026-01-27 12:52:33 -05:00
Zed A. Shaw
60c405b1fc Refactor the animate2 and then start working on the motion feature. 2026-01-21 13:13:58 -05:00
Zed A. Shaw
5b509c277a Use chrono::duration for animation frame durations. 2026-01-19 11:50:00 -05:00
Zed A. Shaw
d81e127686 Get the FSM for the GUIworked out and fix the rendering so it works right. 2026-01-18 23:12:19 -05:00
Zed A. Shaw
81cbc24064 Have the start of an animation dev tool. 2026-01-17 23:43:44 -05:00
Zed A. Shaw
05fc9062a7 The shader effects now work correctly on the scene actors, but the application of shaders should be on the animation class. 2026-01-02 23:23:05 -05:00
Zed A. Shaw
8208d146de Can now see an enemy take damage, and a damage number, but the effect is inverted. 2025-12-28 02:05:30 -05:00
Zed A. Shaw
4b4f9b3916 Boss fight is now working. Turned out to be something really dumb. 2025-12-19 12:04:51 -05:00
Zed A. Shaw
c618a4828f Finally unified all of my events into one place. 2025-12-17 12:51:15 -05:00
Zed A. Shaw
bf8ce7e16b Fixed some things but now the world and boss fight worlds are out of sync and need to be fixed. tools/arena is broken. 2025-12-13 13:13:59 -05:00
Zed A. Shaw
9739441a9c Beginning state machine for controlling the boss fight UI is up. 2025-12-07 00:21:07 -05:00
Zed A. Shaw
b48df3f4db Can now run the full AI for all combatants and then sort by the action costs to make the action queue. 2025-11-27 12:46:14 -05:00
Zed A. Shaw
8fdaadaf12 Cutscenes are now integrated into the game. LONG LIVE THE RAT KING! 2025-11-14 01:25:10 -05:00
Zed A. Shaw
5e9dad51b0 Make it possible to specify the story to play. 2025-11-12 11:48:24 -05:00
Zed A. Shaw
b5280b4a4d Have a simple thing that moves every 3 seconds of a song/audio playing to a new panel. 2025-11-11 00:25:36 -05:00
Zed A. Shaw
4bda2ee01c Now have a simple storyboard system that can display an image and move with the camera to different cells. 2025-11-04 00:20:49 -05:00
Zed A. Shaw
e915baf6fc Start the storyboard tool for designing/playing the cutscenes. 2025-11-03 00:37:21 -05:00
Zed A. Shaw
5b57fb2033 Now have a simple camera system that I can configure in json for different motion effects. 2025-11-03 00:25:48 -05:00
Zed A. Shaw
25f7096489 AnimatedScene now defines how a scene with animated sprites and actors is structured and played. 2025-10-22 00:11:36 -04:00
Zed A. Shaw
7c11ffa2af Now have animated torches that are defined from json, and smoother animations in the arena. 2025-10-21 00:21:46 -04:00
Zed A. Shaw
59ba73baa0 Mostly working torch sprites have taught me what I need for the animation system. 2025-10-18 00:13:44 -04:00
Zed A. Shaw
a578c49a77 Basic arena working that lets me work on the boss fight system quicker. 2025-10-16 12:00:33 -04:00
Zed A. Shaw
e523aa8b02 Quick refactor of the config system to make it easier to refactor config.cpp/hpp later. 2025-09-16 11:59:30 -04:00
Zed A. Shaw
a20d701096 Rename to GameDB and GameDB::Level. 2025-08-20 23:20:36 -04:00
Zed A. Shaw
a83ee77eea levelmanager.* is now gone, but the code is just moved over to game_level. Now to clean up the api and give it a new name. 2025-08-20 01:10:42 -04:00
Zed A. Shaw
b9209beddd Better error when you have duplicate map icons. 2025-08-10 12:29:53 -04:00
Zed A. Shaw
d93bc1615c Big changes to use the new lel-guecs setup but now almost everything works. Only thing missing is Issue #16 in quecs. 2025-07-23 14:03:41 -04:00
Zed A. Shaw
ff7111b006 Icons now work way better and don't have the the 'Rayview cuts icons' bug. It actually was a bug in the lel-guecs Sprite class that was using the TextureRect from the source sprite. Now its initialized with the framesize from the .json. This also uses the new guecs::Icon, but I have to fix that as it doesn't scale correctly. Closes #2. 2025-07-22 15:04:22 -04:00
Zed A. Shaw
973495b687 Map now has a color theme rather than random colors. 2025-07-17 12:59:20 -04:00
Zed A. Shaw
f4fa50a413 Colors are now being loaded from assets/palette.json 2025-07-17 10:50:09 -04:00