Mobile HTML5?

Hey!

So I recently got up a Live Demo of my project to see if Github hosting works (Which it does) http://jackus-rm.github.io/

I was wondering, though i've never tried it, how does HTML5 work on mobile? How do they go back? Open the menu? Does it detect a mobile browser and add a menu button?
It's essentially the same as a mobile app, but it loads the content on-demand, and won't store it on the phone itself. The mobile export is nothing but taking the project's HTML5 content, and putting it in an app that just opens the files you give it in a web-enabled view. That's a bunch of big words for: It takes the project and just displays them in a a built-in browser window. That's all it is. The inputs and everything are the same on the web as they are on an app.
It's essentially the same as a mobile app, but it loads the content on-demand, and won't store it on the phone itself. The mobile export is nothing but taking the project's HTML5 content, and putting it in an app that just opens the files you give it in a web-enabled view. That's a bunch of big words for: It takes the project and just displays them in a a built-in browser window. That's all it is. The inputs and everything are the same on the web as they are on an app.
Does it detect you're on a phone and then add a menu button in the corner or something?

Cos mobiles don't have back buttons (That i'm aware of)
It can detect that you're on a mobile phone, yes, but it doesn't add a back button. The default mobile/touchscreen input to go back is to tap with 2 fingers.

While it's nice to have the mobile controls, and they work, they're suboptimal. It'll be a lot better to draw buttons on the screen and listen for input on them.
It'll be a lot better to draw buttons on the screen
No it's not. Virtual buttons are bad and virtual joysticks are beyond infuriating. The worst thing you can do when designing for mobile is to try to replicate physical controls on a touch screen.
No it's not. Virtual buttons are bad and virtual joysticks are beyond infuriating. The worst thing you can do when designing for mobile is to try to replicate physical controls on a touch screen.
As you can tell, this is a divisive issue. If you were going to release a game commercially, I'd suggest offering both as options. Personally, I'm not a fan of either, but I've had more trouble with the default mobile controls in certain circumstances and pine for a way to move through menu options with a virtual d-pad.
As you can tell, this is a divisive issue. If you were going to release a game commercially, I'd suggest offering both as options. Personally, I'm not a fan of either, but I've had more trouble with the default mobile controls in certain circumstances and pine for a way to move through menu options with a virtual d-pad.
The only commercial game I enjoyed on phone had the option to change.

I think I settled on a virtual joypad eventually.
No it's not. Virtual buttons are bad and virtual joysticks are beyond infuriating. The worst thing you can do when designing for mobile is to try to replicate physical controls on a touch screen.
While it depends on the implementation of the virtual controls, the touch controls implemented by default are not very good. When you try to open the menu on the map, you almost always end up moving a couple of tiles because of the slightest delay in the second finger hitting the screen.

Personally I don't think virtual controls are that bad at all. Like I said, it depends on how they're implemented, but I personally think that it can better than the default controls.
As you can tell, this is a divisive issue. If you were going to release a game commercially, I'd suggest offering both as options. Personally, I'm not a fan of either, but I've had more trouble with the default mobile controls in certain circumstances and pine for a way to move through menu options with a virtual d-pad.
I agree that "more options" is almost always a better choice. I also agree that the current touch screen controls aren't very good, but my solution wouldn't be virtual buttons. I would start with integrating smart pathfinding into the movement. Right now you basically have to use it as a virtual joystick centered on the player because RPG Maker's pathfinding is practically non-existent. I would leave right-click menu in because it's handy for mouse but I would add another option for mobile. In a perfect world it would be the back button, but if that's not possible I would settle for a UI button I guess.  I'm not deep enough into it to know how scrolling menus are handled, but I always try to seek options that aren't "poorly emulate a controller." 
It's essentially the same as a mobile app, but it loads the content on-demand, and won't store it on the phone itself. 
There IS a way to tell the mobile device to download the entire game, thus it runs "locally" on the device. Create an appcache manifest.

Tradeoff: You better damn well make sure your game is complete, because the device will NOT ever ask to download it again, as it will only check the appcache file for changes.
Tradeoff: You better damn well make sure your game is complete, because the device will NOT ever ask to download it again, as it will only check the appcache file for changes.
Well not necessarily, you can update the cache manifest to inform the device that content has been changed, and to redownload it. Personally, I still don't think this is the optimal way to create a game that runs on a mobile device.
I agree that "more options" is almost always a better choice. I also agree that the current touch screen controls aren't very good, but my solution wouldn't be virtual buttons. I would start with integrating smart pathfinding into the movement. Right now you basically have to use it as a virtual joystick centered on the player because RPG Maker's pathfinding is practically non-existent. I would leave right-click menu in because it's handy for mouse but I would add another option for mobile. In a perfect world it would be the back button, but if that's not possible I would settle for a UI button I guess.  I'm not deep enough into it to know how scrolling menus are handled, but I always try to seek options that aren't "poorly emulate a controller." 
The ideal solution that you're alluding to is likely a full re-design of the user interface for mobile devices. That's too time intensive to be the first thing someone does in a new project (especially if there's already going to be customization of the non-mobile UI!) but poorly emulating a controller would be a good temporary fix.
The ideal solution that you're alluding to is likely a full re-design of the user interface for mobile devices. That's too time intensive to be the first thing someone does in a new project (especially if there's already going to be customization of the non-mobile UI!) but poorly emulating a controller would be a good temporary fix.
That's also why I think you should select a target platform and focus on that. You can worry about other platforms near the end of development, when you can really assess if the game you've made is even suitable for others. Hell, if you really want to do it right you would need to design it completely for one platform and then design it all over again for the other.
Well not necessarily, you can update the cache manifest to inform the device that content has been changed, and to redownload it. Personally, I still don't think this is the optimal way to create a game that runs on a mobile device.
From experience... it's a rather large hit or miss with getting people to know how to update it. All it takes is setting a misguided "expires in one year" header to prevent it from ever being checked instead of an eTag.

Like "I updated the js files, but my players aren't seeing changes" ... yeah but did you update the cache manifest? "The file was already in it", No did you actually UPDATE it. etc

Hence, better make sure it's effectively complete, because good luck getting people who cached it to update it later. From experience, it's a good way to take something you make offline to show off on a mobile device (or in chrome alone) but as a distribution mechanism, if there is a critical bug, and you ship it, you'd have to get people to delete it off their device to fix it.

Original thread: https://forums.rpgmakerweb.com/threads/mobile-html5.48089/