Commit Graph

61 Commits

Author SHA1 Message Date
bc2cd13cc1 Good ol' documentation 2024-09-17 20:55:40 -04:00
108bcb67dd Update README 2024-05-11 22:54:56 -04:00
127d382b29 Different events for taking a hit and a hit from your attack landing 2024-02-10 00:55:08 -05:00
b66a93d108 Pass state context to GetFollowupState 2024-02-04 19:08:47 -05:00
b8ffa48b47 IsFollowupState flag and replace FollowupState with GetFollowupState 2024-01-31 21:59:28 -05:00
50a3bd8a4b Automatically go to a followup state when curr state ends 2024-01-30 21:20:23 -05:00
ea8e26e77d Expose GoTo State to blueprints 2024-01-29 20:37:42 -05:00
52736236d3 Fix Is Frame in Range function 2024-01-11 20:28:54 -05:00
5a967109fa Actually initialize the input buffer on the AI controller 2023-12-05 22:23:16 -05:00
a074478f81 Fix naming 2023-11-27 21:46:52 -05:00
3d4c56fcd9 Write some unit tests for the input buffer 2023-11-25 21:03:31 -05:00
ee8dff88ea Implement separate timeout durations for each input condition 2023-11-25 19:21:31 -05:00
afc6781f5c Define whether most recent is disabled per state 2023-11-24 22:44:37 -05:00
d7920802cf Keep track of tick on landed was called 2023-11-20 22:17:55 -05:00
da392c03fb Stub in AI controller 2023-11-15 20:42:40 -05:00
14cc6304c4 Fix copyright 2023-11-12 20:43:32 -05:00
c3a0d1f481 Reset current input when losing focus of game viewport 2023-11-10 14:27:55 -05:00
c09094e186 Fix include order 2023-11-10 10:34:35 -05:00
2f22223776 Poll inputs outside of game logic tick 2023-11-10 10:05:16 -05:00
b62a8cebb6 Collect move axis and look rot input 2023-11-06 21:34:16 -05:00
d53fba996a Options for when to stop an anim montage when the state ends 2023-10-30 18:51:56 -04:00
d9ec367b82 More control over playing a montage 2023-10-28 14:09:02 -04:00
28963c78e9 Add delegate for when state machine transitions to new state 2023-10-22 15:30:11 -04:00
755ee34343 Move fixed framerate logic from SNG to FF 2023-10-21 18:51:04 -04:00
c43aca536a Fix substate label issue and add IsAfterFrame and IsBeforeFrame macros 2023-10-20 22:58:41 -04:00
b3cee07ada Return bool flags on IsInFrameRange macro for start or end frame 2023-10-20 19:50:05 -04:00
09c817ef49 Don't finish state if move mode changes but no move mode is required 2023-10-20 15:34:41 -04:00
c654bfd8fb Make sure owner and avatar implement interfaces in CanTransition 2023-10-18 22:44:04 -04:00
6c06611901 Only disable most recent input if transition into state is successful 2023-08-26 16:03:01 -04:00
bd195c7ee8 Add callback for when movement mode on character is changed 2023-08-10 22:27:40 -04:00
93ca460c8a Call init when state is created by state machine and pass it state context 2023-08-06 14:49:57 -04:00
08d52a913f Implement input sequence and landed events 2023-08-05 14:58:08 -04:00
d89face881 Remove state entry conditions 2023-08-01 21:13:02 -04:00
87c2aafd49 Fix crash with debug msg and fix state self transition issue 2023-07-29 21:54:21 -04:00
e032ddaaa5 Move state macros to plugin and make CanTransition virtual function 2023-07-29 21:18:34 -04:00
8420f654e8 Debug SM, expose StateData to blueprint, make state duration optional 2023-07-25 22:25:01 -04:00
3938ac54b5 Expose state context members to blueprint and add Finish function to state 2023-07-22 22:10:00 -04:00
c652716895 Change state property types so they can be edited as enums 2023-07-21 23:25:45 -04:00
afc34be554 Initialize input buffer structs properly 2023-07-21 20:35:23 -04:00
d7245957df Implement rest of state class and do transition logic in state machine 2023-07-16 17:09:31 -04:00
4cf3834b2d Start of state system rework 2023-07-15 21:36:46 -04:00
85f0cbf804 Implement the "held down" button state 2023-07-01 19:36:44 -04:00
984fc0ad6a Fix the way the circle buffer was index and traversed 2023-07-01 19:28:41 -04:00
b8fa341503 Detect button press/release and disable inputs when they trigger a sequence 2023-07-01 16:18:09 -04:00
9f16901de6 Detect if an input sequence is in the buffer and valid 2023-06-30 19:38:34 -04:00
a85a9a7005 Interface for modifying raw inputs 2023-06-30 14:13:26 -04:00
eb735db17a Curr inputs getter 2023-06-28 20:38:20 -04:00
2c5569b6d5 Untested circle buffer implementation 2023-06-26 21:34:58 -04:00
ec6daa06fb Define functions and members for integrating player controller with input buffer 2023-06-11 17:45:58 -04:00
f31f0437e9 Setup input mapping in player controller 2023-06-10 19:23:21 -04:00