Key Mapping Persistence between Levels
Author: Charley Weaver
One of the biggest issues I had throughout this week was attempting to set and save key mapping options between levels. We will have three different preset options for different key mappings for the game. The first being the standard WASD for movement, space and shift for flight, and mouse for camera rotation. The second uses the left mouse click and hold for increasing height and the right mouse click and hold for descent. The third still in discussion. While these options were easily set through the key mapping contexts, I was missing one crucial element to get it to persist when starting the level: a game instance.
Without that game instance, the controls shifted back to the default preset. Once the game instance was present, I was able to shift between the options menu, start menu, and level with the option I chose. The game instance created will not only help with key mapping, but also with other variables we would like to see persist between levels like health and stamina.
The Butterfly Effect
Live the experience of a butterfly from their own eyes...
Status | In development |
Author | teaminsertnamehere |
Genre | Puzzle, Adventure |
Tags | 3D, Animals, nature, Stealth, Unreal Engine |
More posts
- Puddle Particle Bug FixAug 25, 2023
- How can I use Gamepad in the UI Widgets in Unreal Engine 5?Aug 23, 2023
- Saving Sound Settings Between PlaythroughsAug 19, 2023
- Skip NPC Cinematic with Interactive KeyAug 18, 2023
- Movement UpdateAug 12, 2023
- Solve Fly faster counter to use multiple Fly Faster power Ups inside the levelAug 12, 2023
- Save System ContinuationAug 05, 2023
- How I can hide the HUD elements during the cinematics?Aug 05, 2023
- Save SystemJul 21, 2023
- Fix Fly Faster crashJul 20, 2023
Leave a comment
Log in with itch.io to leave a comment.