HELPPPPPPP

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
AdrikLoL
Prole
Posts: 2
Joined: Tue Jul 20, 2021 3:38 pm

HELPPPPPPP

Post 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:
Attachments
THE MAN BEHIND THE SLAUGHTER.zip
ik the name isn't very good but the program is about fnaf
(5.71 MiB) Downloaded 164 times
User avatar
GVovkiv
Party member
Posts: 685
Joined: Fri Jan 15, 2021 7:29 am

Re: HELPPPPPPP

Post 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?
AdrikLoL
Prole
Posts: 2
Joined: Tue Jul 20, 2021 3:38 pm

Re: HELPPPPPPP

Post by AdrikLoL »

i was trying to create a program that show an image at the 70 second of the song but its shows this
Attachments
crash.png
crash.png (158.57 KiB) Viewed 5705 times
User avatar
GVovkiv
Party member
Posts: 685
Joined: Fri Jan 15, 2021 7:29 am

Re: HELPPPPPPP

Post 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..
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 8 guests