MV performance on android is not that bad.

I heard in many topics and posts around the web that MV Games performance in android was terrible, that complex games would run at 5fps, that it's impossible to have a good performance.

But after testing the "RPG Maker MV WebGL benchmark" app i saw that it isn't that bad.

I ran it in my Vibe k5(Wich has a Snapdragon 616 and 2GB of RAM, so it's a really weak phone) and the only moment i had lag was when i turned on Storm(on max intensity) and created a hundred objects in the map(It went to 10FPS, but was still playable, no crashs) and when it showed effects in 3 different events. Big maps, camera scroll,etc run perfectly well.

There were some loading lags, but those took a 1 or 2 seconds only, then game went back to 60fps.
You can't say "MV performance on Android is bad/good" - the Android OS/platform has almost zero impact on the performance of MV games.

For context, I wrote the MV Android Client project; https://github.com/AltimitSystems/mv-android-client

There are hundreds of thousands of different Android devices out there, all with different specifications. These individual device specifications are what matter, not the Android OS itself. Your experience will definitely be different to anyone else with a different Android device to you; that's how it works.

So people who say "Android performance is bad" are wrong, and also people who say "Android performance is good" are also wrong.

The problem on Android is that many devices do not support WebGL, so they are forced to render in the slower software Canvas methods; this is particularly bad on older phones, as these do not have powerful processors and do not support WebGL, so they have a double whammy of bad performance.

Your phone, "Vibe k5", has an Adreno 405 GPU and it supports WebGL, so all the intensive graphical effects are being offloaded to this GPU (the Snapdragon 616 and 2GB RAM have little to do with your good performance, generally more than 90% of processing happens in graphics, so CPU and RAM are only doing 10% of the processing here).


There's another, bigger issue that plagues MV and is only amplified on Android; the Javascript interpreter is single-threaded. Modern devices, both desktop and mobile, have multiple processor cores to handle concurrent processing - most modern games try to take advantage of this and offload various processing tasks to multiple threads/cores - this isn't possible on MV, so you're depending on one CPU core, which means you're limited to the clock-speed on your processor. Desktop PCs tend to have a clock-speed of 3GHz+ these days (My PC is 4.2GHz), mobile phones have clock speeds of under 2GHz, your Snapdragon 616 is at 1.7GHz. MV has to do everything for an entire frame within that clock speed, on a desktop PC there's extra room for more graphics, events, Plugins, effects, etc - but on mobile you'll be using up the entire CPU (all 1.7GHz of performance) rather quickly due to how slow and CPU heavy Javascript is. Again - this is even worse on Canvas only, WebGL offloads 90%+ of the processing to the GPU.

Basically; bad performance is inherent with MV, in testing we've found that generally the older RPG Maker versions perform better, however MV has hardware accelerated graphics, which makes up for the performance problems - until you hit a platform without hardware acceleration support (some web browsers, some devices, including many different Android devices). If you have good performance, congratulations, means you have good hardware with a good web-engine and hardware acceleration.


I always find it interesting how Android users in general will blame the OS/version for problems, things like "does not work on Android 7.0.0", where 99.99% of the time the OS has nothing to do with the problem, it's almost always an issue with the individual device hardware itself.

Message to Plugin authors; remember to write Canvas compatibility if you want to support any platform beyond the desktop client (web browser, Android, etc). My 3D rendering engine supports Canvas (yeah, really) so you should have at least basic compatibility support for it.


EDIT: If you want to know; the solution to this is to write a dedicated, native Android client that doesn't use web-browsers for rendering, but has a JS interpreter and a GLES based (or even Vulkan based!) rendering engine. This is totally possible and I've already done experiments proving it will work, however I don't have the budget to develop such a project and no-one is interested in funding it, so at the moment I won't be the one who does this.
EDIT: If you want to know; the solution to this is to write a dedicated, native Android client that doesn't use web-browsers for rendering, but has a JS interpreter and a GLES based (or even Vulkan based!) rendering engine. This is totally possible and I've already done experiments proving it will work, however I don't have the budget to develop such a project and no-one is interested in funding it, so at the moment I won't be the one who does this.
Why don't you try using the "Crowdraising Platform Projects" page? Or maybe try talking to someone in the Staff so maybe you can become a developer and receive money(I don't know if they receive :T) to add that(and other things) to a future MV update?
Why don't you try using the "Crowdraising Platform Projects" page? Or maybe try talking to someone in the Staff so maybe you can become a developer and receive money(I don't know if they receive :T) to add that(and other things) to a future MV update?
Well, why bother writing a new dedicated native mobile client when the current solutions already work good-enough? It's all very well my studio not having the budget to fund an endeavour such as this one, but I doubt anyone will want to fund such a project considering Android/iOS support already exists and works good-enough.

It's hard to justify asking anyone for funding towards this problem - it's really not worth it.

My measurement of how much value people put towards MV mobile platforms is the donation button on that github for the MV Android Client (which goes towards developing additional compatibility/performance enhancements for the MV Android Client). It's received $0 so far - people really don't care about this, it won't get developed because it works good-enough. I'm okay with that.
From what I have heard, currently more than 50% of android devices support WebGL at least experimentally. iPhone overslept with webGL and currently only iPhone8 and X support WebGL (but not at all badly).

The most iconic examples are Samsung galaxy S5, S6 and S7. None of these are by any means weak. However, S6 phones are rebellious towards MV games. And what is worse, thanks to its' complete lack of WebGL support and its' graphics create huge glitches even in canvas mode. S5 runs MV with slightly off colored graphic, because WebGL support, while it is present, is not perfect. And S7 has no problem with WebGL at all.

My tablet supports WebGL without troubles too and I can run an MV game there. However, it's not like I even want to bother releasing a game on android market. Because 1. it breaks some plugins, 2. you need to support devices, not operation systems... And Google play store is so overwhelmed with junk games that you have no real chance of making it through UNLESS someone literally searches for the JRPG niche. I'm not even worried about core power or RAM, since from Android 5.0 onwards the RAM is handled by ART system, which keeps it reasonably empty (okay, unreasonably, since it's not really healthy for android devices to have empty RAM).
From what I have heard, currently more than 50% of android devices support WebGL at least experimentally. iPhone overslept with webGL and currently only iPhone8 and X support WebGL (but not at all badly).
You mean only iphone 8 and X or only their version of iOS? If someone using iphone 6(example) update it to the last iOS version wont it run MV games that require webgl?
I mean only iPhone 8 and X. Version of iOS doesn't change the hardware's ability to handle GPU, so older devices will run only games that run on canvas.
Fun fact: A couple of years ago there were huge complaints about GPU of iPhones (it was way behind in development), so to catch up with the concurrence, Apple spent millions of dollars to make a superior GPU for iPhone X.
I mean only iPhone 8 and X. Version of iOS doesn't change the hardware's ability to handle GPU, so older devices will run only games that run on canvas.
Fun fact: A couple of years ago there were huge complaints about GPU of iPhones (it was way behind in development), so to catch up with the concurrence, Apple spent millions of dollars to make a superior GPU for iPhone X.
Hey i found that since iOS 8 iphones can run webgl games
(what means since 2013)

Are you sure about what you said?
iOS 8 brought the software to handle WebGL. But if your graphics card (or in this case chip) doesn't support WebGL, it's redundant.
I'm sure iPhone X and 8 can. I'm not entirely sure about iPhone 7... But iPhone 6 cannot, even if they upgraded the OS.

Original thread: https://forums.rpgmakerweb.com/threads/mv-performance-on-android-is-not-that-bad.88030/