So this led me to look through the iOS runner and I now have a list of the "in-house plugin" functions (as stated by the iOS Baseline Spec)
They follow as:
YoYo_AddVirtualKey(x, y, width, height, keycode)
Sets a rectangle on the screen at a specific x and y with a specific width and height that emulates a keypress. keycode is set with ord() or vk_*.
Returns: A handle to the key
YoYo_DeleteVirtualKey(Handle)
Deletes a virtual key handle, removing its function from the screen.
Returns: True?
YoYo_ShowVirtualKey(<Handle?>)
Shows a virtual key
Returns: True?
YoYo_HideVirtualKey(<Handle?>)
Hides a virtual key
Returns: True?
YoYo_LoginAchievements()
Attempts to login to Apple's Game Center?
Returns: Success?
YoYo_LogoutAchievements()
Logs out of Apple's Game Center?
Returns: True?
YoYo_PostAchievement(Name, Value)
Posts an achievement to the Game Center?
Returns: Success?
YoYo_PostScore(Name, Value)
Posts a score to the Game Center?
Returns: Success?
YoYo_AchievementsAvailable()
Returns: If login information for the Game Center is available?
YoYo_OpenURL(URL)
Opens iOS's default browser to a destination?
Returns: Success?
Download GMK: http://www.x2048.com...OSFunctions.gmk
This will allow anyone planning on developing games for iOS devices to test their game more accurately on the PC/Mac.
Note: The Game Center specific functions all return false, as there's no point to emulate them on the PC/Mac. I may update this to have it store the values in a DB of some sort for pseudo support.
Cheers, Zach.
Edited by Aragon1029, 15 December 2010 - 10:13 PM.



This topic is locked







