Added additional toggle and setting options in Settings menu. Made screen shake, gamepad rumble, keyboard aim assist, and terrain collision box display toggles functional. Added toggle sound effect. Release Build 7344.

This commit is contained in:
2024-02-18 22:16:09 -06:00
parent a39a841166
commit d5bd8655a9
22 changed files with 285 additions and 44 deletions
+2
View File
@@ -40,6 +40,7 @@ All rights reserved.
#include "AdventuresInLestoria.h"
#include "olcPGEX_Gamepad.h"
#include "Menu.h"
#include "GameSettings.h"
INCLUDE_game
INCLUDE_GFX
@@ -564,6 +565,7 @@ const bool Input::AxesActive(){
}
void Input::StartVibration(){
if(!GameSettings::RumbleEnabled())return;
if(UsingGamepad()){
for(GamePad*gamepad:GamePad::getGamepads()){
if(gamepad->stillConnected){