Resolution Selection Script

Gothic Lolita

YouTube Starlet
Veteran
Joined
Oct 21, 2014
Messages
1,132
Reaction score
197
First Language
German
Primarily Uses
RMMV
I allready start to feel bad about bothering you so long. *blushes*
I upload the project to Google Drive and send you the link, you're to good to me helping even after that long time.
The "Himawari Title Screen" script wasn't implemented, when I testplayed, because it uses separated graphics and that doesn't work of course with simple editing.
The Resolution script works perfect fine, only the "new game+" doesn't want to work...
It only crashes, when the switch for the new game plus is pressed. Without activation everything works. (\s/)

https://drive.google.com/file/d/0B4akh5ySzEN2VmRjT21sV3VGZzA/view?usp=sharing
 

HalestormXV

Deranged
Veteran
Joined
Apr 10, 2013
Messages
99
Reaction score
12
First Language
Sarcasm/English
Primarily Uses
N/A
Venka, i am using a custom tittle scene script by Moghunter, which allows to set an image and its X,Y coordinate in the tittle scene. So is there a way to add this option instead of just writing the resolution command in the following method?

SNIP
I myself am also using MogHunter' script. I know there are quite a few out there. This happens to be the one I am using: http://pastebin.com/0jrMRwbk

It does use X and Y, but I am not sure if it is the same one. But I can't seem to figure out how to get the commands to center on the screen.
 
Last edited by a moderator:

Venka

Veteran
Veteran
Joined
Jun 20, 2012
Messages
945
Reaction score
365
First Language
English
Primarily Uses
So I'm not sure if I'm missing something? I tried your script with the resolution script. It took me a while to find the graphic images needed.. but it worked fine for me with no issues.

As for your x, y positions try out this:

https://www.dropbox.com/s/89wjrr1qvmwri9k/title.txt?dl=0

that centers it horizontally and vertically. You can edit/fine tune them at line 402. You'll have to turn on a lot of the bells and whisles again as I didn't want to search forever for graphics. So particle effects and layers and such are all turned off.
 

HalestormXV

Deranged
Veteran
Joined
Apr 10, 2013
Messages
99
Reaction score
12
First Language
Sarcasm/English
Primarily Uses
N/A
Oh I'm sorry. I should have mentioned it in the snip. I don't use the images lol. I have custom fonts that I happen to like better than images lol. Sorry about that. I only used the text that it draws. Thank you so much. I will be able to test it once I get back today.

May I ask, since I like to tinker, and pardon me for sounding ignorant with this but I truly do want to learn. What exactly did you change to make sure that no matter what resolution it would be set at it would always center? How do you calculate that? My ruby knowledge is terribly insufficient and I have a few scripts that I would like to tweak to try and get this effect. 
 
Last edited by a moderator:

Venka

Veteran
Veteran
Joined
Jun 20, 2012
Messages
945
Reaction score
365
First Language
English
Primarily Uses
Usually you can tell size of the playing screen by doing "Graphics.width" and "Graphics.height" So if you want to make a window that covers the whole screen no matter what resolution is being used, then you do something like
 

@big_window = Window_Base.new(0, 0, Graphics.width, Graphics.height)I'm not sure if you've played around with making windows yet or not. But that above would just make a big blank window that covers the screen, starting at x/y position 0. So normally in customize sections you can use the Graphics.width and .height, however with the resolution script it treats it a bit differently because the resolution get's changed after the game starts, so that's why I had to do the setting in the script itself instead of in the customize section.
 

Gothic Lolita

