Skip to content

Instantly share code, notes, and snippets.

@dvdfu
Created August 28, 2015 19:20
Show Gist options
  • Save dvdfu/721383228539aa0104e0 to your computer and use it in GitHub Desktop.
Save dvdfu/721383228539aa0104e0 to your computer and use it in GitHub Desktop.
#!/bin/bash
#main.lua
echo "package.path = '.?/?.lua;.lml/?/?.lua;'..package.path
function love.load()
end
function love.update(dt)
end
function love.draw()
end" > main.lua
#conf.lua
echo "function love.conf(t)
t.window.title = \"Game Title\"
t.window.fullscreen = false
t.window.resizable = false
t.window.vsync = true
t.window.width = 640
t.window.height = 480
end" > conf.lua
#dependencies
git clone git://github.com/vrld/hump .hump
git clone git://github.com/kikito/bump.lua.git .bump
git clone git://github.com/kikito/middleclass .middleclass
git clone git://github.com/kikito/stateful.lua .stateful
git clone [email protected]:bartbes/love-misc-libs.git .lml
#.gitignore
echo ".*/
autogen.sh" > .gitignore
#folders
mkdir assets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment