2D aiming on mobile

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By malekbz

I’m currently making a game, Myplayer shoot bullets and to assist him I create a sprite in the front of the player to help him sinep well and this sprite follow mouse position, now I’m trying to export my game to android platform, So I’m stuck here, When playing the game using mobile, How can the player aim now???

Unless I misunderstood the question.

Mouseposition = phone touch position

ramazan | 2022-08-01 15:01

Yes you’re right, but then I can’t aim on the phone because on pc the hole screen is for aiming but on the phone it must be a small place like most of the games half of the screen is for movement and the other half is for aiming , so i can’t use the hole phone screen for aiming

malekbz | 2022-08-01 17:44

Has the question already been answered? If compatible with your game, just use a virtual controller/joystick. :slight_smile:

Star Frog | 2022-08-02 10:53