Airship (Simple Scaling)

hajimehoshi

メンバー
Veteran
Joined
Oct 27, 2015
Messages
35
Reaction score
33
First Language
Japanese
Airship (Simple Scaling) (ver 0.1.0)
Hajime Hoshi

Introduction / Features

This plugin enables to scale a map when using a airship like FF4.

Screenshots



How to use

Install the plugin HajimeHoshi_AirshipSimpleScaling.js (see Script clause).

(Parameters)

Max Scale: The drawing scale when the airship is in the highest position. The default is 2.

Demo

http://tkoolmv.net/Games/hajimehoshi/airship_simple_scaling_demo/

Script

https://github.com/hajimehoshi/rpgmmv/blob/master/HajimeHoshi_AirshipSimpleScaling.js

FAQ

Q. Parallax doesn't work well with this plugin.

A. This is a known bug. I'll fix this when I'm available. Pull requests are welcome anytime!

Q. It's too heavy on my machine.

A. Please adjust the parameter 'Max Scale' like 2 to 1.5. I don't recommend to use a bigger number than 2.

Q. Do you plan to implement FF5 version of this? (pseudo perspective by raster scrolling)

A. Yes, probably.

Q. Do you plan to implement FF6 version of this? (much richer perspective)

A. I'd like to, but not sure it's possible.

Special Thanks

@tkoolmv for a great advice!
 
Last edited by a moderator:

Aidensmercy

Veteran
Veteran
Joined
Oct 29, 2015
Messages
121
Reaction score
24
First Language
english
It's not working at all for me.

Is there anything I need to do to set it up at all, or is it just turn the plugin on and get in the airship? 
 

hajimehoshi

メンバー
Veteran
Joined
Oct 27, 2015
Messages
35
Reaction score
33
First Language
Japanese
Thank you for trying.

>  is it just turn the plugin on and get in the airship? 

Yes, it should be.

What can you see on the console (you can open console by pressing F8 on the player)?
 
Last edited by a moderator:
Joined
Mar 9, 2013
Messages
224
Reaction score
25
First Language
Spanish
Primarily Uses
N/A
If you can do that the airship is not scaled and hides the shadow, much better :)

EDIT: Nvm, hide the shadow is a bad idea, it points where you will land.
 
Last edited by a moderator:

hajimehoshi

メンバー
Veteran
Joined
Oct 27, 2015
Messages
35
Reaction score
33
First Language
Japanese
If you can do that the airship is not scaled...

Good suggestion. Let me consider. Thank you.
 

hajimehoshi

メンバー
Veteran
Joined
Oct 27, 2015
Messages
35
Reaction score
33
First Language
Japanese
It's not working at all for me.

Is there anything I need to do to set it up at all, or is it just turn the plugin on and get in the airship? 
I found a bug when you try to use this plugin with an existing save data. It's already been fixed. Maybe you saw a black screen?
 

Aidensmercy

Veteran
Veteran
Joined
Oct 29, 2015
Messages
121
Reaction score
24
First Language
english
What can you see on the console (you can open console by pressing F8 on the player)?
I didn't know about the console before, thanks for that.

here's a pic of it.

 

hajimehoshi

メンバー
Veteran
Joined
Oct 27, 2015
Messages
35
Reaction score
33
First Language
Japanese
Last edited by a moderator:

Aidensmercy

Veteran
Veteran
Joined
Oct 29, 2015
Messages
121
Reaction score
24
First Language
english
Wow! that makes me look pretty dumb, when i opened up the .js file it looked nothing like that, i dont know what happened when i copied it the first time but copying the raw data like that worked.

I'm sorry for all the trouble, especially since it was my dumb issue. thank you very much. 

it does make my game lag alot though, is there a way to fix that? even when im not in the airship.

I wonder if that unleash plugin is having the same issue then.
 
Last edited by a moderator:

hajimehoshi

メンバー
Veteran
Joined
Oct 27, 2015
Messages
35
Reaction score
33
First Language
Japanese
Wow! that makes me look pretty dumb, when i opened up the .js file it looked nothing like that, i dont know what happened when i copied it the first time but copying the raw data like that worked.

I'm sorry for all the trouble, especially since it was my dumb issue. thank you very much. 

it does make my game lag alot though, is there a way to fix that? even when im not in the airship.

I wonder if that unleash plugin is having the same issue then.
I'm really glad to hear that this plugin worked well in your game. The plugin makes the map rendering slow and this is a known issue. As I mentioned in the first post, please adjust 'Max Scale' parameter (like 2 to 1.5). This parameter means how much the map is magnified. The less the value is, the quicker the rendering will be.

Rendering a map is heavy. To make rendering more effective, I'd need fixing Bitmap class in rpg_core.js or other fundamental classes. (I've found Bitmap.prototype.blt's implementation is not efficient because this calls Canvas's drawImage which is not WebGL). This fix is not easy, but I wanna try this in the near future.
 
Last edited by a moderator:

Aidensmercy

Veteran
Veteran
Joined
Oct 29, 2015
Messages
121
Reaction score
24
First Language
english
Thanks, switching from 2 to 1.5 works good. 
 

JohnnyR

Dungeon Master
Restaff
Joined
Mar 27, 2013
Messages
275
Reaction score
135
First Language
English
Primarily Uses
RMMV
Great plugin, it works flawlessly! :D
 

HintonR

Veteran
Veteran
Joined
Mar 2, 2016
Messages
197
Reaction score
25
First Language
English
Primarily Uses
RMMV
Hi there.
 


There seems to be issues with Soul's Camera Scroll EX where some the camera gets a bit wonky and the airship stays in the upper left quadrant instead of staying centered. Is there a way to fix?


Thank you.
 

hajimehoshi

メンバー
Veteran
Joined
Oct 27, 2015
Messages
35
Reaction score
33
First Language
Japanese
Thank you for your reporting. I'm afraid I don't plan to guarantee this plugin working well with other plugins since it is practically impossible.
 

HintonR

Veteran
Veteran
Joined
Mar 2, 2016
Messages
197
Reaction score
25
First Language
English
Primarily Uses
RMMV
No problem. Thank you for writing it still. It's gives really nice mood when riding the airship. :3
 
Last edited by a moderator:

Vito The Boss

Someone better than you, or will become
Veteran
Joined
Nov 1, 2016
Messages
175
Reaction score
64
First Language
Italiano
Primarily Uses
HI! The Demo can't be found. Could you fix it, please?
 

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

Latest Threads

Latest Posts

Latest Profile Posts

i watched the sonic movie it was pretty good i hope they make a sequel
tomorrow I'ma go on a cruise for the first time ever... lets hope I'll survive the experience!
Omg! 8 years in this forum :o
Ksi
Streaming the last of the RMN Valentiny event games so feel free to drop on by and watch me cry (whether that's from laughter, rage or sheer pain, who knows?)
Today I went to sleep without setting an alarm, so I could sleep more than 2 hours. I woke up after 2 hours.

Forum statistics

Threads
94,318
Messages
919,856
Members
124,064
Latest member
kt040
Top