Search found 38 matches

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: 388

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: 700

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().
by AuahDark
Sat Apr 18, 2020 12:04 pm
Forum: Support and Development
Topic: Crash
Replies: 7
Views: 700

Re: Crash

You can workaround the memory limit by using love.data.newByteData and FFI then store your data there. However, depending on how you structure the game, it may be not possible.
by AuahDark
Sat Apr 18, 2020 11:57 am
Forum: Support and Development
Topic: Love for Android
Replies: 1
Views: 352

Re: Love for Android

1. The only mobile-specific API is love.window.getSafeArea . It's used to retrieve areas which aren't obstructed by cutout. love.touch , love.touchpressed , and love.touchreleased aren't mobile-specific as it also work in Windows with multitouch-capable monitor. 2. Resizing window is not really poss...
by AuahDark
Sat Apr 04, 2020 6:30 am
Forum: Support and Development
Topic: Does compressed png takes longer time to load?
Replies: 4
Views: 1192

Re: Does compressed png takes longer time to load?

"Crash" sounds like very unspecific. Compressiong your PNG further (in the website you linked, it performs lossy compression) doesn't really affect the loading times much, but if you're size constraint then compressing it more may give you benefits.
by AuahDark
Thu Mar 26, 2020 2:40 am
Forum: Libraries and Tools
Topic: Android Shell Code
Replies: 4
Views: 3220

Re: Android Shell Code

Beware that code won't work in Android Nougat and later due to file:// URI banned in that and later version of Android. Of course all os.* functions work as they should, only limited by system permissions.
by AuahDark
Fri Mar 20, 2020 1:27 pm
Forum: Support and Development
Topic: Isolating dofile() from love.* functions?
Replies: 3
Views: 1628

Re: Isolating dofile() from love.* functions?

For your example code, neither dofile and love.filesystem.load fits the scenario. You can first read all the contents, pass the file contents to "loadstring" function which returns same result as love.filesystem.load, setfenv the resulting function, then call it.
by AuahDark
Wed Mar 18, 2020 11:58 pm
Forum: Support and Development
Topic: Isolating dofile() from love.* functions?
Replies: 3
Views: 1628

Re: Isolating dofile() from love.* functions?

First, dofile doesn't really work in real scenarios. For your real solutions, you can use love.filesystem.load(file), setfenv the resulting function, and call it.
by AuahDark
Tue Mar 03, 2020 1:10 pm
Forum: Support and Development
Topic: LÖVE Android Immersive UI
Replies: 1
Views: 2573

Re: LÖVE Android Immersive UI

Immersive UI (setting the window to fullscreen) implies hiding the navigation bar, so I don't think that's possible AFAIK.
by AuahDark
Tue Mar 03, 2020 1:07 pm
Forum: Libraries and Tools
Topic: Free Music / SFX Resource for Your Games - Over 2000 Tracks
Replies: 213
Views: 174525

Re: Free Music / SFX Resource for Your Games - Over 2000 Tracks

I just found this thread and bookmarked it immediately for my future game. I haven't checked all of them but I just listened to your recent audio and it sounds interesting.

Just want you to know, so I hope you're not gonna lose motivation of doing this things.