You have a player with TileMovement in your game. You want to create a code that allows you to move the player a number of spaces equal to the number rolled on a dice, for example, if the number rolled is 5, the player will move 5 spaces in any direction, and if the number is 2, the player will move 2 spaces, and so on according to the number rolled. You would control the player with the keyboard instead of automatic movement on the grid. There is a capx file uploaded to Dropbox. Would anyone be able to help?
capx:
dropbox.com/s/0e361stsdtupt24/tilemovment_diceroll.c3p