YouTube Starlet
Veteran
Joined
Oct 21, 2014
Messages
1,132
Reaction score
197
First Language
German
Primarily Uses
RMMV
I think, I may should have mentioned it here too, that the problem is solved by Venka.
I kinda feel bad now, because I thought she knows it allready, because she helped me with PM solving the problem. 
It's all fixed so far I could watch into my project, thank you again everyone and I feel really sorry, that I forgot about that. :'( (\s/)
 

HalestormXV

Deranged
Veteran
Joined
Apr 10, 2013
Messages
99
Reaction score
12
First Language
Sarcasm/English
Primarily Uses
N/A
Hey there, I have a quick and probably simple question. I want to try and add a warning to this script under the commands to select the resolution. How can I go about making a slight modification where the last two sizes in my array (mine happen to be 1024x640 and 1344x768) will appear in red text color instead of your default text color. And then once the command list is created, at the bottom new text is drawn that says something simple like:

"Resolutions in red are considered unstable using the High Resolution DLL and may cause unexpected crashes."

It sounds like it would be a simple modification but is it?
 

HalestormXV

Deranged
Veteran
Joined
Apr 10, 2013
Messages
99
Reaction score
12
First Language
Sarcasm/English
Primarily Uses
N/A
Strange, it seems to work, however every-time I go to save my project a rather peculiar error occurs. It says Failed to Create Project and then I click okay and I can play the game just fine, however I find that a Game.ini file auto creates itself on my desktop. It only occurs after installing this edit. If I revert back to the one before this edit that doesn't happen.

Maybe it was because I was using the steam project? It seems that while using the standard RPG Maker VX Ace this error doesn't occur? Thoughts?

EDIT: Scratch that - even after compiling my game including the RTP and then trying to save the project same thing occurs? I am thoroughly confused.
 
Last edited by a moderator:

Venka

Veteran
Veteran
Joined
Jun 20, 2012
Messages
945
Reaction score
365
First Language
English
Primarily Uses
This is strange. I have a copy of steam and a digital non-steam copy. I'll see if I can figure it out. And it only does it with the changes I made last night? If so that makes even less sense. I only changed font color and added a bitmap so text could be drawn outside of the window (and the bitmap is disposed when the scene closes)..

I'll see if I can get it to happen and trace it down.

edit: I'm not able to get this error. What other scripts are you using?
 
Last edited by a moderator:

HalestormXV

Deranged
Veteran
Joined
Apr 10, 2013
Messages
99
Reaction score
12
First Language
Sarcasm/English
Primarily Uses
N/A
I am using a huge amount of other scripts. I think it must be somewhat related to the fact I develop my games in the cloud. I use OneDrive to develop all of my games. My only though that is when I reverted my scripts back I messed up a time stamp somewhere so it is all over the place. It did only happen when I added in your modified script HOWEVER all I did was in doing some testing swapped out the Data/Scripts to an older version just to do some testing. So effectively that reverted all my scripts back and then I re-added your modification. So somewhere in there the time-stamp that the cloud uses must've gotten messed up. 
 

Venka

Veteran
Veteran
Joined
Jun 20, 2012
Messages
945
Reaction score
365
First Language
English
Primarily Uses
eek. I have no idea about fixing that. You might be able to start another thread in support if it's still bugged out
 

HalestormXV

Deranged
Veteran
Joined
Apr 10, 2013
Messages
99
Reaction score
12
First Language
Sarcasm/English
Primarily Uses
N/A
Yeah its no biggie. I packed up the game and included all the RTP and then extracted it with the .exe and stored it on a Flash Drive. And moved it over to a computer and am working on it outside of the cloud and the error seems to have disappeared. So it has/had something to do with my cloud development workspace. I appreciate you looking into it though. 
 

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,326
Reaction score
1,286
First Language
Finnish
Primarily Uses
RMMV
Hey, I have a problem. My monsters are brought from the normal Battlers folder instead of any of the resolution specific ones at certain resolutions like 737x576, though still working on stuff like 1024x768 and 1344x768 
 

Venka

Veteran
Veteran
Joined
Jun 20, 2012
Messages
945
Reaction score
365
First Language
English
Primarily Uses
I'm trying to  understand (sorry I have a bit of a migraine so sorry if I seem a bit dense). You want to use the resolution specific folders for most of your images, but not the battlers one?

I thought I had it set up to check if a folder was made for them.. like Graphics/Battlers/737x576 and if it didn't find a image in that folder by the named, then it'd check the Graphics/Battlers for it.
 

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,326
Reaction score
1,286
First Language
Finnish
Primarily Uses
RMMV
No, no. I want to use folders for battlers and all but it's not registering some of the resolutions battler folders.
 

Venka

Veteran
Veteran
Joined
Jun 20, 2012
Messages
945
Reaction score
365
First Language
English
Primarily Uses
Wierd, ok I'll look into it and see if I can figure out what's going on
 

SpacemanFive

Meteor Mage
Veteran
Joined
Jun 25, 2013
Messages
207
Reaction score
24
First Language
English
Primarily Uses
RMMZ
I was hoping someone would make a resolution selection script! Thank you, Venka!

Couldn't get access to the high-res script/dll project so I could test it out. The link you provided goes to your profile page instead.

Currently using Gab!'s script so I can test your script out. The script works great from what I've seen so far!

Can the resolution selection menu be called by another script as a sub-option? My intent for my projects was to have the resolution selection be accessed via a separate "options menu" script. I take it all a script like this would need is the ability to call on another menu scene to be able to call on your script's resolution menu?
 
Last edited by a moderator:

Venka

Veteran
Veteran
Joined
Jun 20, 2012
Messages
945
Reaction score
365
First Language
English
Primarily Uses
Oops! I forgot that thread go close recently since it was no longer in beta testing. I'll see if I can find a new link for it. And yeah I can do the adjustment easily enough. Are you using Yanfly's system options or something like that so you can call a common event or tell it the scene's name to call?
 

SpacemanFive

Meteor Mage
Veteran
Joined
Jun 25, 2013
Messages
207
Reaction score
24
First Language
English
Primarily Uses
RMMZ
Oops! I forgot that thread go close recently since it was no longer in beta testing. I'll see if I can find a new link for it. And yeah I can do the adjustment easily enough. Are you using Yanfly's system options or something like that so you can call a common event or tell it the scene's name to call?
Thanks for sending me the link. Sorry it's taken me a while to reply.

Actually, I'm not entirely sure what script to use yet for an options menu. I was originally thinking of using a method similar to in Yanfly's Menu Engine for calling a scene from another menu, but I'm still not sure what options menu script I'd like to use the most, so I don't know if what script I'd end up using would have that capability. I may have to make a request for a new one. ._.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top