Search found 5 matches

by Andlac028
Wed Jun 19, 2019 5:25 pm
Forum: Support and Development
Topic: A question about music
Replies: 13
Views: 6565

Re: A question about music

Simply put if music:isPlaying( ) == false then math.randomseed( os.time() ) math.random(); math.random(); math.random(); math.random(); math.random() music = love.audio.newSource("music/mus_"..math.random(11)..".mp3", "stream" ) love.audio.play( music ) music:setVolume(music_volume) end into love.up...
by Andlac028
Fri May 10, 2019 3:11 pm
Forum: General
Topic: blank screen on android, help
Replies: 3
Views: 1439

Re: blank screen on android, help

Hello, I tried game (file mobile.love) on my android phone and is working fine for me (without blank screen). The problem is not in code, but in compiling. The question is: what version of LÖVE you are compiling with your game? Try compile only this code and run it on android: function love.draw() l...
by Andlac028
Wed May 08, 2019 6:39 pm
Forum: General
Topic: blank screen on android, help
Replies: 3
Views: 1439

Re: blank screen on android, help

Hello,
From where you have downloaded LÖVE for android? If from google play, you have downloaded old version, what is using colors 0-255 (new versions uses colors 0-1). Try download the latest version from here.
by Andlac028
Sat Apr 20, 2019 3:28 pm
Forum: Support and Development
Topic: I found undocumented functions
Replies: 1
Views: 5501

I found undocumented functions

Hello, I made a simple code, that prints a structure of a table: function browse(t,i) for k,v in pairs(t) do print(i.."."..k.." - "..type(v)) if type(v)=="table" then browse(v,i.."."..k) end end end I called browse(love,"love") and I got this result: love._version_codename - string love.getVersion -...
by Andlac028
Fri Feb 15, 2019 3:32 pm
Forum: General
Topic: [SOLVED] Command prompt in Zerobrane
Replies: 3
Views: 2172

Re: [HELP] Command prompt in Zerobrane

Hello,
Try to add io.stdout:setvbuf("no") to your code. It works for me.