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
2 of 4 tasks
fdelapena opened this issue Oct 17, 2015 · 2 comments
Open
2 of 4 tasks

Mouse/touch support #634

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

Comments

@fdelapena
Copy link
Contributor

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.
@Ghabry Ghabry modified the milestone: 0.6.0 Feb 19, 2016
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
Copy link
Member

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
Copy link
Member

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
@Ghabry Ghabry modified the milestones: 0.7.1, 0.7.2 May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants