help me i am beginner

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
phichet
Prole
Posts: 3
Joined: Tue Mar 02, 2010 7:01 am

help me i am beginner

Post 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
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: help me i am beginner

Post 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").
When I write def I mean function.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 5 guests