PowerQuest is a 2D point-and-click adventure game engine for Unity. Direct character movement using a gamepad is not a built-in feature, but you can implement it using the Unity Input System and modifying the existing PowerQuest scripts. Here's a step-by-step guide on how to do that:
Install the Unity Input System package
Go to Window > Package Manager, search for "Input System" and click Install.
Set up the Input System
Go to Edit > Project Settings > Input > Input System Package and enable the "New Input System" option. This will disable the old Unity input system and activate the new one. You'll need to restart the Unity editor.
Create a new Input Action Asset
Right-click in your Assets folder > Create > Input Actions. Name it "GamepadActions". Double click to open it in the Input Actions editor. Create a new Action Map called "CharacterControl". Inside this map, create a new action called "Move" and set its type to "Value" and control type to "Vector2". Bind it to "Gamepad > Left Stick".
Save the Input Action Asset
Click "Save Asset" in the Input Actions editor.
Modify the PowerQuest scripts
First, you need to modify the "QuestScript.cs" script. Add the following namespaces at the top of the file: