Search found 7 matches

by Ivo
Thu May 08, 2014 4:29 pm
Forum: Ports
Topic: [DEPRECATED] Experimental iOS port (LÖVE 0.9.2)
Replies: 129
Views: 125095

Re: Experimental iOS port (LÖVE 0.9.x)

It worked perfectly, thanks!
by Ivo
Wed May 07, 2014 2:59 am
Forum: Ports
Topic: [DEPRECATED] Experimental iOS port (LÖVE 0.9.2)
Replies: 129
Views: 125095

Re: Experimental iOS port (LÖVE 0.9.x)

slime wrote:If you comment out the "SDL_StopTextInput();" line (line #303 in src/video/uikit/SDL_uikitview.m in SDL's current source) and recompile SDL for iOS it should work as you want, although I haven't tested it.
Thanks! I'll try it when I have the time
by Ivo
Wed May 07, 2014 12:18 am
Forum: Ports
Topic: [DEPRECATED] Experimental iOS port (LÖVE 0.9.2)
Replies: 129
Views: 125095

Re: Experimental iOS port (LÖVE 0.9.x)

So do I need to put that line in the LÖVE or SDL code somewhere? No, SDL's code already contains that line. I was confused because normally that should make the return button behave like you want, but I dug a little deeper into SDL's iOS code and found this: /* Terminates the editing session */ - (...
by Ivo
Mon May 05, 2014 1:31 pm
Forum: Ports
Topic: [DEPRECATED] Experimental iOS port (LÖVE 0.9.2)
Replies: 129
Views: 125095

Re: Experimental iOS port (LÖVE 0.9.x)

I'm not sure - I think this is up to SDL, but looking at its code for creating the keyboard on iOS it has this line: "textField.returnKeyType = UIReturnKeyDefault;" which shouldn't make it go away when pressing the return key. So do I need to put that line in the LÖVE or SDL code somewhere?
by Ivo
Tue Apr 22, 2014 9:28 pm
Forum: Support and Development
Topic: Get path of filename
Replies: 2
Views: 1935

Re: Get path of filename

worked perfectly, thanks!
by Ivo
Tue Apr 22, 2014 9:03 pm
Forum: Support and Development
Topic: Get path of filename
Replies: 2
Views: 1935

Get path of filename

I want to write a function to get the path of a filename in a LÖVE program, and am finding it difficult. getDir('/usr/local/bin/sl') should return '/usr/local/bin'. I essentially want to remove the last item in a filename. In python I would just do: def getDir(sPath): dir = '/'.join(sPath.split('/')...
by Ivo
Tue Apr 08, 2014 1:29 am
Forum: Ports
Topic: [DEPRECATED] Experimental iOS port (LÖVE 0.9.2)
Replies: 129
Views: 125095

Re: Experimental iOS port (LÖVE 0.9.x)

Hey all, this is my first adventure into LÖVE, and I wanted to get a program working on my (jailbroken) iPad. The first problem I had was with coroutines, but I solved it by compiling LuaJIT and using that. My second problem is that when I bring the keyboard up using "love.keyboard.setTextInput...