Black screen when running code in love2d
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Black screen when running code in love2d
Hello, I am new I just installed love2d supported by a tutorial on youtube, I completed every step, My compiler is visual studio code, At the moment of wanting to run a test code dragging the folder with the main.lua file, only a black screen appears with nothing else I tried several codes that I saw on the internet quite simple But none managed to do anything
Last edited by Dorito10 on Sun Jan 15, 2023 10:42 am, edited 2 times in total.
Re: Black screen when running code in love2d
Hello
that example works for me.
First the obvious question even if it sounds silly:
Did you try to click in the black window?
What the code does is randomly changing the background if the user clicks on the window.
that example works for me.
First the obvious question even if it sounds silly:
Did you try to click in the black window?
What the code does is randomly changing the background if the user clicks on the window.
Re: Black screen when running code in love2d
I did not click the black window but yeah Apparently the color does change, but still no text or figures appear
Re: Black screen when running code in love2d
This one example only changes background color on click, you can try some tutorials on wiki to help you in the beginning.
But make sure you use same love version as tutorial is made for (newest is 11.4, so use 11.0 - 11.4 tutorials)
But make sure you use same love version as tutorial is made for (newest is 11.4, so use 11.0 - 11.4 tutorials)
Re: Black screen when running code in love2d
Sorry I was distracted my bad lol
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 2 guests