Commit Graph

56 Commits

Author SHA1 Message Date
3c38cdc258 Started work on an interactable sprite objects. 2024-06-21 23:45:33 -07:00
3f47fbbf7c Death anim added. 2024-06-21 22:02:16 -07:00
fb5f0dd872 Oh boy new level assets. 2024-06-21 20:58:01 -07:00
4c20731b6d Some more animations, finally figured out how modulate colors sort of work. Helps with that hurt animation. 2024-06-21 15:44:18 -07:00
80f2d9d1a0 Trying whole new PixelPerSecond based movement modifier system. Looking promising. 2024-06-20 15:59:50 -07:00
311423a509 Make way for a build system. 2024-06-20 15:14:05 -07:00
cb851e694a Fall and attack state improvements. Speed modifier now in move_as_desired function. 2024-06-19 23:20:27 -07:00
0686e8e8b0 Jump can now clear out a lingering fall animation transition. 2024-06-19 23:00:25 -07:00
eb47082730 Levelified a node tree. Added foreground and background tilemap layers. 2024-06-19 21:51:06 -07:00
922b4d05aa Dash momentum to jump. 2024-06-19 21:25:55 -07:00
4d4526a72d Dashing has a deceleration, can roll now too. 2024-06-19 09:06:22 -07:00
28aac7f4f6 Added janky dash. Gun and hurt. 2024-06-19 00:36:37 -07:00
75560648bf Attack state now pulls info from prevous state. 2024-06-18 21:51:42 -07:00
bc66a65c67 Crashes seem better but now enterring attack state needs to know frame from before. 2024-06-16 22:08:17 -07:00
87eba39116 More state modifier fixes. Still getting crashes. 2024-06-16 12:41:07 -07:00
438edc8e70 Trying to add more logic to state machine. 2024-06-16 08:43:50 -07:00
c23fe774a3 Struggling with animations again. 2024-06-15 14:36:34 -07:00
9d69d7df7d Animation tweaks. 2024-06-15 08:35:12 -07:00
b510927667 Continue adding Player based on inherited actor template. 2024-06-14 22:04:11 -07:00
385d722b78 New player based on template! 2024-06-12 22:47:28 -07:00
0cb827a981 UI impovements. 2024-06-08 23:46:15 -07:00
6961eec7de UI dialog and HUD switch implemented with singleton controller. 2024-06-08 14:21:47 -07:00
893bdb9017 Projectile now uses hitbox component. Enemies now die. lol. 2024-06-08 11:08:05 -07:00
ee52522925 Simple lifebar implemented. UI work still in progress. 2024-06-08 09:15:29 -07:00
599d37deeb Working on UI related items. 2024-06-07 22:00:55 -07:00
9c8eb77b96 Update camera based on PlayerInfo singleton. Add player enemy interractions and health! 2024-06-07 14:25:46 -07:00
b7c034d877 remove android build from tracking 2024-06-07 11:17:12 -07:00
4fcd85c936 Settled on hitbox/hurtbox routines. 2024-06-07 11:09:52 -07:00
b091bdc143 Implemented Mediator Pattern. This could be great for state driven function calls. 2024-06-03 22:20:41 -07:00
6dc01326c5 Trying out signals emmitted by states since i'm still stuck and the states and everything else are part of the same scene. 2024-06-02 21:39:12 -07:00
71e7bdf574 Still working on a hit/hurtbox interactions. 2024-06-02 20:14:51 -07:00
74dc378791 Kinda have a working hit/hurtbox model again. 2024-06-02 13:58:49 -07:00
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