Has anyone here made a twin touch (not analogue stick) 360 shooter?
What I mean by 360 is that the player can fire in 360 degrees i.e. any angle. Like geometry wars……
So I am endeavouring to make a twin touch 360 Shmup
and have come across a potential game stopper
When making those small virtual analogue sticks we are limited by the resolution of the touch screen / digitiser.
The virtual throw of the stick is measured in touch screen “pixels” and has to be reasonably small. In my case I think the xy throw is around +-30 x/y
As angles can only be calculated to the touch resolution. The small resolution of the virtual analogue stick severely limits the number of angles a gun can be pointed in.
It becomes especially visually apparent when dealing with lasers which is what I have seen in my game
i.e. it is actually impossible to have aiming in full 360 degrees.
It is more like you can only fire at 10, 20, 30, 40 degrees etc but not in between these angles.
So you basically cannot aim properly in 360 degrees if you use touch.
I’m at work now but will try to put a capx up later to demo
to visualise if you can imagine a touch stick where the xy throw is only +- 2 pixels x/y
you will have a 4x4 grid with 0, 0 in the middle
if you set a circular max throw at 2 i.e. sqrt(x^2+y^2)<2
then you can only have 8 potential angles that you can fire in.
which are defined as
(2,0) [0 deg], (1,1) [45 deg], (0,2) [90 deg], (-1,1) [135 deg], (-2,0) [180 deg], (-1,-1) [225 deg], (0,-2) [270 deg], (1,-1) [315 deg]
Even if you move your thumb on the screen perfectly smoothly these are the only angles you can fire at.
Is there any way around this limitation or has anyone tried a 360 shooter on touch any ideas you could throw my way?