RMMV Takeya Kimura's slot machine - resolution issue

jsn2001

Villager
Member
Joined
Mar 10, 2014
Messages
22
Reaction score
1
First Language
English
Primarily Uses
I'm hoping to use the SlotMachine.js plugin by Takeya Kimura that comes with RPG Maker MV for my game, but my game's resolution is 1280x720, while the plugin is designed for the default resolution of 816x624, so the graphics for the slot machine are heavily misplaced. Does anyone know how to fix this? Thank you in advance.
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,676
Reaction score
1,797
First Language
Dutch
Primarily Uses
RMMV
you can check the params, else inside the plugin, search for the windows
that has graphixbox.width and heith and return those to numbers (fixed)
as well replacing the x, y of it to place it correctly.

those are the basics to resize and repositioned.
I dont know hte plugin further, but if you have a link, I can take a look.
 

jsn2001

Villager
Member
Joined
Mar 10, 2014
Messages
22
Reaction score
1
First Language
English
Primarily Uses
you can check the params, else inside the plugin, search for the windows
that has graphixbox.width and heith and return those to numbers (fixed)
as well replacing the x, y of it to place it correctly.

those are the basics to resize and repositioned.
I dont know hte plugin further, but if you have a link, I can take a look.

Unfortunately editing the plugin has proven too difficult for me, even heeding your advice :(
The plugin should have been added to the dlc folder in MV's directory with an update, but I think it can also be downloaded from here.
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,676
Reaction score
1,797
First Language
Dutch
Primarily Uses
RMMV
I checked out the plugin and it's windows, it's more complicated than
I hope it would be.

I see only 1 window to adjust, the rest are x, y in their functions, so I have
no idea how to deal with this one.

the only thing I can tell (if it doesn't reak) is remove x,y in the function (x,y)
and replace the x,y in the function to numbers (this might get a error crash).

While I dont know how the plugin exacly work, someone with knowledge
can help you out of resizing and reposition the windows correctly.

I'm still new to JS, but I don't use it this way in the slotmachine.
 

jsn2001

Villager
Member
Joined
Mar 10, 2014
Messages
22
Reaction score
1
First Language
English
Primarily Uses
I checked out the plugin and it's windows, it's more complicated than
I hope it would be.

I see only 1 window to adjust, the rest are x, y in their functions, so I have
no idea how to deal with this one.

the only thing I can tell (if it doesn't reak) is remove x,y in the function (x,y)
and replace the x,y in the function to numbers (this might get a error crash).

While I dont know how the plugin exacly work, someone with knowledge
can help you out of resizing and reposition the windows correctly.

I'm still new to JS, but I don't use it this way in the slotmachine.
I gotcha. Thank you for taking a look. I couldn't get it to work, so I suppose I'll wait and see if someone comes along who knows how to fix this, while I keep awaiting a miraculous event in which my brain expands greatly and I suddenly know how to fix the issue myself (and then die shortly afterwards of health complications caused by aforementioned sudden brain expansion.)
 

SilverEagle

Sky Surfer
Member
Joined
Jul 12, 2020
Messages
4
Reaction score
0
First Language
English
Primarily Uses
RMMV
I'm having the same problem. My games resolution is 1104x624, which has positioned the slot machine to the far left. I've looked at the plugins script from top to bottom and can't figure it out.
Hope someone comes along with an answer. :)
 

Latest Threads

Latest Profile Posts


It's a Spanish devlog don't get scared!.
Just read the forum rules just for kicks and rule 14 reminds me of this:
150.jpg
I'm in the process of converting all locks and intimidate/persuade dialogue options into D20 DC based success/fail (modified by player skill). Before, it required a certain flat amount you had to meet, but with rolls, it offers more freedom. For instance, you can repeatedly try to unlock a door instead of just not meeting the requirement to unlock it.
Since we get very close: If you want to enjoy the advent calendar as it is intended, wait til your date and the day in the URL line up, so you have the final day on actual christmas and not the day before... time zones ;3
1638170340913.png
Crossover Inn is getting very crowded, and I love it

Forum statistics

Threads
117,050
Messages
1,104,154
Members
153,011
Latest member
SauloRPGMaker
Top