Commit graph

  • 0add3b29ae Now have doors that you can walk though. No open/close animation yet. master Zed A. Shaw 2026-03-16 12:53:10 -04:00
  • 02d23bb77d More cleanups of the tests and fixes to the room and door positioning. Zed A. Shaw 2026-03-15 22:53:00 -04:00
  • 8e2a691337 Now the rooms are better at having good doors. Zed A. Shaw 2026-03-15 03:20:29 -04:00
  • 908f5bfb3e Slight better but I think place_doors can be even better. Zed A. Shaw 2026-03-15 01:21:33 -04:00
  • f304538325 way better map/maze debug output. Zed A. Shaw 2026-03-15 00:09:47 -04:00
  • 3394de064c New scripting style mazes incorporated. Zed A. Shaw 2026-03-13 11:36:21 -04:00
  • 1b2276c08f Add the map's invariant too. Zed A. Shaw 2026-03-13 11:11:28 -04:00
  • 9001af214a Maze scripts now work reliably. Zed A. Shaw 2026-03-13 10:41:42 -04:00
  • c615f4fc1e Can now script maze gen with a json. Zed A. Shaw 2026-03-13 01:55:26 -04:00
  • a71d6340db Tests now run the repair() step. Zed A. Shaw 2026-03-13 00:36:49 -04:00
  • e6fcbd8dcf Maze gen can now more efficiently produce an interesting map that is fully pathable. Zed A. Shaw 2026-03-12 00:54:34 -04:00
  • f85ae8a6c6 Better map generation and a test that re-rolls maps that aren't valid to figure out the stats of map gen failures. Zed A. Shaw 2026-03-11 12:31:51 -04:00
  • 8090251a71 I can validate that a map is pathable, but can't fix it. Zed A. Shaw 2026-03-10 00:42:58 -04:00
  • 74f92dfe2c Gave up on adding a buffer and I'll just let rooms be near eachother. Seems to produce interesting results anyway. Zed A. Shaw 2026-03-09 11:12:26 -04:00
  • 8b129aea6b More refinement of the maps. Now the inner box won't have rooms in it and I can mark a region free of rooms. Rooms also have a guaranteed door. Zed A. Shaw 2026-03-08 12:25:40 -04:00
  • 87a1193a4a Tone down the map gen tests. Zed A. Shaw 2026-03-08 03:31:18 -04:00
  • fb41c153c1 With some help from chat I sorted out how to randomize rooms without overlap. Zed A. Shaw 2026-03-08 03:28:49 -04:00
  • 47c0d4a5f0 Initial fix for large center rooms not having entry exit. Zed A. Shaw 2026-03-07 00:10:42 -05:00
  • da7f24c126 Fix the const. Zed A. Shaw 2026-03-06 11:52:52 -05:00
  • 13d1f54f09 By compiling the code into a .a file I can avoid meson's weird duplication of compiled .o files, cutting build times in half on average. Zed A. Shaw 2026-03-06 11:26:44 -05:00
  • f0b04107ab Best I can do to simplify the check(fmt::format)crap is to make a little macro to do the format part. Zed A. Shaw 2026-03-05 12:39:22 -05:00
  • 6710469ee1 First attempt at cutting down the amount of recompiles for the tools, but maybe I just have meson only build the tool when I run it? Zed A. Shaw 2026-03-04 00:09:25 -05:00
  • 56b4580466 Moving to a 'less constructors' style. Zed A. Shaw 2026-03-03 23:55:28 -05:00
  • ea791270b3 Move to c++23 and clean up of raycaster. Zed A. Shaw 2026-03-03 23:33:32 -05:00
  • 403d2bd7ce Improved make money command. Zed A. Shaw 2026-03-03 22:47:54 -05:00
  • 91ab5eb624 Some more rayview cleanup. Zed A. Shaw 2026-03-01 14:04:22 -05:00
  • dd3952d5c1 Refactor the raycaster to separate update from render. Zed A. Shaw 2026-02-28 12:22:03 -05:00
  • 36efdc91aa Don't need tracy. Zed A. Shaw 2026-02-28 11:00:06 -05:00
  • 0ff5fd1980 First step to a normal update/render loop. Zed A. Shaw 2026-02-28 10:59:28 -05:00
  • 46c6fce47e Simple fix to make the story and boss fight scenes work. Zed A. Shaw 2026-02-28 10:46:51 -05:00
  • ff3a6c4a85 Don't need this. Zed A. Shaw 2026-02-27 22:12:55 -05:00
  • 5179f1c781 Final move of files to a better place. Only thing in the root is very common stuff. Zed A. Shaw 2026-02-27 15:10:17 -05:00
  • ebe84c4d78 Most files moved, now the stragglers. Zed A. Shaw 2026-02-27 14:48:16 -05:00
  • f460add0af Graphics reorg done. Zed A. Shaw 2026-02-27 14:11:13 -05:00
  • 86a9f815c1 animation and lights moved to graphics Zed A. Shaw 2026-02-27 13:57:44 -05:00
  • 229ad2dd95 Textures and palette moved to graphics. Zed A. Shaw 2026-02-27 13:09:44 -05:00
  • b91e9ffaf6 Algos directory is setup. Zed A. Shaw 2026-02-27 12:07:01 -05:00
  • 0064664556 Matrix moved. Zed A. Shaw 2026-02-27 11:43:14 -05:00
  • 5863920105 Combat is now working. Zed A. Shaw 2026-02-27 11:28:56 -05:00
  • 13ec422aae AI is now moved. Zed A. Shaw 2026-02-27 11:21:42 -05:00
  • 1d4ae911b9 Files are now in a src directory and I'm using a src/meson.build and tests/meson.build to specify what to build. Zed A. Shaw 2026-02-27 10:49:19 -05:00
  • 4778677647 Remove tracy, not using it. Zed A. Shaw 2026-02-27 10:17:44 -05:00
  • 9e8816181d Not using tracy. Zed A. Shaw 2026-02-27 00:13:19 -05:00
  • b61dd167b8 Needed to remove more dead code. Zed A. Shaw 2026-02-27 00:08:29 -05:00
  • 03be0884a4 Clean up the source tree before reorganizing it. Zed A. Shaw 2026-02-26 23:43:30 -05:00
  • 779599f030 Entities in the world are now animated like before using the new animation system. Zed A. Shaw 2026-02-25 12:13:43 -05:00
  • 594be65f45 Refine how the raycaster.cpp uses animations so there's less back-and-forth on the intrect. Zed A. Shaw 2026-02-24 22:51:55 -05:00
  • cded8a937e Animations are working better in the raycaster but still need refinement. Zed A. Shaw 2026-02-24 13:42:29 -05:00
  • 81a282d544 Finally renamed animate2 to animation thus completing the refactor. There's still things to do to make the new animation actually work though. Zed A. Shaw 2026-02-24 11:36:57 -05:00
  • 83f62e3f45 Move the step_animation out of the animate2 module since it's only used in raycaster.cpp. Zed A. Shaw 2026-02-24 11:14:16 -05:00
  • 89ca204f3d Now the Animation system is no more. Next is cleaning up the quick hacks I needed to finally get rid of it, like animate2::has. Zed A. Shaw 2026-02-23 23:41:14 -05:00
  • b504afef2a The ritual blanket now has the new animation and gained the ability to play the animation reversed for the closing animation. Zed A. Shaw 2026-02-23 12:05:56 -05:00
  • 1a9c395ae6 Hand animation is now converted. Zed A. Shaw 2026-02-23 11:27:54 -05:00
  • e3065f7add Cleaning out stray animation.hpp files to make finding usage easier. Zed A. Shaw 2026-02-23 00:21:57 -05:00
  • 0fefc83c36 stories.json now encodes the duration for a transform so that the time code of the event isn't also controlling the time that the transform runs. Zed A. Shaw 2026-02-22 23:40:00 -05:00
  • 088f9e022e Refactor the story->camera converter to be a part of the camera. Zed A. Shaw 2026-02-22 23:02:02 -05:00
  • 024d0cfae7 storyboard::UI now adapts the camera to fit the story beats, but really story should do that. Zed A. Shaw 2026-02-22 12:14:42 -05:00
  • d56b4bd335 Added invariants to the Sequence to hunt down a bug in the tests but I'll leave it there for future testing. Zed A. Shaw 2026-02-21 13:24:39 -05:00
  • 1baca783fc Sorted out the animation vs. easing contradiction I believe. Now there's a separate easing_duration that's calculated from the total duration of all frames. Then a easing_position determines where in the total the animation is, which is fed to the asing functions as a ration of easing_position / easing_duration. Zed A. Shaw 2026-02-21 01:57:33 -05:00
  • 0c798c9e0d Fixed the way scene updates, but it's still not connecting the ticks to the updates in animation. Zed A. Shaw 2026-02-20 11:06:14 -05:00
  • 32e9c65331 First implementation of doing the usual update/render dance. Zed A. Shaw 2026-02-20 10:32:37 -05:00
  • 364f66bffb Camera is now using Animate2 and it's mostly working, but there's a few more refactors needed. Zed A. Shaw 2026-02-20 00:15:19 -05:00
  • 46cc21ec7b Camera is now using animate2 but isn't actually using it yet. Just converted. Zed A. Shaw 2026-02-17 00:55:41 -05:00
  • 7bf7b25a10 Make the player just stand instead of bounce. Zed A. Shaw 2026-02-15 22:52:24 -05:00
  • f8a8033890 Arena is working with the new animate2 but boss/fight.cpp needs a complete overhaul. Zed A. Shaw 2026-02-15 12:04:53 -05:00
  • ba91929bfd Everyone has different animations, but they tend to cancel each other out. Need to refine it next. Zed A. Shaw 2026-02-13 23:57:16 -05:00
  • 458bf7e25e Scene now renders correctly, but I need to pull out the json in config_scene_element and make a component that's loaded. Zed A. Shaw 2026-02-13 23:30:57 -05:00
  • 2cef58be69 Found it. I was taking a reference to a function pointer that was on the stack. Zed A. Shaw 2026-02-13 12:38:25 -05:00
  • 2484802d93 Torches are now flipped, but next is that same crash. Zed A. Shaw 2026-02-13 11:10:13 -05:00
  • 0e8b661273 Figured out the crash, but want to see what valgrind would say. Zed A. Shaw 2026-02-12 12:59:35 -05:00
  • aaf5aa4165 Arena is now using the new animate2 but needs to be fixed. Zed A. Shaw 2026-02-11 13:57:19 -05:00
  • 547e8ec993 The animation tool now works and I used it to design an idle animation with the classic bounce. Zed A. Shaw 2026-02-11 13:00:57 -05:00
  • 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. Zed A. Shaw 2026-02-09 13:58:28 -05:00
  • 0d481a5ab7 Animator won't crash anymore when there's an error, and instead displays an error message. Zed A. Shaw 2026-02-07 13:05:24 -05:00
  • 46f34828e4 Sound is now working, and the animator tools will play them and also has mute. Zed A. Shaw 2026-02-06 13:39:34 -05:00
  • a4ffacdb18 Fix up the animator to show the initial form. Zed A. Shaw 2026-02-06 12:23:17 -05:00
  • 4356b1535e Animation tool now lets you cycle through different sequence/transform 'forms' and shows you which one you're viewing. Zed A. Shaw 2026-02-04 15:10:07 -05:00
  • 07b2102f59 The gorious Lord Keith the Rat King can now have easing and motion functions that are defined in json and hot-reloaded. Zed A. Shaw 2026-02-04 00:59:26 -05:00
  • 383f839fdf Update Makefile to do the new animator command line options. Zed A. Shaw 2026-02-04 00:14:38 -05:00
  • 77643a4bcd Can now specify a background to render the sprite on. Zed A. Shaw 2026-02-04 00:04:17 -05:00
  • fc01579232 Space now stops/starts the animation. Zed A. Shaw 2026-02-03 23:30:12 -05:00
  • 961a470844 Animator now starts off as being the size of the sprite. Zed A. Shaw 2026-02-03 23:24:39 -05:00
  • ce3d142208 Fixed a test that failed because loop was set on the tranform being used. Zed A. Shaw 2026-02-03 22:34:19 -05:00
  • c092b82dfc Animator tool now has no UI, it just watches the file to change time and reloads. Zed A. Shaw 2026-02-03 13:03:38 -05:00
  • bdfc2397e2 Fix up the animation test so that it works with random timings even if the example has a timing. Zed A. Shaw 2026-02-03 11:17:36 -05:00
  • dea0607901 Now loading the new animations out of assets/animate2.json Zed A. Shaw 2026-02-03 00:30:49 -05:00
  • df730047ac Animator tool can now play, stop, loop, and toggle an animation. Zed A. Shaw 2026-02-02 00:02:10 -05:00
  • 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. Zed A. Shaw 2026-01-31 13:05:56 -05:00
  • ca335d21e5 All of the original features now work: simple, flipped, scaled, toggled, looped and stationary is replaced by ease2::scale_only. Zed A. Shaw 2026-01-31 11:40:45 -05:00
  • 34e4a34f65 Nearly perfect sync between transform and animation, but not sure how to replicate that reliably. Zed A. Shaw 2026-01-30 23:57:02 -05:00
  • d4e79f1d3d Animation API getting better but now need to resolve how it works with the frames. Zed A. Shaw 2026-01-30 23:26:35 -05:00
  • 785d0240da Animator now can apply transforms using the timer alpha which mostly works. Zed A. Shaw 2026-01-28 00:29:39 -05:00
  • 7f14a39edf Most of the transforms kind of work now need to hook in the new timer. Zed A. Shaw 2026-01-27 23:39:09 -05:00
  • 20d7612f1c Animation now applies to the animator tool and works. Zed A. Shaw 2026-01-27 13:44:46 -05:00
  • b7394f832d Now have a timer for animations that does ticks with deltatime...maybe it works. Zed A. Shaw 2026-01-27 12:52:33 -05:00
  • c0f69ed026 Ease2 is the new way to do easing functions. Zed A. Shaw 2026-01-22 22:32:13 -05:00
  • 31b815d43e Animation motion() almost works but need to tweak the calculations so they go for the length of the animation? Zed A. Shaw 2026-01-21 23:53:13 -05:00
  • 60c405b1fc Refactor the animate2 and then start working on the motion feature. Zed A. Shaw 2026-01-21 13:13:58 -05:00
  • 992b8f0e0a Added an onFrame callback that only is called when a frame change happens. Zed A. Shaw 2026-01-21 00:06:39 -05:00
  • ba966aa7bf Animation now applies frame data to sprites. Zed A. Shaw 2026-01-20 23:45:41 -05:00