Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial touch controls implementation #1160

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

NyakoFox
Copy link
Contributor

Changes:

This PR adds touch controls to the game. While not being the prettiest UI-wise, it makes it possible to play the game using touch controls, making testing on mobile devices much easier. This PR will be followed up by other PRs which implement more features, such as:

  • Menus converted to a mobile-friendly format
  • Additional gameplay control styles (Not just D-pad)
  • The touch control tutorial
  • Saving when you touch a checkpoint
  • Level editor controls

Supersedes #1142.

Legal Stuff:

By submitting this pull request, I confirm that...

  • My changes may be used in a future commercial release of VVVVVV
  • I will be credited in a CONTRIBUTORS file and the "GitHub Friends"
    section of the credits for all of said releases, but will NOT be compensated
    for these changes unless there is a prior written agreement

@InfoTeddy InfoTeddy self-assigned this Mar 23, 2024
@NyakoFox NyakoFox force-pushed the touch-initial branch 2 times, most recently from 6f47455 to adff529 Compare April 11, 2024 23:08
@NyakoFox NyakoFox mentioned this pull request Apr 12, 2024
2 tasks
@NyakoFox NyakoFox mentioned this pull request Sep 30, 2024
9 tasks
@NyakoFox
Copy link
Contributor Author

I've rebased and pushed -- do note that I don't have any apple devices so I'm unable to test for iOS.

AllyTally and others added 7 commits November 23, 2024 18:21
This commit adds virtual buttons on-screen to let you navigate through
menus, and play the game.
Touch input automatically "disables" when you press a key on your
keyboard. The back button on Android counts as a key press, so let's
just ignore it.
For some reason, the code that handled button presses for the ingame
menu checked the confirm button in the wrong places.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants