You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nate Roflmao edited this page Nov 29, 2018
·
1 revision
1: Select "Scripts...Input Scripts" on the left pane. Navigate in the path to find the input scripts included in the Adventure Module.
2: Double click all of the Movement Scripts to add them to the project as shown:
3: Click on Input Editor in the left pane. Select "MainGame" and "NULL" and click on the right D-Pad button. Select the script "StartMovingPlayerRight" and "Add Script" to assign this script to the input of D-Pad Right. Continue for other directions.
4: Continue for D-Pad release inputs. In this case, need to "StopMovingPlayerRight". Continue for other directions.
5: In addition to Stop Moving script when D-Pad release, also need to specify to change back to idle animation, as shown below:
6: Select "Export & Test" to check player movement. Player should move around the screen.
7: Adjust the animation speed in the Object Details...Actions...Action Step 2 to adjust the speed of animation while walking: