#Directional Pad

1 messages · Page 1 of 1 (latest)

regal herald
#

I need to make a 8 bit RPG level but I don't really know how to make UI control the player. No I am not talking about control UI

#

This is what I'm trying to do:

cunning glacier
mint quarry
#

Make 4 buttons
Up
Down
Right
And left

#

Add tappable component to all of the buttons and put this script on when tapped

#

Basically, the (), () are vectors, so for the up button:
(0) (1)
Down :
(0) (-1)
Left:
(-1) (0)
Right:
(1) (0)

#

For the when released event you just put:
Execute Player.main actor. Current actor. Stop moving