SodaTears

Villager
Member
Joined
Nov 22, 2020
Messages
7
Reaction score
2
First Language
English
Primarily Uses
RMMZ
Hello, I would like to know if there is a way to reduce the UI scale.
I am trying to make a game with a smaller resolution, which is 11x10 tiles. I am aware that the base game is 17x13 tiles, but this feels too big as I am going for the retro feel with limited tiles on screen.

When I shrink the game below the default resolution though, the UI breaks as seen below. I tried changing the font size but that doesn't change the UI windows and box size. I also tried changing the size to 13x13 but some text still go out of bounds.

UI Too Big 2.PNG

If there are ways to change the UI layout or scale the windows and buttons down, please let me know. Thank you in advance :)
 

Kenen

Veteran
Veteran
Joined
Apr 3, 2012
Messages
341
Reaction score
252
First Language
English
Primarily Uses
RMMZ
There is no UI Scale parameter as you might be imagining it. You would need to individually edit each window and sprite to suit your resolution and layout preferences.
 

SodaTears

Villager
Member
Joined
Nov 22, 2020
Messages
7
Reaction score
2
First Language
English
Primarily Uses
RMMZ
I see, and how do I do that? Does it involve plugins/scripting? If it's not too difficult I would like to know.
 

Kenen

Veteran
Veteran
Joined
Apr 3, 2012
Messages
341
Reaction score
252
First Language
English
Primarily Uses
RMMZ
For starters, take a look at the default JavaScript files. Specifically, rmmz_scenes.js, rmmz_windows.js, and rmmz_sprites.js. Then search for how to create a plugin.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,276
Reaction score
8,360
First Language
German
Primarily Uses
RMMV
Does it involve plugins/scripting?
basically yes.

you would need a plugin that replaces the menu screen.

there are several of those around, but they usually add info and make the menues fit larger screen sizes - I don't know of one that would fit smaller screen sizes.
and that means you might have to commission a custom menu plugin if no one is willing to work on a free request like that.

no matter if free or paid however you need to decide what info to remove from the screen to make it fit. Or what to rearrange to make the same info available in two different screens.
 

SodaTears

Villager
Member
Joined
Nov 22, 2020
Messages
7
Reaction score
2
First Language
English
Primarily Uses
RMMZ
All right, thank you for pointing me in the right direction, Kenen and Andar! I'll try tinkering with the javascript files :)
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,801
Reaction score
14,970
First Language
English
Primarily Uses
RMMV

Moving to Plugin Requests



I would not tinker with the javascript files. If you make any changes to those and a new version of the engine is released (which is happening from time to time atm) and you update your project, all your changes will be lost.

If you want to do it yourself, find the functions you want to change, copy them out and into your own .js file in the plugins folder, and make your changes there. Then add that as a plugin to your game. Updates won't touch it, and in most cases, will not cause them to break either.
 

Latest Threads

Latest Posts

Latest Profile Posts

We're playing one of the Touch the Stars game jam entries, come join us!
Wait wait wait. Is watermelon a fruit?
Huh, 7k downloads of my ****ty icons. That's more then I ever expected xD
User of Mv3d/ Mz3d and Rosse engine. New Resource Pack on development "Halloween Stones" . Leave ideas about what you want to see on this package. :)
SetPreview.jpg
Looking at Code abd knowing that it made sense at one time. Ugh..why did I ever stop? Well I guess it will come back to me.

Forum statistics

Threads
113,549
Messages
1,075,771
Members
147,545
Latest member
milongajr
Top