Commit graph

708 commits

Author SHA1 Message Date
Zed A. Shaw
986b2612d4 [BREAKING] Battle system now runs the turn based combat better, and lots of interesting things like if you don't choose an action the host AI rebels and does it for you. 2025-12-11 13:49:53 -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
1537a81aac Cleanup before refactoring the boss/fight.cpp code. 2025-12-05 12:02:57 -05:00
Zed A. Shaw
94c0d2dc0b Using a blank audio for the story board. 2025-12-05 11:29:26 -05:00
Zed A. Shaw
94b46a2f95 Fix up the main game based on arena changes. 2025-12-05 11:20:35 -05:00
Zed A. Shaw
f839edcd56 BattleEngine is now connected to the boss::UI so as you click it'll continually run the plan and figure out the AI actions. 2025-12-05 00:51:35 -05:00
Zed A. Shaw
a38bb5b691 Basic AP (Action Points) system tied to the AI actions, but there's no way to set 'has AP' for the AI? 2025-12-03 15:24:41 -05:00
Zed A. Shaw
c78b2ae75e Now have the basics of the turn based battle engine with AI rebellion working. 2025-12-01 00:14:08 -05:00
Zed A. Shaw
f3b20f30c5 Putting a big fat warning to never leave libformat again. 2025-11-28 23:38:55 -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
d244106981 When there's actions in the arena the camera moves. 2025-11-22 14:53:52 -05:00
Zed A. Shaw
63a17d7efa Boss fight now has combat stats and damage so I can now have a boss fight. 2025-11-22 00:50:47 -05:00
Zed A. Shaw
8ee3e8736f Simple battle system included in the boss fight but I need to figure out how it should operate. 2025-11-19 13:26:21 -05:00
Zed A. Shaw
d418f073f0 Can now skip the cutscene by clicking on it. 2025-11-14 01:58:09 -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
fa4573be7b Cutscene is working now, just have to merge it in. 2025-11-13 13:28:11 -05:00
Zed A. Shaw
e6072c9f1e [BROKEN] I have audio for a basic cutscene that's about the most cringe thing you can ever hear so you can't hear it. 2025-11-13 12:13:58 -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
c486db5a57 Can now export the time code/actions from Reaper as json data and the storyboard will play them. 2025-11-12 11:42:22 -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
de7f9f3445 Tried to get camera to have a reset but couldn't figure out. 2025-11-09 12:54:38 -05:00
Zed A. Shaw
29409c54ce Camera for the storyboard can now do pan, bounce, dolly, and shake. 2025-11-09 11:41:11 -05:00
Zed A. Shaw
0d326089f7 Movement is now much smoother for the easing functions and I can pan around better, but it's hard coded to only do pan at the moment. 2025-11-09 01:40:15 -05:00
Zed A. Shaw
2ebefcce05 Playing with some basic cameras to figure out how the motion will work. 2025-11-06 01:01:32 -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
068eeeecd1 Clean up some of the junk and ignore it. 2025-11-03 00:40:22 -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
8345097e10 Moving some stuff so I can do a camera system using the new sf::View animation stuff. 2025-11-02 22:49:50 -05:00
Zed A. Shaw
222c66a1f2 Now can do a SLIDE motion that is a linear move to an x/y. 2025-11-02 12:35:45 -05:00
Zed A. Shaw
f1f4cbc80f Animations can now be applied to sf::View to do animated camera effects. 2025-11-01 12:29:22 -04:00
Zed A. Shaw
d60e1af6df A bit of refactor to put apply in Animation where it belongs. 2025-11-01 11:13:12 -04:00
Zed A. Shaw
102c8c36d5 BAD: This gets the animation to control the camera, but it's a quick hack to prove it works. 2025-11-01 01:15:18 -04:00
Zed A. Shaw
cb58bdd955 Now can zoom in on the player when it's their turn. 2025-10-31 14:06:40 -04:00
Zed A. Shaw
740e1052fe Finally have the boss fight rendering into a render texture correctly. The 'flipped' problem was because I didn't call .display() in render. 2025-10-31 12:50:20 -04:00
Zed A. Shaw
82a38e5fa1 Now using the jankifier to process my images. 2025-10-30 13:57:25 -04:00
Zed A. Shaw
26d313269c Working on how to do an idle 'breathing' animation for sprites. 2025-10-28 01:03:59 -04:00
Zed A. Shaw
2ecd8528ea Can indicate that a animation is flipped, which will *-1 on the x. 2025-10-27 23:54:31 -04:00
Zed A. Shaw
c4fcb41c34 Now have the ability to specify parameters needed. 2025-10-27 23:01:48 -04:00
Zed A. Shaw
949bbd4f15 Better easings and motion but I need better data. 2025-10-27 22:22:57 -04:00
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