Trouble with Visual Studio Code & LOVE

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
Randalthor
Prole
Posts: 2
Joined: Sun Oct 08, 2017 12:11 am

Trouble with Visual Studio Code & LOVE

Post 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?
Randalthor
Prole
Posts: 2
Joined: Sun Oct 08, 2017 12:11 am

Re: Trouble with Visual Studio Code & LOVE

Post 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)
User avatar
slime
Solid Snayke
Posts: 3132
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Trouble with Visual Studio Code & LOVE

Post by slime »

Tai'shar Manetheren. :)
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 212 guests