RPG MV HTML5 Responsive?

Status
Not open for further replies.

shylor

Veteran
Veteran
Joined
Dec 23, 2012
Messages
29
Reaction score
7
First Language
English
Primarily Uses
I was just wondering if anyone was looking into a way to make the game in browser more responsive?
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,517
Reaction score
3,221
First Language
Binary
Primarily Uses
RMMZ
you mean like the autoresize default plugin?...

Edit:

Code:
Graphics._defaultStretchMode = function() {    return true;};
 
Last edited by a moderator:

shylor

Veteran
Veteran
Joined
Dec 23, 2012
Messages
29
Reaction score
7
First Language
English
Primarily Uses
Can you give me a little more info of how to enable this? I don't see this plugin, and I don't know where your code snippet is from or should go.
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,696
Reaction score
935
First Language
English
Primarily Uses
N/A
He was referring to a plugin that was included with the RPG Maker MV demo posted online. If you take the code and put it into a javascript file (text file with the .js extension instead of .txt), and put it in your plugins folder, you can add it through the plugin manager.
 

shylor

Veteran
Veteran
Joined
Dec 23, 2012
Messages
29
Reaction score
7
First Language
English
Primarily Uses
Sweet, I will try it now. :D
 

Xamos

Xamos
Veteran
Joined
Oct 21, 2015
Messages
30
Reaction score
5
First Language
English
Adding that code into a file named Autoresize.js does work, however I didn't see it included with the demo. Well technically the Trial.

Works great though! Will the performance increase and RPG Maker MV moves on?

I am creating and Android game however was hoping to export a version to HTML5 as well, but while this plays in the browser it chops.

What is confusing about this, is that when I press F2 to debug WebGL, it tells me I am getting 33-35 FPS but it just *feels* slow compared to an application.
 

terwilliker

Veteran
Veteran
Joined
Jul 25, 2014
Messages
49
Reaction score
1
Primarily Uses
He was referring to a plugin that was included with the RPG Maker MV demo posted online. If you take the code and put it into a javascript file (text file with the .js extension instead of .txt), and put it in your plugins folder, you can add it through the plugin manager.
Neat, that is great. We need a place to keep track of tips like this.
 

Trjstan

Pretty high right now
Member
Joined
Feb 23, 2014
Messages
11
Reaction score
2
First Language
English
I'm slightly confused on how we export HTML5 in the first place. There isn't a default option in the deployment section.
 

shylor

Veteran
Veteran
Joined
Dec 23, 2012
Messages
29
Reaction score
7
First Language
English
Primarily Uses
@mephistopheles: export as windows and grab the www folder out of the output location. Then just upload the content of www to your website.
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,517
Reaction score
3,221
First Language
Binary
Primarily Uses
RMMZ
dont even need to export, can just grab the files from your project folder and send them :/
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,696
Reaction score
935
First Language
English
Primarily Uses
N/A
I'm slightly confused on how we export HTML5 in the first place. There isn't a default option in the deployment section.
As shylor said, you can either export as windows, or the Android/iOS export also works, and then grab the content files. 
 

Ultima2876

Veteran
Veteran
Joined
Oct 25, 2015
Messages
185
Reaction score
234
First Language
English
What exactly does this do to make is more responsive? Would this work for anything outside the browsers as well? 
It makes it more responsive in the sense that as you resize the browser window the game will resize as well. This is the web development term 'responsive', however, when I think the topic starter actually meant responsive as in better framerate.
 

Kane Hart

Elmlor.com
Veteran
Joined
Jun 27, 2014
Messages
656
Reaction score
166
First Language
English
It makes it more responsive in the sense that as you resize the browser window the game will resize as well. This is the web development term 'responsive', however, when I think the topic starter actually meant responsive as in better framerate.
Ahh yeah. This is great though very important to have. I added it in but right now I can't care about those type of improvements right now. My focus is purely on fps. I'm still trying figure out if I can make mobile game use webgl rather then canvas. 
 

Ultima2876

Veteran
Veteran
Joined
Oct 25, 2015
Messages
185
Reaction score
234
First Language
English
Ahh yeah. This is great though very important to have. I added it in but right now I can't care about those type of improvements right now. My focus is purely on fps. I'm still trying figure out if I can make mobile game use webgl rather then canvas. 
There are lots of people working on the exact same thing. My suggestion (and what I'm also doing) is to just get on and have some fun learning, then in a week or two someone who has a much better idea of how RPG Maker works internally (or maybe just someone who has more free time than I do!) will produce a plugin :)
 

Kane Hart

Elmlor.com
Veteran
Joined
Jun 27, 2014
Messages
656
Reaction score
166
First Language
English
There are lots of people working on the exact same thing. My suggestion (and what I'm also doing) is to just get on and have some fun learning, then in a week or two someone who has a much better idea of how RPG Maker works internally (or maybe just someone who has more free time than I do!) will produce a plugin :)
Yeah it's already happening on reddit by someone or at least trying to. I made a fresh post on that topic:

http://forums.rpgmakerweb.com/index.php?/topic/47116-performance-issues-with-core-js-related-to-tilemaps/
 

Ultima2876

Veteran
Veteran
Joined
Oct 25, 2015
Messages
185
Reaction score
234
First Language
English
Aha, a fellow redditor :) Saw that post on reddit earlier, and was quite shocked at the way tilemaps were implemented to say the least!
 

Trjstan

Pretty high right now
Member
Joined
Feb 23, 2014
Messages
11
Reaction score
2
First Language
English
@mephistopheles: export as windows and grab the www folder out of the output location. Then just upload the content of www to your website.
 I click the index to see how it works and it tells me it failed to load Actors.json
 

Loki2020

Maestro
Member
Joined
Oct 19, 2015
Messages
15
Reaction score
27
First Language
Engrish
Primarily Uses
Trjstan, You may need to upload it to a web server to get that fuctionality to work.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,425
Reaction score
7,710
First Language
German
Primarily Uses
RMMV
@Loki2020, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


And because this is most probably already solved, closing
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.
time for a new avatar :)

Forum statistics

Threads
106,018
Messages
1,018,358
Members
137,803
Latest member
andrewcole
Top