"getOrientation"-based movement?

A project to port LÖVE to Android handhelds
Locked
User avatar
Petunien
Party member
Posts: 191
Joined: Fri Feb 03, 2012 8:02 pm
Location: South Tyrol (Italy)

"getOrientation"-based movement?

Post by Petunien »

Hi,

I just wanted to ask if it's possible to do a movement like in My Paper Plane using love.sensors?
Just basically tough.
:)
"Docendo discimus" - Lucius Annaeus Seneca
Moe
Party member
Posts: 115
Joined: Thu Dec 22, 2011 10:20 pm

Re: "getOrientation"-based movement?

Post by Moe »

Yes, but Love is not a 3D engine...
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: "getOrientation"-based movement?

Post by Jasoco »

Moe wrote:Yes, but Love is not a 3D engine...
There are a few of us here who would like to prove that wrong.
User avatar
substitute541
Party member
Posts: 484
Joined: Fri Aug 24, 2012 9:04 am
Location: Southern Leyte, Visayas, Philippines
Contact:

Re: "getOrientation"-based movement?

Post by substitute541 »

Jasoco wrote:
Moe wrote:Yes, but Love is not a 3D engine...
There are a few of us here who would like to prove that wrong.
Lot's of people already made 3D engines. Jasoco, me, 10$man, Ref(who upgraded my engine a bit), some people who are making ortho-3D, etc...
Currently designing themes for WordPress.

Sometimes lurks around the forum.
User avatar
Petunien
Party member
Posts: 191
Joined: Fri Feb 03, 2012 8:02 pm
Location: South Tyrol (Italy)

Re: "getOrientation"-based movement?

Post by Petunien »

I wasn't cleare enough, sorry.

I wanted to know if it's possible to get these sensor inputs using love.sensor.

So if the player swang his phone to the right, the spaceship goes right. :)
"Docendo discimus" - Lucius Annaeus Seneca
Moe
Party member
Posts: 115
Joined: Thu Dec 22, 2011 10:20 pm

Re: "getOrientation"-based movement?

Post by Moe »

If your phone/tablet/TV supports it, yes.
Locked

Who is online

Users browsing this forum: No registered users and 45 guests