CameronJung / ChopperTankFlak

A simple rock-paper-scissors strategy game
0 stars 0 forks source link

Create a touch screen compatible interface for tracing unit commands #27

Closed CameronJung closed 2 months ago

CameronJung commented 3 months ago

Since touch screens don't have a cursor a new method of ordering units will need to be implemented.

CameronJung commented 3 months ago

Off the top of my head the way this should work is that the user touches a unit and holds their finger. Then the user traces the order like you would your mouse cursor, and releases their finger to confirm.

CameronJung commented 3 months ago

Another method, and probably much better method would be that an initial touch just selects a tile/unit. A second touch will begin tracing a command, the command will be confirmed upon releasing the touch.

CameronJung commented 3 months ago

Regardless of the method above, it might be a good idea to prompt the user to confirm the order before executing it.

CameronJung commented 3 months ago

After getting my environment set up to test on android devices I discovered that a second tap on an accessible tile can order the unit. As such I am bumping the priority down to medium.