Commit Graph

74 Commits

Author SHA1 Message Date
1a743214d7 Fix and expand hurtbox component. 2024-06-02 13:18:56 -07:00
8597840033 Moved velocity into movement component. Hope I don't regret it. 2024-06-02 13:09:48 -07:00
d50e3f6a51 Working towards attacking and where to put optional states. 2024-06-02 11:11:26 -07:00
9149e89865 Moved actor direction into movement component. Velocity is going to be tough. 2024-06-02 10:25:53 -07:00
e076952b12 Continue to move logic into base classes. Inheritence is maybe not so bad. Added debug flags for state machine that also sets it for children so I can test one child at a time. 2024-06-02 09:12:06 -07:00
267850a2f6 Painted into corner. 2024-06-01 22:27:07 -07:00
8bbc41b8f2 Fix for Actor template, clean up to build things from new template. 2024-06-01 08:30:09 -07:00
46c1063d8d New inherited scene template based on Actor. 2024-05-31 23:09:23 -07:00
66a0de16bb More modular game Actor setup. 2024-05-30 23:43:32 -07:00
c4df444848 Added resource class to use in frame based sound routines. Created Actor class to extend for enemies and players. 2024-05-30 22:38:29 -07:00
5d0bc33cbf Let there be some sound. And resources! 2024-05-27 23:24:32 -07:00
6280c7eb44 Deprecated Animation name in states. Moved exports to State base class. 2024-05-27 19:37:35 -07:00
b00e504c08 State for animated actors now inherits from a base interface. 2024-05-27 19:23:37 -07:00
6e899d1bbf Cleanup unused, out of date files. Will probably want to look at old player B at some point but player C has had so many improvements but broke compatability. 2024-05-27 17:48:04 -07:00
fbcb5af32d Created base state machine and setup existing one as one for animated sprites with a kinematic body as a parent. 2024-05-27 17:32:42 -07:00
a7bc6c6349 Switch to transformed based flip on kinimatic body instead of sprite based one so gun and positions offset appropriately. I wish I knew this when I started. More improvements can be done here so I don't have to update the code in every state. 2024-05-27 16:51:38 -07:00
f6cb10fce5 Added Android build export and crappy controller support. 2024-05-27 10:30:32 -07:00
8cb9bca02b Buggy jump/shoot state transition added. 2024-05-27 08:35:48 -07:00
89208475fe Add fire/attack state modifier for idle and run animations. 2024-05-26 22:56:30 -07:00
e5e8c030f6 Add state modifier stack to pop on/off state changes. 2024-05-24 21:27:27 -07:00
7d35942649 Clone Player for improvements. 2024-04-25 22:24:01 -07:00
4bb970187d More Cleanup 2024-04-25 20:49:45 -07:00
e4159c58b9 Cleanup. Organize. Moves done outside of git. 2024-04-25 20:35:04 -07:00
aaad967476 Should have done this a while ago. 2024-04-25 20:13:25 -07:00