Commit Graph
45 Commits
Author SHA1 Message Date
AMay d8d50f74a7 Implemented controller compatibility for sell item menu. Keyboard/controller menu navigation now auto-repopulates with a default selection if the current selection becomes expired for some reason (such as selling an item). Release Build 7249. 2024-02-16 18:30:14 -06:00
AMay 5d315ada93 Added controller compatibility for buy item menu. Removed restriction on mouse navigation not handling inputs defined in input engage groups of menus. Release Build 7242. 2024-02-16 17:58:10 -06:00
AMay 48ba282fa5 Implemented equipment menu navigation (partially). 2024-02-13 06:43:29 -06:00
AMay fd9fdc0924 Added partial keyboard functionality to character equip menu. Fix bugs with scrolling reset system. Release Build 7162. 2024-02-12 02:03:27 -06:00
AMay bacd879e12 Added dynamic labels for gamepad controls input helper. Fixed wrapping bug for pressing right on monster loot scrollable container. Added XP gain sound effect. Release Build 7112. 2024-02-11 20:25:24 -06:00
AMay 8afd66632a Added XP bar animations and steady increasing progress bar. Added level up animation text on stage completion screen. Refactor enable and disable functions for menu components. Differentiated between disabling due to being outside the window, and manual enable/disabling of components. Fix infinite loop bug with components outside of a scrollable window component not being iterated over. Fix bug with hovering over non-navigational components causing the default component for a menu to be selected while in mouse navigation mode. Release Build 7095. 2024-02-11 18:31:30 -06:00
AMay 52a01d04ad Begin work on Level Completion controller compatibility. Add in inventory scrollable window helper navigation macros to make coding wrapping functionality easier. Release Build 7010. 2024-02-10 15:08:23 -06:00
AMay a449932226 Implemented class selection window controller/keyboard compatibility. Added selection passthrough for disabled/grayed out items. Change hover fade-in for toggleable buttons. Release Build 6988. 2024-02-10 05:02:39 -06:00
AMay 6a5b74b3e6 Added in shoulder button navigation schemes, related icons, and DAS press input handling for menu navigation. Added in button visibility settings for input helper. Added Confirm input display for load game window. 2024-02-09 23:41:39 -06:00
AMay ce46a1d3d7 Refactored analog control system to use digital DAS input system with directional input support. 2024-02-09 22:48:49 -06:00
Nic0Nic0NiiandAMay cbc4fa5470 Add DAs input functions
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2024-02-09 18:03:23 +00:00
AMay fd1f762e20 Fully implemented controller/keyboard controls for Inventory Consumable Window. Fix bug with loadout items that were set during file loads were not selected in consumable window. Release Build 6907. 2024-02-09 02:53:55 -06:00
AMay 3fff17417e Refactored the input display menu to allow for dynamic changing of row displays. Remove controller specific keybinding menu, integrating with initial keyboard menu. 2024-02-07 17:58:29 -06:00
AMay d576e6143e Added new input keybind menu. Fixed MenuLabels to account for the 2 pixel border in width when rendering menu labels. Also corrected minor bugs with spaces being counted in wrapped text string lengths. 2024-02-05 02:51:17 -06:00
AMay cd599b73e0 Add in keyboard mapping display settings window. Add in keybind display buttons. 2024-02-02 20:31:34 -06:00
AMay d904ef7e91 Scrollbar click behavior changes for ScrollableWindowComponents. Items that are createable now display the proper contents in the Blacksmithing window. 2024-01-30 17:29:05 -06:00
Nic0Nic0NiiandAMay 8149db260b Update copyright 2024 for FreeType. Equipment can now have an initial crafting cost. RowItemDisplays will have a craftable and upgradeable tag.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2024-01-30 14:48:49 +00:00
AMay 390e7fefbf Make Unlock All button actually unlock every node. Allow tile fade groups to specify tiles that should be unhidden. NPCs have unlock conditions now. Layers have unlock conditions. 2024-01-29 22:25:32 -06:00
AMay dcabc05702 Creating a new character in the desktop build is now fixed. Added NPC interact functionality. 2024-01-29 19:29:38 -06:00
AMay 5589740f03 Fix up new stages, configure stage plates, add bonus boss stage, add levels to configuration files. Change Class selection window to include an online character checkbox to toggle between online and offline saving. Fix online/offline file IDs that were incorrectly loading due to no callbacks for async file retrieval. 2024-01-27 10:34:56 -06:00
AMay 15990152c7 Added character name input to class selection window, removed "file save name" dialog from main menu navigation. Fixed scaling for button labels with different values than 1. Moved ScrollableWindowComponent's scrollbar to be lined up with the actual scrollbar arrows. Removed text entry mode from blocking controller / gamepad inputs. 2024-01-27 06:43:09 -06:00
AMay e036302b58 Fix async loading bugs with loading from indexeddb store emscripten. Add emscripten debug and release scripts. Disable text entry whenever a menu is closed. 2024-01-26 16:15:49 -06:00
Nic0Nic0NiiandAMay 4f6d9b09e3 Add Settings menu and an Unlocck All button
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2024-01-26 15:29:42 +00:00
AMay 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
AMay 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
AMay 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
AMay ad05279ae7 Analog scrolling menu implementation completed. 2024-01-19 18:53:51 -06:00
AMay 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
AMay 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
AMay 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
AMay 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
AMay 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
AMay 210a46a5f9 Continue fixing up new menu navigation structure
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2024-01-17 21:00:51 +00:00
AMay 3ff1ff0b04 Fix menu hovering causing selection on menus to be messed up in mouse navigation mode. 2024-01-16 22:30:10 -06:00
AMay cbb277cab2 Add in structures to deal with custom menu navigation setups. 2024-01-16 20:14:43 -06:00
AMay 97ce43ed21 Add default button member to menus. 2024-01-16 18:21:22 -06:00
AMay 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
AMay 604511d8e9 Fix menu components not being clickable. 2024-01-16 17:14:33 -06:00
AMay 965d0afdb1 Incorporate dynamic pointer cast fix
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2024-01-16 21:03:46 +00:00
AMay 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
AMay c0ae0697b7 Move to smart pointers for menu component system. 2024-01-16 00:20:30 -06:00
AMay 1fd37bbd51 Added controller vibration for world shake events/player hurt events. 2024-01-15 03:22:34 -06:00
AMay c4ee2608f2 Added basic controller keybind support. 2024-01-15 02:50:20 -06:00
AMay 6d11eb5048 Update to geom2d 2.0 util 2024-01-10 17:49:24 -06:00
AMay 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