I've seen vb-games where the resolution is going from your standard resolution(1024x768) to f.ex 612x388(when I start the game). How do they do that?
Printable View
I've seen vb-games where the resolution is going from your standard resolution(1024x768) to f.ex 612x388(when I start the game). How do they do that?
Typically by using DirectX, or something similar.
If you mean a VB game which uses a normal form, you should not change the resolution (even tho you can), as it creates issues for the user - such as moving their desktop icons, and stopping them from using other programs whilst yours is running, and keeping them in that resolution if your program crashes.
Do you know any (DirectX?) codes for changing the resolution?
And can you tell me how DirectX works? :/
Edit: I'm sorry for being such a n00b...
You can only use DirectX to change the resolution if you are using it for the rest of your code (drawing to the screen etc).
DirectX is a large subject, and I am no expert - if you want to use it then look at threads in the CodeBank (or other threads in this forum) that relate to it.