Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Default Window Size

Author
Message
N3wton
15
Years of Service
User Offline
Joined: 3rd Jun 2009
Location: Leeds, UK
Posted: 25th Jul 2010 22:49
Hello,

Dunno if this has been answered (I searched but found nothing)

But in DBpro you can set the default window size, is this possible in DGDK?

Thanks
Yours
N3wton

Greg_C
14
Years of Service
User Offline
Joined: 22nd May 2010
Location:
Posted: 25th Jul 2010 23:05
dbSetDisplayMode (1024 ,768, 32);
N3wton
15
Years of Service
User Offline
Joined: 3rd Jun 2009
Location: Leeds, UK
Posted: 25th Jul 2010 23:16
That changes the default to the new size.

It flashes at 640x480 then changes...

I wondered if theres a way to change the default 640x480?

Yours
N3wton

Greg_C
14
Years of Service
User Offline
Joined: 22nd May 2010
Location:
Posted: 26th Jul 2010 07:29
Hmm I don't know but why would you want to change the default?
Mireben
16
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 26th Jul 2010 11:21 Edited at: 26th Jul 2010 11:31
IanM posted instructions how to do that:

http://forum.thegamecreators.com/?m=forum_view&t=144462&b=22

However, in other threads there were reports that this method does not work in Dark GDK 7.3 version because the required initialization functions are not called:

http://forum.thegamecreators.com/?m=forum_view&t=152527&b=22

I don't know it it works or not in 7.4. The best you can do is test it, I haven't tried it in any Dark GDK version.
N3wton
15
Years of Service
User Offline
Joined: 3rd Jun 2009
Location: Leeds, UK
Posted: 26th Jul 2010 13:44
@Greg_C

Because it looks ugly flashing a small window then resizing.

@Mireben

Thanks allot, I'm on GDK 7.4 and it works fine

Thanks
N3wton

Login to post a reply

Server time is: 2024-11-19 20:35:30
Your offset time is: 2024-11-19 20:35:30