Search found 46 matches

by AuahDark
Sat Jun 27, 2020 3:46 pm
Forum: Support and Development
Topic: [TUTORIAL] - Lua: How to add your own C Library to your game
Replies: 5
Views: 339

Re: [TUTORIAL] - Lua: How to add your own C Library to your game

I'd say this is only useful for Lua C modules that have been written by someone else and you want to use it to the fullest. For example, LuaSocket, but it's bundled with LOVE anyway. Most people who use LOVE against using external C modules because it's hard to maintain for all platforms that LOVE n...
by AuahDark
Sat Jun 27, 2020 3:01 pm
Forum: Support and Development
Topic: Problem with buttons when changing screen resolution
Replies: 6
Views: 377

Re: Problem with buttons when changing screen resolution

Make sure to multiply all the mouse coordinates by love.graphics.getHeight()/game.screen_height too.
by AuahDark
Sat Jun 27, 2020 3:00 pm
Forum: Support and Development
Topic: Is it possible to open a file on android using the file manager?
Replies: 1
Views: 94

Re: Is it possible to open a file on android using the file manager?

It's not possible. You have to use Android API which interacts with LOVE code and pass the file streams over.

The bolded part is important. You're not allowed to pass file paths since Android 7.
by AuahDark
Sat Jun 27, 2020 2:55 pm
Forum: General
Topic: Relicensing LOVE
Replies: 6
Views: 6769

Re: Relicensing LOVE

No, you can't really do that. I think you may want to release a game under MIT License, then yes you can do that while having LOVE under zLib license. The LOVE zLib license only applies to LOVE itself. You can, however modify LOVE and use the modified LOVE in conjunction with your own game, but you ...
by AuahDark
Mon Jun 22, 2020 6:16 am
Forum: Support and Development
Topic: Simple way for get dirs and files from user android filesystem
Replies: 4
Views: 5025

Re: Simple way for get dirs and files from user android filesystem

I am actually using the unix terminal of the android device. local dir = io.popen ("ls "..someDir) io.input(dir) I dont know if this is portable to any other android device I think yes. I will take a look to how works that library u mentioned. That works, but you have to request external storage pe...
by AuahDark
Wed Jun 10, 2020 4:18 am
Forum: General
Topic: LÖVE 11.2 released - including Android APK!
Replies: 46
Views: 275300

Re: LÖVE 11.2 released - including Android APK!

Yeah, I have plans to turn on LuaJIT for Android in LOVE 12.
by AuahDark
Sat Apr 25, 2020 1:24 am
Forum: General
Topic: LÖVE for Android unable to open *.love files. Alternatives?
Replies: 0
Views: 3788

LÖVE for Android unable to open *.love files. Alternatives?

One of the currently most annoying problem with LÖVE Android is that it can't open *.love files inside the filesystem. The reason behind this problem because Android Nougat changed completely how file should be handled to another program , but at same time this also completely broke file association...
by AuahDark
Sat Apr 18, 2020 12:06 pm
Forum: Support and Development
Topic: love.filesystem.write doesn't work
Replies: 4
Views: 910

Re: love.filesystem.write doesn't work

LOVE for iOS doesn't expose the save directory to users. You can check whetever the writing successful is by checking the return value of love.filesystem.write().