Page 1 of 1

HELPPPPPPP

Posted: Tue Jul 20, 2021 3:43 pm
by AdrikLoL
Hi, i'm AdrikLoL and i've got a problem with my program...

When i open it the screen beacome white adn when i click in the window the program says not responding

SOMBODY HELPPPPP :shock:

Re: HELPPPPPPP

Posted: Tue Jul 20, 2021 4:20 pm
by GVovkiv
uh...

Code: Select all

main_song = love.audio.newSource("main_song.mp3", "static")
purple_guy = love.graphics.newImage("purple_guy.png")
love.audio.play(main_song)  

love.draw = function()
  if main_song:isPlaying() then
  love.graphics.draw(purple_guy, 0, 0)
  end
end
I don't exactly understand, what are you trying to do, but you mean that?

Re: HELPPPPPPP

Posted: Tue Jul 20, 2021 5:17 pm
by AdrikLoL
i was trying to create a program that show an image at the 70 second of the song but its shows this

Re: HELPPPPPPP

Posted: Tue Jul 20, 2021 5:52 pm
by GVovkiv
AdrikLoL wrote: Tue Jul 20, 2021 5:17 pm i was trying to create a program that show an image at the 70 second of the song but its shows this
Well, now it works, so..