Search found 33 matches

by AuahDark
Thu Mar 26, 2020 2:40 am
Forum: Libraries and Tools
Topic: Android Shell Code
Replies: 3
Views: 803

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

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

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

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: 205
Views: 162044

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.
by AuahDark
Wed Feb 26, 2020 11:26 am
Forum: General
Topic: Help. Who have had this error. on Google Play Store
Replies: 4
Views: 2049

Re: Help. Who have had this error. on Google Play Store

You need to use LOVE 11.2 or later to be able to submit APK to Play Store. I think it's possible to compile 0.10.2 for ARM64 (YMMV) but it doesn't worth my time.
by AuahDark
Tue Feb 18, 2020 2:46 pm
Forum: Support and Development
Topic: Android full screen with buttons always on
Replies: 8
Views: 2957

Re: Android full screen with buttons always on

That's interesting. Thanks for the heads up. Anyway looks like I got your issue. Unfortunately it's not possible as immersive mode implies hidden soft buttons. Setting fullscreen always hides notification bar and soft buttons. In development branch, cutout mode is set to LAYOUT_IN_DISPLAY_CUTOUT_MOD...
by AuahDark
Sat Feb 15, 2020 2:09 pm
Forum: Support and Development
Topic: Get image from gallery in android?
Replies: 1
Views: 1841

Re: Get image from gallery in android?

Not sure if this is possible with plain Lua. You always have to interact with Java code, but here's the overall steps 1. Write code which loads default image picker (usually gallery, provided by system in recent OS) and return its contents. 2. Write a JNI bridge for that function. 3. Write a Lua bin...
by AuahDark
Sat Feb 15, 2020 1:49 pm
Forum: Support and Development
Topic: Android full screen with buttons always on
Replies: 8
Views: 2957

Re: Android full screen with buttons always on

It's something have to do with sticky immersive mode if I'm right. LOVE used to have its own "immersive" mode but turns out it causes race condition issue because SDL also has its own immersive mode code, so I removed it. In 11.2, you should get first image because it always preserve the notch area ...
by AuahDark
Fri Feb 14, 2020 2:17 am
Forum: Support and Development
Topic: Android full screen with buttons always on
Replies: 8
Views: 2957

Re: Android full screen with buttons always on

This trickier than I thought. Unfortunately you'll have to wait until I have new devices with virtual navigation buttons like your phone, since my current phone has dedicated space for navigation buttons.