Hello....

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
powermousey
Prole
Posts: 2
Joined: Fri Jan 09, 2009 3:47 pm

Hello....

Post by powermousey »

Hello,

I'm the power mousey. I came across this LOVE 2d game engine while browsing and checking out
on Google about 2d game programming tutorials. And I must say that I do like LOVE.
As much as I like and enjoy watching the LOST tv series, I'm LOST on LOVE.
I know no nothing of SDL, nor even of LUA.

So please be pateint and understanding when I ask these noobish questions which could of been asked
and answered before. Also, I come from another world of programming in and with Blitz Basic, Dark Basic Professional,
Cobra, and some 3d Game Studio.

Here are some questions:

I'm sensing that I have to learn LUA, or at least a familarity of some of the commands and functions.
And that I can use them in and with LOVE. Is this correct?

Without getting bogged down and learning this LEIF GUI Library(not just yet), what are some input
commands I can use for both text and numbers? Or do I have to create my own user input routines?
Just like in Cobra

When using the LOVE engine, how do I call my own routines and functions?
I could not find any information in the docs. Unless I skipped over them.

Will there be more commands and functions added in future versions of LOVE?

Thank you.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Hello....

Post by bartbes »

powermousey wrote: I'm sensing that I have to learn LUA, or at least a familarity of some of the commands and functions.
And that I can use them in and with LOVE. Is this correct?
Yes, you do have to learn Lua, or get familiar with it.
powermousey wrote: Without getting bogged down and learning this LEIF GUI Library(not just yet), what are some input
commands I can use for both text and numbers? Or do I have to create my own user input routines?
Just like in Cobra
You have to write your own. (use the keypressed and keyreleased functions or love.keyboard.isDown)
powermousey wrote: When using the LOVE engine, how do I call my own routines and functions?
I could not find any information in the docs. Unless I skipped over them.
Call them whatever you like. Most people do everything in global namespace and as long as you don't have conflicting names, it doesn't matter.
powermousey wrote: Will there be more commands and functions added in future versions of LOVE?
There should be, however rude will have to answer to that.
User avatar
osgeld
Party member
Posts: 303
Joined: Sun Nov 23, 2008 10:13 pm

Re: Hello....

Post by osgeld »

powermousey wrote: When using the LOVE engine, how do I call my own routines and functions?
I could not find any information in the docs. Unless I skipped over them.
just to expand on this a bit more, in your global namespace its just

Code: Select all

function foo(optional vars)
    code
end
then when i want to use it

Code: Select all

foo()
and heres a link to the plain basic lua manual but when using a lua api you will be mostly using their functions for the majority of your scripts

http://www.lua.org/manual/5.1/
powermousey
Prole
Posts: 2
Joined: Fri Jan 09, 2009 3:47 pm

Re: Hello....

Post by powermousey »

thank you bartbes and osgeld.

and hey, that was going to be my next question osgeld.
thanks again. ;)
Post Reply

Who is online

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