Azgraal

Veteran
Veteran
Joined
Jan 31, 2016
Messages
15
Reaction score
1
First Language
Portuguese
Primarily Uses
Greetings.

I've been working on my first somewhat serious project on RMMV and after toying around a bit with the game on my phone I realised it could be really useful if I could use the physical back key of my phone for any function ingame.


Currently I have it so it doesn't force exit the game, but that's as far as my faint JS knowledge allowed me.

Is there any way to bind the android back key to the 'escape' object from the Input function on rpg_core.js?

Thanks a bunch.
 
Last edited by a moderator:

Ultimatony

Veteran
Veteran
Joined
Jan 6, 2016
Messages
72
Reaction score
6
Not all android phones have a physical back button on the phone, on mine its part of the screen. It hides itself whenever I do something full screen. It would make it harder to play your game on phones like that, unless you can make it stay up.
 

Azgraal

Veteran
Veteran
Joined
Jan 31, 2016
Messages
15
Reaction score
1
First Language
Portuguese
Primarily Uses
Oh yeah, I totally forgot about that, as all the android phones I have available have the physical key. I guess deactivating the key or adding a confirmation query will have to do then...

Thanks for the headsup!
 

Warped_Tales

Veteran
Veteran
Joined
Sep 17, 2016
Messages
47
Reaction score
64
First Language
English
Primarily Uses
N/A
Azgraal: How did you accomplish getting the back key not to force quit? I've been struggling with this for hours. 


Thanks in advance!


Nevermind - I got there in the end :p
 
Last edited by a moderator:

Latest Threads

Latest Posts

Latest Profile Posts

I hate doing voice over videos but people said they like hearing about the details.
Modern Town Overworld, World of Solaria Dungeon, 80's Retro-Futuristic Font | RPG Maker News #73

I been slowing down and not focusing on project currently.
I had this idea for VTubers vs MOTHER and its a bunch of Vtubers finding eight melodies to fight a psychic alien and a fat kid. IDK, kinda find it hard to use RPG Maker for more than 15 minutes
Working on some wizard/magic bases:
TestChara-10-hover.gif

I mean, technically it's a flying base but I haven't made any wings yet, so magic hovering is it for now.

Forum statistics

Threads
112,297
Messages
1,067,159
Members
145,925
Latest member
busbuzz
Top