"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 » Sun Nov 25, 2012 3:06 pm

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 » Tue Nov 27, 2012 9:04 pm

Yes, but Love is not a 3D engine...

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

Re: "getOrientation"-based movement?

Post by Jasoco » Tue Nov 27, 2012 10:34 pm

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 » Wed Nov 28, 2012 12:59 am

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 » Mon Dec 03, 2012 2:37 pm

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 » Mon Dec 03, 2012 8:12 pm

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

Locked

Who is online

Users browsing this forum: No registered users and 6 guests