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.

Newcomers AppGameKit Corner / setvirtualresolution does not accept the parameters (Float)

Author
Message
thethreelaws
5
Years of Service
User Offline
Joined: 28th Jun 2019
Location:
Posted: 28th Jun 2019 05:33
HI, I'm new and tried the tutorials. However when I use this:

SetVirtualResolution(1024.768)

I always get the error:
error: "setvirtualresolution" does not accept the parameters (Float)

Anyone an idea about this?



fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 28th Jun 2019 05:40 Edited at: 28th Jun 2019 05:41
SetVirtualResolution(1024,768) that should be a comma not a full stop ie 1024 horizontally by 768 vertically
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk

Login to post a reply

Server time is: 2024-11-21 13:06:48
Your offset time is: 2024-11-21 13:06:48