|
|
"Res-changing code -- Can be added to any program easily", by grim_1_2_3
|
This piece of code basically allows you to change between resolutions easily, at any time during the program. More resolutions can be added by simply adding a few lines of code. Right now it has 3: 640 by 480, 800 by 600, and 1024 by 768. Fully commented.
Note: You must use you're own images, Since none are included with the code.
Also, Please don't be put off by all of the text in the code -- Most of it is comments, LOL -- I guess I over-did it a little :) I wanted it to be easy for everyone to understand though. Anyway -- If you delete the commented lines, You will find that the code is a LOT smaller.
|
| Code | | | |