OpenExeFileAndWait (vs) ChangeDisplayResolution

This forum is meant for people to share their knowledge by writing their own tutorials for Adventure Maker.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

OpenExeFileAndWait (vs) ChangeDisplayResolution

Postby time-killer-games » Sat Mar 12, 2011 9:25 pm

Edit: Version 2 now available, rename your game to "run.exe" then compile the exe, placing this version in the same directory as your project prior to compilation. The ChangeResolution program will run your game automatically.

With most games when it is in full screen, the Esc key restores it to the normal resolution.

After downloading, you may now use the OpenExeFileAndWait method to change the resolution to whatever suits your game's pixel height/width best.

The benefit? - you may press the Esc key to close the invisible application that changes the resolution, thus setting it back to normal.

Here's ther resolutions included:

640x480
800x600
1024x768
1280x1024 (NEW!)

Download:
http://members.cox.net/time-killer-game ... lution.zip

V2 Download:
http://members.cox.net/time-killer-game ... tionV2.zip

Have fun!
TKG
Last edited by time-killer-games on Tue Mar 15, 2011 6:58 pm, edited 1 time in total.
User avatar
time-killer-games
Expert Member
 
Posts: 400
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Postby reneuend » Sun Mar 13, 2011 2:42 am

nice!
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2690
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby Lyberodoggy » Sun Mar 13, 2011 2:19 pm

Could you please make it support custom resolutions or at least 16:9 aspect ratio resolutions?
User avatar
Lyberodoggy
Administrator
 
Posts: 2519
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

Postby time-killer-games » Mon Mar 14, 2011 2:36 am

Believe me, I would if I knew how, but unforturnatly the program I used to make these (YoYo Game Maker) doesn't support anything but what I've already made:
Attachments
resolution.JPG
resolution.JPG (80.07 KiB) Viewed 4291 times
User avatar
time-killer-games
Expert Member
 
Posts: 400
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Postby Bzyk » Tue Jun 07, 2011 8:49 am

Could you check the links? They are dead. :( Is there any possibility to download these files from antoher site?
Luminous beings are we, not this crude matter...
User avatar
Bzyk
Frequent Poster
 
Posts: 142
Joined: Sat Feb 17, 2007 9:49 pm
Location: Poland

Postby time-killer-games » Tue Jun 07, 2011 10:50 pm

V3! This is much better than the old versions. This supports two more resolutions:

-1600x1200
-320x240

They only work if your computer has the hardware support.
The only way to close the new ChangeDisplayResolution programs are by using the WriteINI method to write an empty ini file with the following name:

"display.ini"

It must be written in the external folder where your resolution changer is located.

If you don't write it with that EXACT name and location, the resolution program will continue to run in the background as an invisble application that can only be closed by the task manager (Press Ctrl+Alt+Delete & Under the processes tab).

Download:
http://members.cox.net/time-killer-game ... tionV3.zip
Working Link ;-)
User avatar
time-killer-games
Expert Member
 
Posts: 400
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA

Postby reneuend » Wed Jun 08, 2011 2:26 am

Very Good Time Killer!
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2690
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Postby time-killer-games » Fri Jun 10, 2011 5:51 pm

Thank you :) any news on your resolution ocx? That could actually be sold if you find the right croud of vb/c++ developers.

if anyone has a recomendation for me to help our AMC I'm all ears with yoyo game maker and C++ on my side next to nothing is impossible.
User avatar
time-killer-games
Expert Member
 
Posts: 400
Joined: Fri Dec 24, 2010 6:10 pm
Location: Virginia Beach, VA


Return to Post Your Own Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest