I received an AppleTV Dev Kit too and I started to work on this yesterday before reading the forums. In fact it seems I just made almost the same changes as @ar2rsawseen...
I wasn't able to run a player because of the storage issue but my game works fine. Also the controller is working fine!
Because there is no persistent storage on the AppleTV I made a workaround to allow persistent storage by storing the files on the cache directory to NSUserDefaults because NSUserDefaults is available and persistent up to 500KB.
I will send a pull request with this solution if you like it
You might want to chat to @ar2rsawseen as he too has been doing the same thing.
He has the player working too.
There is a slight problem in that the screen is clipped incorrectly when run as a player.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@acalatrava I have my exported my lua project code as an iOS project and it's now running on Apple TV for the first time today great! Can you further tell me how to read the Apple TV remote input for up,down,left,right and enter etc in Gideros Lua please?
I am porting a touch based app that was since converted to run on Fire TV remote button input but now I want it to work with Apple TV.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Just as a further note (it confused me a fair bit at first) the Apple TV remote MENU button calls your apps onPause event, you don't actually read it as a digital button as such like Button A (Gamepad Enter) or Button X (Play/Pause).
I think there may be a function to override the button doing that, then when you enter whatever the button does you disable the override so a second press can do the official apple menu. When you re-enter you can force the override again. I can't remember the function though but looking at the github source would reveal it. I might be wrong though. lol.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Ah OK. It seems to work fine with onPause used to return to previous screen in game and then finally to desktop on top level menu how I would expect. I checked out several apps to see how they handle buttons and all seemed good.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
I wasn't able to run a player because of the storage issue but my game works fine. Also the controller is working fine!
Because there is no persistent storage on the AppleTV I made a workaround to allow persistent storage by storing the files on the cache directory to NSUserDefaults because NSUserDefaults is available and persistent up to 500KB.
I will send a pull request with this solution if you like it
Likes: MobAmuse, SinisterSoft
Other apps:
http://OwnSpy.com
http://iGotYa.com
He has the player working too.
There is a slight problem in that the screen is clipped incorrectly when run as a player.
https://deluxepixel.com
Likes: SinisterSoft
I am porting a touch based app that was since converted to run on Fire TV remote button input but now I want it to work with Apple TV.
Likes: SinisterSoft
Likes: SinisterSoft
https://www.applovin.com/integration#tvosIntegration
...great if this could be integrated with Gideros too.
Likes: SinisterSoft
So maybe anyone can try integrating AdsInterface with same Applovin that exists in AdsInterface?
Of course using ApplovinTVOs library
Likes: MobAmuse, SinisterSoft
[Edit] Implanting AppLovin tvOS ads discussion continued in thread here...
http://giderosmobile.com/forum/discussion/6161/gideros-apple-tv-with-new-applovin-tvos-ads-sdk#Item_3
Likes: hgy29
Likes: MobAmuse
https://deluxepixel.com
Likes: SinisterSoft
https://deluxepixel.com
In submission now so await further results.
http://giderosmobile.com/forum/discussion/6184/tvos-crash-simulated-in-real-device-and-symbolicated-crash-logs-#Item_1
Likes: MobAmuse
https://deluxepixel.com