GLBasic forum

Main forum => GLBasic - en => Topic started by: bigtunacan on 2015-Oct-21

Title: Apple TV Support?
Post by: bigtunacan on 2015-Oct-21
Just wondering if there are plans to support Apple TV and if so if there is an estimated timeline for this?
Title: Re: Apple TV Support?
Post by: Ian Price on 2015-Oct-21
Yes indeedy. SpaceFractal is the man that can (actually he's the man that already has!).

Expect to see something soon after the AppleTV official launch...
Title: Re: Apple TV Support?
Post by: spacefractal on 2015-Oct-21
Yes im was lucky to get the Dev Kit Apple TV few weeks ago, and then allready got this running and ported 3 games over, and succesful uploaded one of them to TestFlight.

Actuelly im do allready released a tvOS xCode project for testing:
http://www.glbasic.com/forum/index.php?topic=10191.0

Its does not support AppStore yet, im recompile the glbasic libs soon xCode 7.1 GM is released.

Few things is missing, but easy to been done and add. iCloud is required (iCloud.gbas, quite easy) and GameInput api for MFI support (required under compiling, no longer optional).

PS. Im will do no feedback about the tvOS software its self (so no videos from it), only what Apple allready have been officially out.
Title: Re: Apple TV Support?
Post by: erico on 2015-Oct-21
Beginning of this month, I saw doom ported to apple tv and watch.
Here is the apple tv video:


Looks and moves about fine. It seems the trackpad on the tv control works fine too (gameinput will deal that right?).
The watch version kind of slugs around and controlling it looks like a nightmare. :D
Title: Re: Apple TV Support?
Post by: spacefractal on 2015-Oct-21
I'm can't so any feedback about the remote feedback and such impressions. my games did do run full 1080p/60fps.

You do required to support remote for your game, you cannot require a MFI controller.

MOUSESTATE works as a one button mouse, and GameInput take about the MFI support (include when the remote is used as a micro gamepad control and checking back and second button).
Title: Re: Apple TV Support?
Post by: bigtunacan on 2015-Oct-22
Spacefractal; you are the man!   :nw:

I'm going to test this out and will probably be shooting questions at you!
Title: Re: Apple TV Support?
Post by: spacefractal on 2015-Oct-22
And.... Simulators is still not supported. You need the real device to test.

also the device is still under NDA, so techincal and software thing im can not answear here.

PS. xCode 7.1 gm is released and is gonna try and download that now.
Title: Re: Apple TV Support?
Post by: spacefractal on 2015-Oct-22
Now there is xCode 7.1 official version, so its out of beta and being installed from Mac AppStore.

Im well soon release a new xcode version of the lib using that gm version.

Im will still wait for the device impression its self.

Currectly Im have uploaded Genius Greedy Mouse and Karma Miwa, and they are both allready in review (there was pretty much no queue in the moment). Im hope they wont find any issues. Im waiting with CatchOut when the first games is approvede and ready.

please note xCode 7.1, does NOT support iOS5 anymore (not for libs). iOS6 will now been required, when im updating the libs. This is of course not a issue with tvOS. Its uses iOS 9.0
Title: Re: Apple TV Support?
Post by: spacefractal on 2015-Oct-23
Oh dear, Karma Miwa is rejected, but it's was just a little UI issue on the main menu. So not a technical bug at all. I'm have fixed that, and upload a new binary. Greedy Mouse is still under review.

When I'm got the games approved, men will release a new ios xcode project to you.
Title: Re: Apple TV Support?
Post by: spacefractal on 2015-Oct-26
Greedy Mouse got rejected (took 4 days in review), due a UI interface issue (haven't checked why yet), but Karma Miwa got approvede on Apple TV and is ready to sale.
Title: Re: Apple TV Support?
Post by: Ian Price on 2015-Oct-26
:)
Title: Re: Apple TV Support?
Post by: spacefractal on 2015-Oct-26
here is a controller issue (menu button dont work), and some menu issue im need to fix (no ui metod to quit). None one take long time to fix the menu and controller issues. But they also dont like screenshots on the Top Shelf image. The later one is property that take some time. Im do wonder why this took 4 days to reject it.

Karma Miwa got approvede and that is most important, so something does working and accepted. So its official there is a game for Apple TV. So im will in this week got the wii thing controller working, but release as its are.
Title: Re: Apple TV Support?
Post by: mrplant on 2015-Nov-01
Great stuff. I notice on your change log you mentioned support for mfi controller and icade as well.
I am wondering programmatically is there anything different between the two standards as far
As what appears to the glbasic programmer?

Is it hard to add mfi controller support if your game already supports the icade in other words ?

I'd love to port my games over to the new Apple TV which has just arrived here :-)
Title: Re: Apple TV Support?
Post by: spacefractal on 2015-Nov-01
iCade and Mfi is very different. iCade was a keyboard hack, while mfi using a api FrameWork and can do more glbasic commands actuelly can support.

So for support for mfi game controller, GameInput API is required (not hard to use, so check it out). Im do not plans to support it using official JOY commands, due limited support. MOUSESTATE is howover supported. GameInput do also support iCade, but only for iOS, not tvOS.

PS. im do still have some issues left for Greedy Mouse to it get approvede on Apple TV (Karma Miwa is ready to sale on Apple TV). This is currectly my main focus, so im can get the game out of my door (Karma Miwa is on sale). Then im will code the accelerator part on the remote controller, which is still missing.

PPS. Im have also installed the official version of tvOS now, so im can also uses AppStore now. So no more NDA and do a review of it if im wanted to do that.
Title: Re: Apple TV Support?
Post by: mrplant on 2015-Nov-01
Sorry silly me - where can I find this GameInput Api?

Title: Re: Apple TV Support?
Post by: spacefractal on 2015-Nov-01
http://www.glbasic.com/forum/index.php?topic=10191.0

Currectly Android Extras + iOS /TvOS is included in the same file (hence im used 7z instead of zip to save download size).

its included in the Android Extras / iOS Download. Its under EXTRAS folder.

PS. Download was missing in the Android Extras Thread. Currectly both platforms is included in the download.
Title: Re: Apple TV Support?
Post by: mrplant on 2015-Nov-02
Thanks spacefractal - awesome work - I'll check that out!
Title: Re: Apple TV Support?
Post by: spacefractal on 2015-Nov-02
Also the ios9 and tvOS xcode project might not been compatible with the older xcode projects.

Finally Greedy Mouse got approvede for Apple TV.
Title: Re: Apple TV Support?
Post by: mrplant on 2015-Nov-04
Hi.
Not sure what's wrong but I played greedy mouse last night on iPhone 6s Plus and used the new steelseries mfi nimbus controller and it worked perfectly.

Today I have Bluetooth switched off and updated to greedy mouse version 3.6 but now I cannot get the touchscreen Input to work - tried resetting everything but it seems to be stuck in this mode now?
Title: Re: Apple TV Support?
Post by: spacefractal on 2015-Nov-04
Slight Offtype. If its worked before, im do thinks im aware what it was happens, which is fixed and uploaded a new binary. iPhone Plus using Scale 3, but that code got removed, so its only checked Scale 1/2, so bottom/right area of the screen might not worked. On other phones, the game do works fine.

This bug does not effect Apple TV throught and is really a offtype, but im do found some mfi issues, which could have crash out, that also got fixed, and could happens on Apple TV as well.