Page 1 of 2

Oh Hey, Thanks Apple

Posted: Thu Sep 09, 2010 6:59 pm
by bmelts

Re: Oh Hey, Thanks Apple

Posted: Thu Sep 09, 2010 7:28 pm
by nevon
I'm not sure not being kicked in the balls again is something to thank them for, but it is neat that Löve on the iPhone is a viable option again.

Re: Oh Hey, Thanks Apple

Posted: Thu Sep 09, 2010 9:48 pm
by Jasoco
The problem still remains of someone actually porting Löve to iOS and providing the necessary input methods. (love.mouse, love.keyboard, love.joystick won't work, so iPhone Löve would require an all-new love.touch module that someone would also need to write. As well as some other iOS-specific features like vibration, gyroscope and tilt sensing.) Not to mention some of the libraries don't work on iOS yet. (Not that there's not already a physics module for iOS games. There's a hell of a lot of physics games. Or the sound library. Or the graphics library.) Though since iOS has its own capabilities, couldn't they be adapted?

THEN it would be viable.

I dream all the time of being able to code my Löve games for iOS.

Re: Oh Hey, Thanks Apple

Posted: Thu Sep 09, 2010 10:01 pm
by bartbes
Well, anjo, time to show us some of the work you've done. For now, I guess we could map touch to love.mouse, and what is wrong with Box2D, it should just compile.. (some other stuff like tilt sensing could be mapped to love.joystick as well)

Re: Oh Hey, Thanks Apple

Posted: Fri Sep 10, 2010 12:02 am
by Jasoco
Well, love.touch would need to be able to detect multiple touches.

JavaScript can do this in Mobile Safari by detecting each touch entry, movement and release as its own array. I assume it's the same in Cocoa Touch. So it'd be finger 1, finger 2, finger 3, etc all get detected separately. Löve would also need to take that into account and give us love.touchDown, love.touchMove and love.touchRelease with the ID of the touch point as one of the parameters. (Like how you use "l" and "r" as which button it'd be a number up to whatever the iOS can detect. (5 maybe?)

Re: Oh Hey, Thanks Apple

Posted: Fri Sep 10, 2010 1:29 am
by Taehl
You know... Some of us would be perfectly okay if Love wasn't on the iWhatever. I would vote for continued development on the PC version...

Re: Oh Hey, Thanks Apple

Posted: Fri Sep 10, 2010 2:47 am
by Tesselode
Taehl wrote:You know... Some of us would be perfectly okay if Love wasn't on the iWhatever. I would vote for continued development on the PC version...
Yeah, let's at least get to version 1.

Re: Oh Hey, Thanks Apple

Posted: Fri Sep 10, 2010 10:17 am
by vrld
Taehl wrote:You know... Some of us would be perfectly okay if Love wasn't on the iWhatever. I would vote for continued development on the PC version...
No one suggested to stop working on the PC version...

Re: Oh Hey, Thanks Apple

Posted: Fri Sep 10, 2010 3:13 pm
by Taehl
Porting Love would be a massive undertaking, not just something one of the devs could sit down and do in an afternoon.

Re: Oh Hey, Thanks Apple

Posted: Fri Sep 10, 2010 3:35 pm
by Robin
Taehl wrote:Porting Love would be a massive undertaking, not just something one of the devs could sit down and do in an afternoon.
Which means it'll be a long-term project. My guess is that 0.8.0 is out before the iPort.

Also, I'd say that an port for iOS would need to be µLÖVE-compliant at least, and as compatible to normal LÖVE as possible, to ensure that existing games have a fair chance of working on it, and games made for the iPhone aren't locked-in to that platform.