Resolution Selection
By Dekita and Venka
Description:
This script allows you to pick which resolution you'd like to play the game in. The first time you run a game it will ask you to select a resolution. It will save your selection in the Game.ini file so you never have to select it again. You can still change the resolution while on the Title Screen if you want to. This script was written for the High Res project. The link to the High Res project was close and removed and I haven't been able to find the new link to it. It will work even without the high res dll, however you will not be able to select any resolutions about 640x480. You can select the resolutions that the player can choose from and name them. This script will also work in play tests and battle play tests.
Update: You can now set graphics to display based on the resolution. So you could use the default file for the Title screen when in the default resolution, or display a different title screen for each resolution set up in the script. No more dealing with stretched images or black space around your images. The file's name will need to be the same for all resolutions, just the files location will change. See the screenshot for an example:
Spoiler
NOTE: You don't have to use the image portion of the script if you don't want to. If it doesn't file a file in the resolution sized folder, it was use the default file. There may be some compatibility issues if your image files aren't normally found in the "Graphics" folder. It won't break the script, it just isn't set up to handle images outside of the Graphics folder.
This script was submitted for the Community DLC that you can pick up for free from
here or on Steam. I'm opening this thread for any support issues for this script.
Script:
https://www.dropbox.com/s/5idrcg67s2goklx/ResolutionSelection.txt?dl=0
This is a plug and play script and doesn't need a demo.
Screenshots:
Spoiler
[/url]
[url=https://forums.rpgmakerweb.com/attachments/res2-png.17791/]
Terms of Use:
This script can be use in both commercial and non-commercial games.
Credit must be given to Dekita and Venka.
Known Issues:
- There are some compatibly issues with Mouse scripts.
- It's possible you will get an "RGSS Player stoped working." if the user's graphics card doesn't support the desired resolution!! Keep this in mind when picking a default resolution for the first time the game starts.
本贴来自国际rpgmaker官方论坛作者:Venka处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/resolution-selection-script.33783/