Posted October 29, 2022 by felaix
#unreal #indie #menu #ui #pause #game #ciube #blueprint #devlog #blog
I got some important Feedback from a friend that the controls feel weird. So i tried to make the controls camera-based instead of character-based.
My instructor said it feels better that way (thanks for the help @rené)
But i got so used by the old controls, that i want to let the player decide if camera-based or character-based.
So i'll do a settings Menu today! :3
First step: Adding Escape for pause to the input system
Step two: Show Pause Menu + Activate Cursor after pressing ESC in Blueprint
Tada~ a pause menu :D
it looks a bit weird and the Buttons don't work yet.
I'll quickly fix that...
Okay, it looks a bit better now:
The blue color reminds me on Facebook. I don't like that. I guess i'll change it to orange or something... but first I will take care that the buttons work.
That was actually easier than i thought. I added a Widget Switcher and depending on which button i click, i set the active widget index.
The Result:
Okay, I have 3 things to do now:
First step: Close Button
Second step: Quit Button
That was easy. I guess the control switch is a bit more difficult.
Third step: Switch
In the player controller i created a boolean "camera based". if its true, the movement will be camera based. if its false, the movement will be character based.
Now i set the bool to true or false - depending on the players selection:
YESSS - it works!! :D