73 Commits

Author SHA1 Message Date
Nic0Nic0Nii
4f6d9b09e3 Add Settings menu and an Unlocck All button
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2024-01-26 15:29:42 +00:00
a206cb10eb Added small background to input display. Added safeguard to prevent mouse inputs from occurring in keyboard navigation rules. 2024-01-20 15:20:26 -06:00
4eec0ce337 Implemented overworld gamepad control functions. Added ability to have certain inputer helper labels to be hidden away. When click functions are called on MenuComponents, it should also apply the menu navigation rules of the button. 2024-01-20 14:42:35 -06:00
9dc2a0a4c2 Add in input helper text when navigating using keyboard/gamepads. Fix scrollwheel navigation for ScrollingWindowComponent referencing the wrong variable to add to (after the targeted scroll destination change). 2024-01-20 12:50:12 -06:00
ad05279ae7 Analog scrolling menu implementation completed. 2024-01-19 18:53:51 -06:00
df10dc43a8 Auto targeting a component when navigating/selecting in a ScrollableWindowComponent using gamepad/keyboard controls. Added analog stick navigation to load file menu. 2024-01-19 15:09:59 -06:00
dfa014b0a9 Implement button navigation rules for gamepads. Fix mouse click / gamepad transition key conflicting. Fix how a pointer is generated for components via the Component<> reference template. Since we sometimes want to dynamic cast it, it loses all its typing data if we make a new shared pointer instead. 2024-01-19 00:07:29 -06:00
aec9646d40 When switching from mouse to keyboard navigation, the first input is ignored such that it will reveal where the cursor currently is at. Updated to Release Build 6020. 2024-01-18 23:24:24 -06:00
8512ccf51a Added wrapping up and down functionality for load game window. Fix bug allowing the player to enter no name for a save file name, resulting in file load parsing failing completely. Remove back button in class selection window. 2024-01-17 20:10:54 -06:00
c972b33c56 Make lastActiveMousePos static for menus so the mouse cursor doesn't get detected as "moved" everytime we open a new menu. Fixed compile issues for various aspects of gamepad menu opening. Finished interpreting all combinations of setting up buttons and navigation. 2024-01-17 19:32:51 -06:00
210a46a5f9 Continue fixing up new menu navigation structure
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2024-01-17 21:00:51 +00:00
3ff1ff0b04 Fix menu hovering causing selection on menus to be messed up in mouse navigation mode. 2024-01-16 22:30:10 -06:00
cbb277cab2 Add in structures to deal with custom menu navigation setups. 2024-01-16 20:14:43 -06:00
97ce43ed21 Add default button member to menus. 2024-01-16 18:21:22 -06:00
bc1a1c6876 Fix more dynamic pointer strict casts to parent components (when they shouldn't be). Fixed double updating bug for components in ScrollableWindowComponents. 2024-01-16 17:48:43 -06:00
604511d8e9 Fix menu components not being clickable. 2024-01-16 17:14:33 -06:00
965d0afdb1 Incorporate dynamic pointer cast fix
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2024-01-16 21:03:46 +00:00
e669968bc3 [BUG] Current build does not properly start and has two stub functions MenuComponent.cpp lines 214 and 224 2024-01-16 00:53:29 -06:00
c0ae0697b7 Move to smart pointers for menu component system. 2024-01-16 00:20:30 -06:00
1fd37bbd51 Added controller vibration for world shake events/player hurt events. 2024-01-15 03:22:34 -06:00
c4ee2608f2 Added basic controller keybind support. 2024-01-15 02:50:20 -06:00
6d11eb5048 Update to geom2d 2.0 util 2024-01-10 17:49:24 -06:00
296ea1f2e6 Updated all references of Crawler project to now reference Adventures in Lestoria. Fixed a loading bug with the current connection point buttons and information not updating upon loading into the overworld map. Fix component count initialization bug (On Linux and Emscripten builds the component count would start uninitialized and would result in poor depth ordering sometimes. 2024-01-04 05:21:56 -06:00