Page 1 of 1

Trouble with Visual Studio Code & LOVE

Posted: Sun Oct 08, 2017 12:22 am
by Randalthor
Hello!


I've just recently been introduced to LOVE and Lua, and I found a decent tutorial by Recursor at "https://www.youtube.com/watch?v=Jte9o4S6rlo" that helped me get started. My problem however, is that

Code: Select all

function love.draw()
    love.graphics.print("Hello World!",10,100,r,sx,sy,ox,oy)
end
doesn't seem to appear in the Game. And instead, just remains a solid black background. This was structured under a file I made, over the file within main.lua .



https://puu.sh/xSBsj/5d2116c8f8.png
https://puu.sh/xSBub/d6e9d54e23.png

It's functional, but it doesn't seem to make the code valid at all. Does anyone know how I can fix this?

Re: Trouble with Visual Studio Code & LOVE

Posted: Sun Oct 08, 2017 12:47 am
by Randalthor
I actually just solved this issue on my own while this thread was waiting for approval, OVER the entirety of the 2 hours I was trying to figure this out haha. Sorry about that!


(The code needs to be saved every time, before opening up the game to see the changes. Simple)

Re: Trouble with Visual Studio Code & LOVE

Posted: Sun Oct 08, 2017 1:39 am
by slime
Tai'shar Manetheren. :)