Page 1 of 1

SOME THINGS

Posted: Sat Jun 23, 2012 11:22 am
by rokit boy
  • Filesystem
    Not sure if there is any way of using the LOVE filesystem or the lua built in filesystem but I saw a thread saying it's not working.
  • Font
    Couple of issues:
    I know that this will be hard, but ttf fonts would be great.
    When using image fonts, on portrait view, glyphs show up (1 or 2 px)
    I was going to suggest otf, but android doesn't support them.
    Font:getWidth/Height has a minimal prefix of 3, when in LOVE it's 1, i suggest a change.
  • Textboxes
    This should be easy, but adding a textbox api so you can make the phone's default keypad pop up onscreen and type (also allow users to set limitations e.g only numbers or no symbols)
  • Missing stuff
    I'll list them and edit as I go through
    Canvases (but they won't be implemented due to limitations, a workaround would be good)
    love.graphics.rotate
Also, I am hoping to learn Android SDK and If you will be accepting help, I will be more than happy to.
I will edit this list when I find more stuff. I'm not rushing you, I'm assuming you didn't know some of these.

Re: SOME THINGS

Posted: Sun Jun 24, 2012 1:23 am
by T-Bone
I agree about filesystem, that's really important for all sorts of games and is one of the biggest still missing features. The others, however, are things I would consider low priority. Canvases are 0.8 so they won't be relevant until a move to 0.8 is made. And you rarely need them, SpriteBatches work fine. Android keyboard doesn't feel like something LÖVE would have built in... But it'd be awesome actually. But I consider multitouch to be a much more important feature.

Re: SOME THINGS

Posted: Sun Jun 24, 2012 11:50 am
by Robin
The Android keyboard would probably need to be modal, so that a game can request a line of text from LÖVE-Android, which then turns on the keyboard and pauses the game, and when the player hits Enter, returns a string.

Something like that.

Re: SOME THINGS

Posted: Sun Jun 24, 2012 11:58 am
by Moe
rokit boy wrote:
  • Filesystem
    Not sure if there is any way of using the LOVE filesystem or the lua built in filesystem but I saw a thread saying it's not working.
  • Font
    Couple of issues:
    I know that this will be hard, but ttf fonts would be great.
    When using image fonts, on portrait view, glyphs show up (1 or 2 px)
    I was going to suggest otf, but android doesn't support them.
    Font:getWidth/Height has a minimal prefix of 3, when in LOVE it's 1, i suggest a change.
  • Textboxes
    This should be easy, but adding a textbox api so you can make the phone's default keypad pop up onscreen and type (also allow users to set limitations e.g only numbers or no symbols)
  • Missing stuff
    I'll list them and edit as I go through
    Canvases (but they won't be implemented due to limitations, a workaround would be good)
    love.graphics.rotate
Also, I am hoping to learn Android SDK and If you will be accepting help, I will be more than happy to.
I will edit this list when I find more stuff. I'm not rushing you, I'm assuming you didn't know some of these.
Filesystem is a big TODO thing on our list. Just a matter of time that we will have time to implement it.
Font should actually use freetype2, but it did not work with our port. We changed it to use normal fonts, but maybe we will use a different freetype port in the future. I think we could simply use the one of Android, as far as I remember there is one included.

We h ave not yet started to add special phone features. We want to finish the normal features first and add only those things that are necessary to reach this goal.
By the way, we port the engine and do not reimplement it. Our SDK code is only a few hundred line of code including xml, most things are done with the NDK.

Re: SOME THINGS

Posted: Sun Jun 24, 2012 11:59 am
by rokit boy
Robin wrote:The Android keyboard would probably need to be modal, so that a game can request a line of text from LÖVE-Android, which then turns on the keyboard and pauses the game, and when the player hits Enter, returns a string.

Something like that.
That's what I meant. Of course it will only be for touch screen only androids since the others have a keyboard.

Re: SOME THINGS

Posted: Sun Jun 24, 2012 12:01 pm
by rokit boy
What about the glyphs that show up when in portrait view?

Re: SOME THINGS

Posted: Sun Jun 24, 2012 12:14 pm
by Moe
rokit boy wrote:What about the glyphs that show up when in portrait view?
Do you have a love file that I can use to check this? What make things much easier...

Re: SOME THINGS

Posted: Sun Jun 24, 2012 12:37 pm
by rokit boy
Moe wrote:
rokit boy wrote:What about the glyphs that show up when in portrait view?
Do you have a love file that I can use to check this? What make things much easier...
shoot the hookers