love-android: discussion
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: love-android: discussion
Is that URL going to be the permanent link for the latest version for the foreseeable future?
- ghoulsblade
- Party member
- Posts: 111
- Joined: Sun Oct 31, 2010 6:11 pm
Re: love-android: discussion
awesome, thanks =Dmiko wrote:There you go.ghoulsblade wrote:e.g. draw a compass needle, and let ball/marble roll around the screen from roll/pitch info.
the apk ? yes, i think soJasoco wrote:Is that URL going to be the permanent link for the latest version for the foreseeable future?
love-android - gamejams
Re: love-android: discussion
I have made a little helper library so I (and you) can play with love programs destined for your android device right on your PC. As for now, the sensors generate random data, but in the future it could be simulated or read back from the actual device, or play back some recorded/synthesized data. The advantage is also you can test with sensors you don't actually have.ghoulsblade wrote:awesome, thanks =Dmiko wrote:There you go.ghoulsblade wrote:e.g. draw a compass needle, and let ball/marble roll around the screen from roll/pitch info.
The current sensor list I got from my HTC Desire, you can add to this list if you have more of them. I can think of supporting different phone models (and so their sensors), but that I will leave for later.
Usage:
Code: Select all
if not love.phone then require 'android' end
--in love.update:
function love.update(dt)
if love.phone.update then
love.phone.update(dt)
end
end
I agree, even if I have implemented that as it is now.slime wrote:This should have a more lövely argument IMO, like:ghoulsblade wrote: love.phone.setRequestedOrientation(love.phone.SCREEN_ORIENTATION.SCREEN_ORIENTATION_PORTRAIT)Code: Select all
love.phone.setRequestedOrientation("portrait")
- Attachments
-
- Compass.love
- (4.86 KiB) Downloaded 317 times
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
Re: love-android: discussion
Yes, the phone api needs löveification
Re: love-android: discussion
I'd love to see stuff like love.graphics.setScissor implemented But I can tell things like this are low priority (and they should be).
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Re: love-android: discussion
Scissors git implemented in master, but I did not update the package file.
Re: love-android: discussion
While playing andro-pong... The screen went black. I guess the black out timeout went on, because nothing was being touched... Any solution to that issue?
- ghoulsblade
- Party member
- Posts: 111
- Joined: Sun Oct 31, 2010 6:11 pm
Re: love-android: discussion
i think i've seen a command to disable the poweroff if nothing is being touched, i'll look into it this weekend
love-android - gamejams
Re: love-android: discussion
I confirm, I have seen the same. What is even stranger, when I switched to another application, and then back to the game, it was still black, yet I could press menu button and go to the loader.Reenen wrote:While playing andro-pong... The screen went black. I guess the black out timeout went on, because nothing was being touched... Any solution to that issue?
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
Re: love-android: discussion
Oh, nice! Perhaps a script could be written somewhere that automatically builds apk-files and uploads them to a single destination, to make it easy for everyone who just want to try a build close to the latest one.hagish wrote:Scissors git implemented in master, but I did not update the package file.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Who is online
Users browsing this forum: No registered users and 2 guests