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.

AppGameKit Classic Chat / AGKSplash.png - Breaks SetDisplayAspect()

Author
Message
Polaraul
9
Years of Service
User Offline
Joined: 13th Dec 2014
Location:
Posted: 17th Feb 2015 18:55
Using AGKSplash.png seems to break SetDisplayAspect()



Without AGKSplash.png the output is:
100
100

With AGKSplash.png the output is:
768
1024
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 17th Feb 2015 21:19
if you remove "SetWindowSize( 1024, 768, 0 )" then virtualwidht and virtualheight are (100,100) with AGKSplash.png or without AGKSplash.png.
Polaraul
9
Years of Service
User Offline
Joined: 13th Dec 2014
Location:
Posted: 18th Feb 2015 12:09
Hi Behdadsoft. On version 2.0.10 it seems to make no difference. Here is the revised code.



Without AGKSplash.png the output is:
100
100

With AGKSplash.png the output is:
768
1024
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 20th Feb 2015 09:26
Hi Polaraul.

I have AppGameKit v1 and this code work very well for me.but I don't know why it don't work for you.

Login to post a reply

Server time is: 2024-11-25 17:35:58
Your offset time is: 2024-11-25 17:35:58