Search found 16 matches

by 1u4
Sun May 06, 2012 6:19 am
Forum: Support and Development
Topic: Good noise programs?
Replies: 4
Views: 2019

Re: Good noise programs?

If you 're creative enough with your search, I think freesound could help: http://www.freesound.org/search/?q=game ... advanced=0
by 1u4
Tue May 01, 2012 2:27 pm
Forum: Support and Development
Topic: Inserting current time from audio
Replies: 6
Views: 4248

Re: Inserting current time from audio

Ah, I see :crazy: -- Thanks. I also realised I shouldn't have my playPause table there either. I changed it to... if key == "f2" then if playPause[1] == "pause" then love.audio.pause(audioSource) else love.audio.resume(audioSource) end playPause[1], playPause[2] = playPause[2], p...
by 1u4
Tue May 01, 2012 1:42 pm
Forum: Support and Development
Topic: Inserting current time from audio
Replies: 6
Views: 4248

Re: Inserting current time from audio

I'm trying to swap a table index like so... playPause[1], playPause[2] = playPause[2], playPause[1] -- correct? ...but the behaviour is not correct in my app... if key == "f2" then playPause = {love.audio.pause(audioSource), love.audio.resume(audioSource)} controlPress = playPause[1] -- ex...
by 1u4
Tue May 01, 2012 12:05 pm
Forum: General
Topic: Selection widgets
Replies: 1
Views: 1200

Selection widgets

Hi, I was wondering if löve supported selection widgets like textarea, radio buttons, check-boxes, sliders etc..?
Or perhaps there is a way to embed them in löve apps?
Thanks.
by 1u4
Tue May 01, 2012 11:23 am
Forum: Support and Development
Topic: Inserting current time from audio
Replies: 6
Views: 4248

Re: Inserting current time from audio

Thanks. I'm pretty new to lua and brand new to löve, but it's really hard to abstain until my lua skills have come of age. Here's what I did with your help. It works nice :) function love.keypressed(key) if key == "f1" then love.audio.pause(audioSource) position = audioSource:tell( "s...
by 1u4
Tue May 01, 2012 7:27 am
Forum: Support and Development
Topic: Inserting current time from audio
Replies: 6
Views: 4248

Inserting current time from audio

Hi, I'm have a stab at löve-making and was wondering how to display the current time (elapsed) from an audio file via a key press call. Here is my attempt (I'm not even sure if tried to call the right function here ) -- The error is about using a nil value so I guess I'm not calling the value correc...