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

Mouse/touch support #634

Open
fdelapena opened this issue Oct 17, 2015 · 2 comments
Open

Mouse/touch support #634

fdelapena opened this issue Oct 17, 2015 · 2 comments
Labels
Milestone

Comments

@fdelapena
Copy link
Contributor

@fdelapena fdelapena commented Oct 17, 2015

This is mostly a wishlist meta-issue proposal and opened for discussion.

Touch-only devices are not working at all without keys (except current Android on screen buttons native implementation). To bring basic interface support without on screen buttons, the RPG Maker MV HTML5 game demo shows some guidelines about getting a discreet, zero-configuration way to add "decision" and "cancel" and movement by targeting a map tile without arrows or buttons on the screen.

Of course, extra keys are still needed for lots of games, but basic movement with decision/cancel support may help as a good start without needing to create new portable configuration scenes yet, which requires some SDL mouse/touch code in the app first.

Proposed features, based on the RPG Maker MV behaviour:

  • 1st mouse button (usually left click) and 1 finger tap to work as decision key
  • 2nd mouse button (usually right click) and 2 fingers tap to work as cancel key (example)
  • Click / tap over a Window_Item from to select them in a Window_Selectable
  • Tile click/touch for tiles, path finding and generate arrow keypresses to follow the route found (Zegeri's example).

Some facts:

  • Esc/X (Cancel key) acts on message windows waiting for keypress in RPG Maker MV as usual.
  • Any tap, with one or two finger are advancing window messages too. However, when RPG Maker MV is showing window selectables, two finger tap seems to cancel and opens the game menu in the same action.
  • 2nd mouse button click does not act as cancel in window messages.

Extras:

  • Power Mode patch supports mouse with 0002:MCOORDX and 0003:MCOORDY. Maybe is worth to make these games compatible, depending on usage popularity.
carstene1ns added a commit to carstene1ns/easyrpg-player that referenced this issue Oct 7, 2016
- left button => decision
- right button => cancel
- wheel can be used in list selectables
@carstene1ns

This comment has been minimized.

Copy link
Member

@carstene1ns carstene1ns commented Oct 7, 2016

Just started working on this: carstene1ns@9d348aa.
For now enables clicking and scrolling through most selectables.

carstene1ns added a commit to carstene1ns/easyrpg-player that referenced this issue Oct 9, 2016
Related: EasyRPG#634
This is a very naive implementation, as it only checks whether fingers
touch the screen and not where they touch and in which direction swipes
are done or if there are gestures, etc.
carstene1ns added a commit to carstene1ns/easyrpg-player that referenced this issue Oct 9, 2016
- left button => decision
- right button => cancel
- wheel can be used in list selectables
carstene1ns added a commit to carstene1ns/easyrpg-player that referenced this issue Oct 9, 2016
Related: EasyRPG#634
This is a very naive implementation, as it only checks whether fingers
touch the screen and not where they touch and in which direction swipes
are done or if there are gestures, etc.
carstene1ns added a commit to carstene1ns/easyrpg-player that referenced this issue Nov 11, 2016
- left button => decision
- right button => cancel
- wheel can be used in list selectables
carstene1ns added a commit to carstene1ns/easyrpg-player that referenced this issue Nov 11, 2016
Related: EasyRPG#634
This is a very naive implementation, as it only checks whether fingers
touch the screen and not where they touch and in which direction swipes
are done or if there are gestures, etc.
carstene1ns added a commit to carstene1ns/easyrpg-player that referenced this issue Mar 5, 2017
- left button => decision
- right button => cancel
- wheel can be used in list selectables
Mouse support is disabled by default, add a CLI option to enable
carstene1ns added a commit to carstene1ns/easyrpg-player that referenced this issue Mar 5, 2017
Related: EasyRPG#634
This is a very naive implementation, as it only checks whether fingers
touch the screen and not where they touch and in which direction swipes
are done or if there are gestures, etc.
Touch input is disabled by default, add a CLI option to enable
@carstene1ns

This comment has been minimized.

Copy link
Member

@carstene1ns carstene1ns commented Dec 25, 2017

About path finding, just found these today:
https://rpgmaker.net/games/8981/http://www.roguebasin.com/index.php?title=The_Incredible_Power_of_Dijkstra_Maps
https://rpgmaker.net/tutorials/547/
Sure, is not really helpful for us, but the explanations are good IMO.

Ghabry pushed a commit to libretro/easyrpg-libretro that referenced this issue May 22, 2018
- left button => decision
- right button => cancel
- wheel can be used in list selectables
Mouse support is disabled by default, add a CLI option to enable
Ghabry pushed a commit to libretro/easyrpg-libretro that referenced this issue May 22, 2018
Related: EasyRPG#634
This is a very naive implementation, as it only checks whether fingers
touch the screen and not where they touch and in which direction swipes
are done or if there are gestures, etc.
Touch input is disabled by default, add a CLI option to enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.