Search found 75 matches

by utunnels
Sun Nov 18, 2012 3:57 pm
Forum: LÖVE-Android
Topic: (NDK) I think I need some help...
Replies: 4
Views: 7702

(NDK) I think I need some help...

I got it compiled, somehow (except I was not using eclipse). However, when I tried to run it (either no-game screen or .love), it crashed. :ehem: Part of the logcat message: E/Adreno200-ES20( 3582): <qgl2DrvAPI_glUseProgram:1318>: **** 3582: glUseProgram(3) E/Adreno200-ES20( 3582): <qgl2DrvAPI_glUse...
by utunnels
Fri Nov 16, 2012 12:24 am
Forum: General
Topic: Correct way to play sounds?
Replies: 17
Views: 8560

Re: Correct way to play sounds?

It shouldn't be hard to write a a wrapper in lua. Another thing I'm concerning is the unlimited new sound source may cause booms. It works well on my pc, but lags and booms on android if too many sounds are created. Though android version is not an official release, perhaps it is still necessary to ...
by utunnels
Thu Nov 15, 2012 3:29 pm
Forum: LÖVE-Android
Topic: help on standalone game
Replies: 21
Views: 35296

Re: help on standalone game

Yeah, it seems the android port supports dynamic orientation change. Though I need to configure my phone to enable that.
And perhaps you also need to disable screen lock otherwise it turns black every few seconds if you don't touch a thing.
by utunnels
Thu Nov 15, 2012 2:50 pm
Forum: LÖVE-Android
Topic: love-java-android/love-native-android: project information
Replies: 72
Views: 108085

Re: love-java-android/love-native-android: project informati

Just tried it some minutes ago.

For some reason, I have to run 2 times to get a game start. The first time I click the selected .love file, it always shows a black screen then exits. After the second try it will start normally. :ultraglee:
by utunnels
Thu Nov 15, 2012 8:30 am
Forum: General
Topic: Correct way to play sounds?
Replies: 17
Views: 8560

Re: Correct way to play sounds?

Perhaps I didn't say it clearly. What I want to do is to have multiple sounds playing at the same time, so I don't want the first one to stop nor want to wait for it to stop. ;) The idea I had in mind was like this: local sdping = love.sound.newSoundData("ping.wav") function playSound(sd) ...
by utunnels
Thu Nov 15, 2012 12:55 am
Forum: General
Topic: Correct way to play sounds?
Replies: 17
Views: 8560

Correct way to play sounds?

For example, if I have an animation that plays a sound repeatedly (a ball bounces around), what do I do to make the sounds mix in a proper way?

Do I need to creat a new source every time from the same sound data?
by utunnels
Wed Feb 15, 2012 5:36 am
Forum: Support and Development
Topic: little lags
Replies: 13
Views: 12750

Re: little lags

It lagged for a few seconds when I started the demo, but became smooth later.
by utunnels
Wed Feb 15, 2012 3:09 am
Forum: Support and Development
Topic: RPG script interpreter or such
Replies: 12
Views: 4526

Re: RPG script interpreter or such

Yes, it works now.
Thank you.
by utunnels
Tue Feb 14, 2012 3:54 pm
Forum: Support and Development
Topic: RPG script interpreter or such
Replies: 12
Views: 4526

Re: RPG script interpreter or such

Thank you! But for some reasoon it doesn't run (I tried the newest build and 0.7.2).
The error says setenv got an invalid parameter #1 (number expected, got nil). I wonder if the require statement failed, but I couldn't find anything wrong.
by utunnels
Tue Feb 14, 2012 2:56 pm
Forum: Support and Development
Topic: RPG script interpreter or such
Replies: 12
Views: 4526

Re: RPG script interpreter or such

Yeah, I think I got a bit lost in lua. I've been trying for a long enough time to test the capability of the engine, but haven't learnt enough basis of the language.