(AGK version: 2.0.16)
Submitted: 2015-12-12 21:45:24
// set window properties
SetWindowTitle( "GameCenter" )
SetWindowSize
( 1024, 768, 0 )

// set display properties
SetVirtualResolution( 1024, 768 )
SetOrientationAllowed( 1, 1, 1, 1 )

GameCenterSetup()
GameCenterLogin()

do
if ( GetPointerReleased() )
GameCenterAchievementsShow()
endif

Print("Logged In: " + Str(GetGameCenterLoggedIn()) )
print(screenfps())
Sync()
loop
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.