The Code of the only file that really has something, since I can't figure out how to add a file:
Code: Select all
function love.load()
require "player" -- Not Really Anything Right Now
-- Lets add Some Variables!
-- Some Directory Suff first for Variables...
DesktopDirectory = love.filesystem.getUserDirectory().."Desktop"
DesktopFiles = love.filesystem.getDirectoryItems(DesktopDirectory)
-- These are the Images!
images = {
background = love.graphics.newImage("gfx/desktop.png")
}
players = {player.new(10, 10, 10, 10, "gfx/stickman.png", true)}
print(DesktopFiles)
end
function love.update(dt)
end
function love.draw()
love.graphics.draw(images.background)
end