Mobile controller for shoot em up

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Posts: 10
Joined: Sat Jan 18, 2020 10:12 am

Mobile controller for shoot em up

Post by axehigh » Wed Feb 12, 2020 7:00 am

Id like to add a 'mobile' controller system to a vertical shoot em up game.

Fex want to either move the ship by 'holding the ship' or press on the left and right side to move it left or right.
And also would like to launch missiles or special weapons by pressing a special icon.

Any examples of this somewhere?

User avatar
Party member
Posts: 2050
Joined: Mon Jun 17, 2013 12:00 pm

Re: Mobile controller for shoot em up

Post by raidho36 » Wed Feb 12, 2020 10:13 am

Touchscreen routines return touch coordinates, you can simply move the ship to those coordinates. And you can implement a screen button which will be pushable on a touchscreen.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests