tvOS (Apple Tv)

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
slime
Solid Snayke
Posts: 2899
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: tvOS (Apple Tv)

Post by slime » Fri Sep 11, 2015 1:30 pm

It is possible to call Apple's iOS APIs directly in Lua if you use LuaJIT's FFI (you might want to get a helper library like this, though – or one that works well on iOS.)

User avatar
Jasoco
Inner party member
Posts: 3651
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: tvOS (Apple Tv)

Post by Jasoco » Fri Sep 11, 2015 6:32 pm

tvOS has support for controllers, and most controllers are modeled after the 360 controller so the same controller APIs could still work.

User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: tvOS (Apple Tv)

Post by T-Bone » Fri Sep 11, 2015 8:07 pm

Jasoco wrote:tvOS has support for controllers, and most controllers are modeled after the 360 controller so the same controller APIs could still work.
Assuming the iOS version of SDL has controller support.

User avatar
slime
Solid Snayke
Posts: 2899
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: tvOS (Apple Tv)

Post by slime » Fri Sep 11, 2015 8:14 pm

T-Bone wrote:Assuming the iOS version of SDL has controller support.
It doesn't (yet), mostly because I don't own a compatible controller to test with...

gianmichele
Citizen
Posts: 51
Joined: Tue Jan 14, 2014 11:03 pm

Re: tvOS (Apple Tv)

Post by gianmichele » Fri Sep 11, 2015 8:36 pm

slime wrote:It is possible to call Apple's iOS APIs directly in Lua if you use LuaJIT's FFI (you might want to get a helper library like this, though – or one that works well on iOS.)
OMG thanks a lot!!! This is mostly what I was referring to. Time to cook something useful.

Do you know if something similar exists for Android as well?

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests