Re: love-android-sdl2 (native, 0.9.0)
Posted: Fri Jan 17, 2014 7:10 pm
Does this only work on the main Phone Storage, I can't seem to get it to work from Card.
Yea I get that but how are we suppose to experiment with it when we don't know what functions we can use? Just saying it would be nice.Ranguna259 wrote:Yep documentation would be good but this is still experimental and I'm guessing that some functions might be changed once fysx ports slimes touch API to this port so we'll just have to wait a little bit to write some docs on this.
Code: Select all
love.fingerpressed(x,y,b)
love.fingerreleased(x,y,b)
love.fingermotion(x,y,b)
When writing files everything is written into the internal storage (see http://developer.android.com/guide/topi ... orage.html for details). I plan to add a config value which let's you specify whether your writable directory should be the internal or external storage. Note internal and external storage have nothing to do with sd-cards. It's just whether the directory can be accessed from other apps such as file managers, etc. Also it does not have anything todo where your app is being installed.Davidobot wrote:Does this only work on the main Phone Storage, I can't seem to get it to work from Card.
Yes, b is the actual "finger".Ranguna259 wrote:Those are callbacks, dunno what fingermotion does and I don't know what 'b' is either (maybe multitouch ?), fysx could you shed some light onto us here ?Code: Select all
love.fingerpressed(x,y,b) love.fingerreleased(x,y,b) love.fingermotion(x,y,b)
When are you going to replace that with the love.touch stuff?fysx wrote:Yes, b is the actual "finger".
What's the ID variable type ? Number ? If so the function wont rearrange the IDs if a finger stops touching the screen, right (if I touch the screen with two fingers and lift the first finger the ID of the second one will still be "2" or will it change to "1", I just realy need to be sure ) ?slime wrote:When are you going to replace that with the love.touch stuff?fysx wrote:Yes, b is the actual "finger".
[also, for anyone using current or future touch APIs, the touch/finger ID is only valid/unique for the duration of the touch press.]