Commit graph

219 commits

Author SHA1 Message Date
Zed A. Shaw
49c9702041 Cleaned up the arena code more and closer to pulling it out for a scene system. 2025-10-23 00:29:15 -04: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
387d1a5bf5 Now have the ability to place animated fixtures anywhere and to flip them. 2025-10-20 00:29:12 -04:00
Zed A. Shaw
e99c07b50c Add a couple of rats that help the rat king. Render them behind. 2025-10-19 00:55:39 -04:00
Zed A. Shaw
71e3c97cf0 Arena works better now and I can give a list of sprites to work as fixtures in a scene. 2025-10-19 00:47:28 -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
7f10c5b3d7 New boss scene that's really just a pixelated photo bash done quickly. 2025-10-12 14:05:30 -04:00
Zed A. Shaw
0930b05fc5 Some basic animations working but the loop in bad. 2025-10-10 01:42:42 -04:00
Zed A. Shaw
c33f370572 Animations are now being pulled correctly but I need to add a timing concept to animations instead of ticks. 2025-10-10 00:25:37 -04:00
Zed A. Shaw
517de91a5b Quick code review to refresh my memory. 2025-10-09 01:23:01 -04:00
Zed A. Shaw
f33e14f2cf More on the boss fight sytem, just a basic FSM going. 2025-10-07 12:47:47 -04:00
Zed A. Shaw
61a40ae7cd Refactored boss fight to pull out the FSM code into boss::Fight. 2025-09-29 13:19:59 -04:00
Zed A. Shaw
06a174040f The whole boss fight scene is now configurable with json. 2025-09-27 11:58:44 -04:00
Zed A. Shaw
d398b042a7 New bossfight layout with fake 'paper cutouts' to work out how the UI would work. 2025-09-24 01:29:36 -04:00
Zed A. Shaw
07e281d987 Have a basic understanding of what to do for the boss fight arena, but now want to start over fresh. 2025-09-22 13:43:36 -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
d1f7337de4 Now have a fully painting/pixelated female hand for the actions. 2025-09-15 13:26:18 -04:00
Zed A. Shaw
7af264e147 Now have a fancy hand animation when you cast your rituals. 2025-09-15 02:14:13 -04:00
Zed A. Shaw
ad3e580495 Animations are refactored to let me spawn in an 'attack animation' but I think the data model is wrong. Rather than spawning in an animation every time I can probably just make one, reposition it, then tell it to play. I'll have to try it. 2025-09-12 11:56:11 -04:00
Zed A. Shaw
8384b11993 Refactored the animation so I can normalize it to one api. Next is to create the concept of a temporary entity that represents a transitive effect. 2025-09-11 14:18:52 -04:00
Zed A. Shaw
0afaa20c1d Improved the code so it uses ai::EntityAI and it now will find healing when it gets low. Has a bug where it stalls when finding healing and gets into combat. 2025-09-07 23:56:24 -04:00
Zed A. Shaw
ed33a36bca Autowalker now will grab healing when they need it and can grab it. 2025-09-06 00:02:42 -04:00
Zed A. Shaw
759f93cae0 Autowalker now correctly faces enemies to fight them. 2025-09-02 11:31:01 -04:00
Zed A. Shaw
e92fd2b6f3 Needed to rewrite the pathing to get this to work. I actually had been using a purposefully broken pathing algorithm from when I was making random maps. 2025-08-30 10:48:52 -04:00
Zed A. Shaw
586343a614 Enemies will now fight back if they're cornered. Was actually way easier than I thought. 2025-08-21 23:32:34 -04:00
Zed A. Shaw
42575ef1f5 Updated the lootable body asset. 2025-08-13 11:43:05 -04:00
Zed A. Shaw
48e28ee636 New dead_body_lootable sprite for dead things you can loot. 2025-08-10 12:30:42 -04:00
Zed A. Shaw
97fe02d99d Add a new dead_body sprite for things that are dead but you can't loot them. 2025-08-06 23:13:29 -04:00
Zed A. Shaw
b9656013b0 Now have dead bodies working but need art for it. 2025-08-06 12:15:21 -04:00
Zed A. Shaw
fc4eacadb0 There's now a Collision component that determines collision if its set. Closes #72. 2025-08-06 11:43:39 -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
b311713064 Quick prototype of how switch to an icon during pickup makes the rendering bug go away and also looks better visually. 2025-07-22 01:08:48 -04:00
Zed A. Shaw
aa72cfe4a4 Now have a working compass based directional player sprite in the map, but using the compass isn't going to work long term. Need to move that into the raycaster.cpp and get real degrees for facing direction. 2025-07-18 13:09:53 -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
379060b8c7 Can now set a color to another already existing color. 2025-07-17 12:39:24 -04:00
Zed A. Shaw
f4fa50a413 Colors are now being loaded from assets/palette.json 2025-07-17 10:50:09 -04:00
Zed A. Shaw
48a7f72411 Now have a simple color palette system. 2025-07-16 12:46:49 -04:00
Zed A. Shaw
75646619b3 Map now displays and works, just need to refine the colors and the compass directions. 2025-07-15 13:28:23 -04:00
Zed A. Shaw
3b06105813 Map tiles are generating fine, and I can make a map, now to bring it into the game and see how it works. 2025-07-11 22:38:08 -04:00
Zed A. Shaw
5db3d1a306 Tried out using the actual textures from the game but they don't really have the feel I want. I'll have to think about it. 2025-07-11 02:24:47 -04:00
Zed A. Shaw
5e01eb29a9 There's a bug where the last item in tiles.json draws a black square, which is why I named ceiling_blue to zceiling_blue to temporarily solve it. 2025-07-11 01:02:27 -04:00
Zed A. Shaw
b2a6262964 Now have background color for the sprites used in the maps. 2025-07-10 00:12:32 -04:00
Zed A. Shaw
b16ca3fd65 I now have hacked in basic color for the wall tiles but not enemies and items. 2025-07-09 14:36:31 -04:00
Zed A. Shaw
b2d0b0ee4c Map tiles are now correctly sized and positioned. Errors from before were due to floating point being used for positioning. 2025-07-09 13:34:18 -04:00
Zed A. Shaw
2c011079a8 I have a test now that can generate a map image so I'll make it look nice there before bringing the code into the game. 2025-07-09 01:54:49 -04:00
Zed A. Shaw
cfefffe1cc I now can output a map_tiles.json that has all of the tiles in the tile sheet tagged by their display char and where they are. 2025-07-09 00:34:50 -04:00
Zed A. Shaw
40611d4d54 Crop the map sprite so it's not bigger than necessary. 2025-07-08 22:54:59 -04:00