Do all games have to start off with love.draw?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Do all games have to start off with love.draw?
I'm pretty new the the LOVE Lua (not lua it's self).
Re: Do all games have to start off with love.draw?
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.
- 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?
I guess you could do a conversational adventure or a roguelike using love.print only.
When I write def I mean function.
- 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?
print(), not love.print()kikito wrote:I guess you could do a conversational adventure or a roguelike using love.print only.
...
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.
Re: Do all games have to start off with love.draw?
Other than not having Lua itself installed, of course.Robin wrote:But if you use that, there is not really a reason to use LÖVE over just Lua.
(USER MIGHT BE BANNED FOR THIS POST.)
- 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?
Well, that is a bit silly.scirath wrote:Other than not having Lua itself installed, of course.
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.
Who is online
Users browsing this forum: Bing [Bot] and 3 guests