Commit graph

668 commits

Author SHA1 Message Date
Zed A. Shaw
f8158a3ea9 Animated scenes can easily make floors that do things, floors with moving elements, but I need to improve the easing/motion parts of the animations. 2025-10-24 00:24:29 -04:00
Zed A. Shaw
2d836a9e2a The layout is now also coming from the bosses.json file so it's totally configured there. 2025-10-23 23:11:48 -04:00
Zed A. Shaw
e5fa76b03c Floor is now just a fixture. 2025-10-23 14:12:04 -04:00
Zed A. Shaw
23f54bd4fe Now fixtures and actors are loaded the same. 2025-10-23 13:48:58 -04:00
Zed A. Shaw
4f39f2a504 Moved the animated scene into its own system for better development. 2025-10-23 11:37:35 -04:00
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
e1da089600 Now the rat king screams. 2025-10-21 00:46:16 -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
ca38b58450 Now the animations have sounds and using the rat king boss. 2025-10-10 02:00:39 -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
ee9f8c7c4b Have the first little turn based system going. 2025-10-07 23:07:12 -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
a0861a8f57 Make it possible to quit in the boss fight for faster dev. 2025-09-29 14:04:54 -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
3b11ed0a75 The FSM for boss fights is started. 2025-09-27 14:35:24 -04:00
Zed A. Shaw
fdc0bcdb3b Capturing attack clicks so now just have to make my own FSM for the minigame. 2025-09-27 14:10:25 -04:00
Zed A. Shaw
231adb6335 Making the bossfight function by creating the FSM for it. 2025-09-27 13:25:34 -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
06f6098281 Create the systems.cpp for the boss fight mini game. 2025-09-25 11:40:09 -04:00
Zed A. Shaw
27b71d4ba3 Small tweaks to make it easier to position. 2025-09-24 14:48:08 -04:00
Zed A. Shaw
8a828fbd31 Boss fight now reuses the combat_ui.cpp to do the combat panel, so next is making it work with the mechanics I want but no art. 2025-09-24 14:22:24 -04:00
Zed A. Shaw
6ec43026b6 Boss UI buttons in place and ready to work. 2025-09-24 02:17:38 -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
a4fdfb779f Made textures fail harder when given bad config. 2025-09-23 22:45:13 -04:00
Zed A. Shaw
7cdd96ef73 A little bit of layout up and displaying to get started. 2025-09-22 14:35:10 -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
47f659ae8e bring back the shaders on the enemies too to show they got hit. 2025-09-15 14:02:07 -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
7207d53885 Autowalker now figures out there's an enemy near when first entering a level. 2025-09-06 22:50:20 -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
29ab9721af Now they AI will heal when they can, but not yet go get itesm before/during combat. 2025-09-05 23:48:59 -04:00
Zed A. Shaw
a2192e25eb AI can now walk to where healing items are and pick them up to use. 2025-09-05 23:20:45 -04:00
Zed A. Shaw
fe37aa11df Accidental crash when you click on an empty inventory. 2025-09-05 11:56:36 -04:00
Zed A. Shaw
f03a3a31a8 Autowalker now walks more accurately to locations, fights enemies, and also picks up loot drops and healing items _only_. 2025-09-04 23:40:36 -04:00
Zed A. Shaw
40b2d7f45d Bring over various autowalker improvements. 2025-09-04 12:23:43 -04:00
Zed A. Shaw
9c5bad5959 This fixes the bug where you get 'stuck' while moving and passing an enemy. Need to sort out why this fixes it though. Closes #30. 2025-09-04 11:48:12 -04:00