How is this working?
Posted: Sun Jan 08, 2012 9:16 pm
On both websites http://love2d.org/wiki/Getting_Started http://love2d.org/wiki/Main_Page_(Nederlands)
The way yo have to make a Love file is not quit understandable?
This is what i do i make a file
I make a directory
in that file i write:
from this file a make a zip and give it the name test.zip
then a rename the test.zip file in test.love
When i exequite the file this is waht it say's
Greating Ayla
from that
The way yo have to make a Love file is not quit understandable?
This is what i do i make a file
I make a directory
Code: Select all
mkdir test
Code: Select all
cd test
Code: Select all
gedit main.lua
Code: Select all
function love.draw()
love.graphics.print('Hallo Wereld!', 400, 300)
end
Code: Select all
main.lua
then a rename the test.zip file in test.love
When i exequite the file this is waht it say's
Error: [string "boot.lua"]:1: No code to run
Your game might be packaged incorrectly
Make sure main.lua is at the top level of the zip
stack traceback:
[C]: in function 'error'
[string "boot.lua"]:1: in function <[string "boot.lua"]:1>
[C]: in function 'xpcall'
Greating Ayla
from that