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 Studio Chat / Missing commands?

Author
Message
YarSnez
16
Years of Service
User Offline
Joined: 9th Apr 2003
Location:
Posted: 7th Aug 2019 09:10
Hi, just been looking around AGKS and discovered a couple of commands listed and partially explained in the help but not actually available. They are:

ForcePresent() and SetPresentMode(mode)

If I try using SetPresentMode(1) (not sure what values I should be passing for the 'mode' as the help does not say)
I just get a compiler error "Error: setpresentmode is not a recognised function or command"

These commands are also mentioned in the Change Log (Studio Build 2019.08.05)

Quote: "Added SetPresentMode and ForcePresent to control when the back buffer is presented to the screen..."


I have very simple tastes, I am always satisfied with the very best.

Oscar Wilde.
Bored of the Rings
14
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 7th Aug 2019 09:47
I know some commands got deprecated, not sure if the commands above were among that list though.
Professional Programmer, languages: SAS, C++, SQL, PL-SQL, DBPro, Purebasic, JavaScript, others
fubarpk
Moderator
14
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 7th Aug 2019 10:09
none of those commands are in the online help
https://www.appgamekit.com/documentation/home.html
so maybe they are commands for future use not quite implemented yet
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
YarSnez
16
Years of Service
User Offline
Joined: 9th Apr 2003
Location:
Posted: 7th Aug 2019 10:14
@fubarpk: Yes, I think you must be correct. Just odd that the current changelog mentions they have been added. I'm sure they will be included as and when required.
I have very simple tastes, I am always satisfied with the very best.

Oscar Wilde.

Login to post a reply

Server time is: 2019-08-26 04:52:12
Your offset time is: 2019-08-26 04:52:12