The Daily Click ::. Forums ::. Klik Coding Help ::. Major Display Properties Object Problem in TGF. Help or altrenatives please...

Post Reply  Post Oekaki 

Posted By Message


22nd March, 2005 at 03:53:50 -

Ive got TGF and the Display properties object. I wanna make my game change the users resolution so that the game can have a proper full screen option. But, when I try to make an event that changes the resolution, (eg: 'Change resolution to 512 x 384'), I get a windows error: 'The Games Factory has encountered a problem and needs to close. We are sorry for the inconvenience.' Is there anyway I can avoid this error? Or any alternative ways of having perfect full screen?
BTW, I have Display properties object v1.2. Will that help find an answer? Is it out dated?

-coming soon-

Destroyer (CrobaSoft)

22nd March, 2005 at 07:36:20 -

you have to create the DD object before you can change the resolution. and also have an event
end of application
---> destroy DD object

Visit or you're a Noob.


Mascot Maniac


Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
22nd March, 2005 at 12:17:56 -

get the window object as well for proper fullscreen (in a cheeky way)

first of all make you game resolution 320x240 or 640x480 (as this fits the native monitor resolution well (all the lines will be the same size.)

choose to resize window to fullscreen (in game setup)

then in the event editor using the window object, make the client size 640x480.
then below that in the events (using display properties) create dd and set screen to 640x480.
not forgetting to have a destroy dd object when quitting.

it helps to use a blank frame for this and quickly change the level so the screen will be centered.

hey presto fullscreen!! It may be go a bit slow on some PCs.


Post Reply



Worth A Click