Commit graph

29 commits

Author SHA1 Message Date
Zed A. Shaw
81a282d544 Finally renamed animate2 to animation thus completing the refactor. There's still things to do to make the new animation actually work though. 2026-02-24 11:36:57 -05:00
Zed A. Shaw
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. 2026-02-23 23:41:14 -05:00
Zed A. Shaw
364f66bffb Camera is now using Animate2 and it's mostly working, but there's a few more refactors needed. 2026-02-20 00:15:19 -05:00
Zed A. Shaw
c0f69ed026 Ease2 is the new way to do easing functions. 2026-01-22 22:32:13 -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
c6639998ec Animations are now happening lock-step but I have to add random animations in next_combat for it to work. Need more for each result. 2026-01-10 23:54:52 -05:00
Zed A. Shaw
c71566048e Animations now work better with looped/toggled/normal animations working. 2025-12-28 23:46:11 -05:00
Zed A. Shaw
f175a5d4aa Animations can work on Sprites,Transformables, and Views and the arena shows the hit/miss text so it follows the entity and hides when the animation stops. 2025-12-24 14:18:41 -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
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
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
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
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
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
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
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
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
acbf384e2a Fixed some of the easing functions but still not sure with RAT_GIANT doesn't move. 2025-03-20 04:25:15 -04:00
Zed A. Shaw
8b3573b01d Basic Ritual crafting UI is prototyped, so next step is to create some items and refine the UI with a possible FSM to keep it organized. 2025-03-20 03:25:35 -04:00
Zed A. Shaw
1aa6674e42 Created a nice utility library for doing animations, and used it in the ritual crafting UI. 2025-03-20 01:10:01 -04:00