Touchpad and Mobile UI improvements #35

Closed
opened 2021-06-14 05:04:34 +00:00 by kirsle · 0 comments
  • On-screen controls for Play Mode. 4 arrows + Use button.
  • Pan controls for level editor

Touch Controls for Play Mode

Status: Done.

Implemented in 489a43ea8c

In Play Mode, the entire screen becomes a touchable surface.

The very middle of your screen (96x96 box or so) is the "Use" button and a deadzone to directional controls.

The whole rest of the screen moves the character left, right, down or jump if you are touching further in that direction than the nearest edge of the middle box.

When gameplay is idle, hint boxes appear, the middle hint is the size of the middle box to get your bearings.

Pan the level editor

In c2c91e45a9 the middle-click mouse button can drag and pan the level editor.

For the least disruption, add support enough for SDL2 multitouch gestures and consider a two-finger scroll to be equivalent to the middle mouse drag.

* [x] On-screen controls for Play Mode. 4 arrows + Use button. * [x] Pan controls for level editor ## Touch Controls for Play Mode **Status:** Done. Implemented in 489a43ea8c45420716491901aeddbac7513301d4 In Play Mode, the entire screen becomes a touchable surface. The very middle of your screen (96x96 box or so) is the "Use" button and a deadzone to directional controls. The whole rest of the screen moves the character left, right, down or jump if you are touching further in that direction than the nearest edge of the middle box. When gameplay is idle, hint boxes appear, the middle hint is the size of the middle box to get your bearings. ## Pan the level editor In c2c91e45a96857bf207a7d15ff2408dadff6adb8 the middle-click mouse button can drag and pan the level editor. For the least disruption, add support enough for SDL2 multitouch gestures and consider a two-finger scroll to be equivalent to the middle mouse drag.
kirsle added the
enhancement
label 2021-06-14 05:04:34 +00:00
kirsle changed title from Mobile UI Improvements to Touchpad and Mobile UI improvements 2021-10-05 03:51:59 +00:00
kirsle added this to the Itch.io Launch milestone 2021-10-05 05:06:03 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SketchyMaze/doodle#35
There is no content yet.