- Home /
2D Vertical Shooter Joystick Setup
Hi, trying to make a top-down shooter and I got some problems setting the virtual joystick(s) to control the ship (character). It works well for a dekstop version (with Input.GetAxis ("Horizontal"), even on iPhone with accelerometer, but can't make it work with joystick. I just need a joystick (left side) to control the ship movement (2D) and a fire button on right. Any suggestions on how to implement these? Tried some iPhone control prefabs that came with Unity (as dual joysticks, etc) but can't make it to work. Are the any other steps involved beside adding the prefab to the scene or assigning the script to the main character (player)? Thanks
Your answer
![](https://koobas.hobune.stream/wayback/20220613113628im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can an UI Element know on which 3D Object it is pointing? 1 Answer
Best Unity configuration for 2D games on iPhone 1 Answer
How Can I Rotate My 2D Top-Down Character Rotation With Mobile Joystick? 0 Answers
How to control a 2d character in an top-down android game with the standard joystick? 1 Answer