Page 1 of 1

help me i am beginner

Posted: Tue Mar 02, 2010 7:44 am
by phichet
1.i want a compiler for love 0.6.1 on windows xp please suggest me
2.how to install love engine to use with compiler on windows
3.how to compile engine and run program

thank you for reading and posting

Re: help me i am beginner

Posted: Tue Mar 02, 2010 12:43 pm
by kikito
phichet wrote:1.i want a compiler for love 0.6.1 on windows xp please suggest me
Are you sure you need to compile anything? Love is already an "interpreter". You can find it on the downloads section.
phichet wrote:2.how to install love engine to use with compiler on windows
LÖVE isn't supposed to be used with a compiler (unless you are developing LÖVE itself).
phichet wrote:3.how to compile engine and run program
Download the installer, install it on a folder (for example c:\love).
Then create a folder in c:\love\game1
Create a file named c:\love\game1\main.lua

Write the following on the file you just created:

Code: Select all

function love.draw()
  love.graphics.print( "Hello", 100, 100)
end
Open a windows console and write:

Code: Select all

cd c:\love\game1
../love .
This should execute the game you just wrote (should print the world "hello").