Do all games have to start off with love.draw?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
k9rosie
Prole
Posts: 3
Joined: Sun Feb 07, 2010 2:58 am

Do all games have to start off with love.draw?

Post by k9rosie »

I'm pretty new the the LOVE Lua (not lua it's self).
User avatar
bmelts
Party member
Posts: 380
Joined: Fri Jan 30, 2009 3:16 am
Location: Wiscönsin
Contact:

Re: Do all games have to start off with love.draw?

Post by bmelts »

Well, no, you can put love.draw pretty much anywhere in your code. But if you don't use it, your game isn't going to look very interesting.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Do all games have to start off with love.draw?

Post by kikito »

I guess you could do a conversational adventure or a roguelike using love.print only.
When I write def I mean function.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Do all games have to start off with love.draw?

Post by Robin »

kikito wrote:I guess you could do a conversational adventure or a roguelike using love.print only.
print(), not love.print() :P

...

But if you use that, there is not really a reason to use LÖVE over just Lua.
Help us help you: attach a .love.
scirath
Citizen
Posts: 85
Joined: Mon Feb 23, 2009 4:44 am

Re: Do all games have to start off with love.draw?

Post by scirath »

Robin wrote:But if you use that, there is not really a reason to use LÖVE over just Lua.
Other than not having Lua itself installed, of course. ;)
(USER MIGHT BE BANNED FOR THIS POST.)
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Do all games have to start off with love.draw?

Post by Robin »

scirath wrote:Other than not having Lua itself installed, of course. ;)
Well, that is a bit silly. :P

Lua alone is about 100-200 KB IIRC, which is a lot less than LÖVE. Also, you usually don't have to install any dependencies for Lua. ;)
Help us help you: attach a .love.
Post Reply

Who is online

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