Search found 11 matches

by amightydish
Sun Jun 04, 2017 11:13 pm
Forum: Support and Development
Topic: how to get current locale from love session
Replies: 1
Views: 817

how to get current locale from love session

Hi there, I'm doing some cross platform development and would like to find out the language/locale settings of the current session. I've found a few libraries about how to handle localization, once you know what language you are in. I'm after something like locale = love.getLocale() print(locale) --...
by amightydish
Sat May 20, 2017 7:35 am
Forum: Support and Development
Topic: How to use function love.keyreleased(key) in another lua file
Replies: 4
Views: 1252

Re: How to use function love.keyreleased(key) in another lua file

If you implement the function in two places, they will override each other. The last one defined will be the one used. Why don't you just have the keyreleased function in main and then call your own function, e.g. a submodule.mykeyreleased(key) from it? Here an example mystuff.lua function my_keyhan...
by amightydish
Tue May 16, 2017 10:59 pm
Forum: Support and Development
Topic: [SOLVED] love.system.openURL crashes on Android
Replies: 13
Views: 3394

Re: love.system.openURL crashes on Android

I just found the time to test this and it works! Awesome!
Thank you for your quick help!
by amightydish
Sun May 14, 2017 9:49 pm
Forum: Support and Development
Topic: [SOLVED] Navigation Bar for Mobile
Replies: 2
Views: 849

Re: Navigation Bar for Mobile

If you run love in exclusive full screen the bar will be gone. For iOs you might have to set a flag in your plist in xcode. All in all, yes you can hide the navbar. As for a roadmap: Start with something simple. Write a super silly game, a snake clone. Or even simpler. Make that work on windows/Marc...
by amightydish
Sat May 13, 2017 11:20 am
Forum: Support and Development
Topic: What program do you use to make graphics?
Replies: 13
Views: 4642

Re: What program do you use to make graphics?

Inkscape! Good for vector graphics, but also pixels if you aim for multi res output
by amightydish
Fri May 12, 2017 11:17 pm
Forum: Support and Development
Topic: [SOLVED] love.system.openURL crashes on Android
Replies: 13
Views: 3394

Re: love.system.openURL crashes on Android

Hey master both, thanks for looking at this! I'm not in a crazy rush. Just tried to shuffle the java around, but it's not straight forward, as I need a static reference to the context (with probably all sorts of implications). So I'm quite happy to wait for a better solution. Looking at the code, I'...
by amightydish
Fri May 12, 2017 10:43 pm
Forum: Support and Development
Topic: [SOLVED] love.system.openURL crashes on Android
Replies: 13
Views: 3394

Re: love.system.openURL crashes on Android

So it's what I suspected. <code> JNI DETECTED ERROR IN APPLICATION: JNI NewStringUTF called with pending exception java.lang.NoSuchMethodError: no static method "Lorg/love2d/android/GameActivity;.openURL(Ljava/lang/String;)Z" </code> The AdMob changes I'm using are not compatible with the love binar...
by amightydish
Fri May 12, 2017 10:33 pm
Forum: Support and Development
Topic: [SOLVED] love.system.openURL crashes on Android
Replies: 13
Views: 3394

Re: love.system.openURL crashes on Android

Partially good news.
It works fine in iOS.
Seems like an android specific issue. Closing in on the problem...
by amightydish
Fri May 12, 2017 10:11 pm
Forum: Support and Development
Topic: [SOLVED] love.system.openURL crashes on Android
Replies: 13
Views: 3394

Re: love.system.openURL crashes on Android

I dug a bit deeper. The android implementation of openURL looks good to me: public static void openURL (String url) { Log.d ("GameActivity", "opening url = " + url); Intent i = new Intent(Intent.ACTION_VIEW); i.setData(Uri.parse(url)); i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity...
by amightydish
Fri May 12, 2017 5:34 pm
Forum: Games and Creations
Topic: Love is in the Air (Android&iOs)
Replies: 0
Views: 812

Love is in the Air (Android&iOs)

Hey all! I've made a small arcade style balloon shooter for android and iOs. Well it was supposed to be done for Valentines day, but it took a bit longer. Anyhow, here it is! apsiaCGc7W8 You can find links to google play and app store here: http://www.amightydish.com/hearts I'm interested in feedbac...