So, whenever I run main.love (or when I have the format .lua and drag it onto the love.exe) I get a screen which says "no game" with a speech bubble around it. I figure this must be because it cannot find the main file or something but I can't think of a solution.
The love files are at "C:\Users\mark\Desktop\LOVE2D\love2d"
And the game files are in "C:\Users\mark\Desktop\LOVE2D\love2d\gameprojects\learning"
The main.love file's code is:
Code: Select all
function love.load()
love.graphics.GetBackgroundColor(255,255,255)
end
function love.update(dt)
end
function love.draw()
end
Code: Select all
function love.conf(t)
t.title = "Game"
t.screen.width = 1000
t.screen.height = 750
end
If you have a solution could this please be explained with simple words as I'm new to the concepts of programming.
Thank you.