April 2018
Beginner
468 pages
11h 7m
English
In this example, we will create a floating eight-directional virtual analog stick. First, we will create an eight-directional D-pad that simulates a control stick that moves in the direction the player drags:

Then, we will expand the eight-directional D-pad so that it is floating, which means it will not be visible in the scene until the player presses somewhere in the screen. Then it will appear where the player's thumb is located and perform the eight-direction movement based on the player's thumb dragging.