has anybody been on these two site

General discussion about LÖVE, Lua, game development, puns, and unicorns.
kingslovelua
Citizen
Posts: 71
Joined: Mon Sep 26, 2011 7:16 pm

Re: has anybody been on these two site

Post by kingslovelua »

tentus wrote:
kingslovelua wrote:
Taehl wrote:You can't really make a game in pure Lua - there's no way to have sounds, graphics, non-blocking input... You'd basically be able to make an old-school roguelike or text-based adventure game, but that's about it.
so what are the demos and project i see some of the members making there games out off
You do realize what Love is, right?
from what i have learn so far love is a farmwork made from c or c++ and all the functions and tables are from c/c++, and second lua has to be embedded in a host to actually run so I'm guessing love act as a host program to run lua and lua just thinks it's embedded in another program

if im wrong please correct me
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: has anybody been on these two site

Post by kikito »

kingslovelua wrote:from what i have learn so far love is a farmwork made from c or c++ and all the functions and tables are from c/c++
You are mostly correct.

Some functions and tables are provided by the framework - namely, those that begin with "love" - "love.graphics.*", "love.filesystem.*" ,etc. Not all of them are in C++ - some of them are written in Lua (for example love.run).

Other functions (for example upack, table.* or string.*) are provided by Lua directly. Notice none of them are graphics or sound-related. Indeed, if you want to use graphics or sound with Lua, you need to embed it into something else that provides interfaces to those from Lua - and that's what LÖVE does.
I want it ( it mean toturial or what ever the source is) to teach me Lua while making a game in lov2d maybe that's to much to ask for I guess the reason why I'm asking for it that way because that how I was learning c# and xna, as one and that's what I feel comfortable with and what im trying to do in the long run.
I tried to make something similar to that on my love tile tutorial. Unfortunately it is not finished. But there's a whole chapter dedicated to the basics - tables, loops and strings. Functions are taught "on the go", later on, in chapter 1, section e.

If you are interested in learning Lua as a language, you might also want to give a look at my Lua missions. They are a set of exercises designed to help you learn the language itself; LÖVE isn't used (or required) to make the exercises.
When I write def I mean function.
kingslovelua
Citizen
Posts: 71
Joined: Mon Sep 26, 2011 7:16 pm

Re: has anybody been on these two site

Post by kingslovelua »

kikito wrote:
kingslovelua wrote:from what i have learn so far love is a farmwork made from c or c++ and all the functions and tables are from c/c++
You are mostly correct.

Some functions and tables are provided by the framework - namely, those that begin with "love" - "love.graphics.*", "love.filesystem.*" ,etc. Not all of them are in C++ - some of them are written in Lua (for example love.run).

Other functions (for example upack, table.* or string.*) are provided by Lua directly. Notice none of them are graphics or sound-related. Indeed, if you want to use graphics or sound with Lua, you need to embed it into something else that provides interfaces to those from Lua - and that's what LÖVE does.
I want it ( it mean toturial or what ever the source is) to teach me Lua while making a game in lov2d maybe that's to much to ask for I guess the reason why I'm asking for it that way because that how I was learning c# and xna, as one and that's what I feel comfortable with and what im trying to do in the long run.
I tried to make something similar to that on my love tile tutorial. Unfortunately it is not finished. But there's a whole chapter dedicated to the basics - tables, loops and strings. Functions are taught "on the go", later on, in chapter 1, section e.

If you are interested in learning Lua as a language, you might also want to give a look at my Lua missions. They are a set of exercises designed to help you learn the language itself; LÖVE isn't used (or required) to make the exercises.
i'm going to read them tonight i've been slick
kingslovelua
Citizen
Posts: 71
Joined: Mon Sep 26, 2011 7:16 pm

Re: has anybody been on these two site

Post by kingslovelua »

kikito wrote:
kingslovelua wrote:from what i have learn so far love is a farmwork made from c or c++ and all the functions and tables are from c/c++
You are mostly correct.

Some functions and tables are provided by the framework - namely, those that begin with "love" - "love.graphics.*", "love.filesystem.*" ,etc. Not all of them are in C++ - some of them are written in Lua (for example love.run).

Other functions (for example upack, table.* or string.*) are provided by Lua directly. Notice none of them are graphics or sound-related. Indeed, if you want to use graphics or sound with Lua, you need to embed it into something else that provides interfaces to those from Lua - and that's what LÖVE does.
I want it ( it mean toturial or what ever the source is) to teach me Lua while making a game in lov2d maybe that's to much to ask for I guess the reason why I'm asking for it that way because that how I was learning c# and xna, as one and that's what I feel comfortable with and what im trying to do in the long run.
I tried to make something similar to that on my love tile tutorial. Unfortunately it is not finished. But there's a whole chapter dedicated to the basics - tables, loops and strings. Functions are taught "on the go", later on, in chapter 1, section e.

If you are interested in learning Lua as a language, you might also want to give a look at my Lua missions. They are a set of exercises designed to help you learn the language itself; LÖVE isn't used (or required) to make the exercises.

why donts my print high light like yours

function love.draw()
love.graphics.print(Message, 200, 200)
end
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: has anybody been on these two site

Post by kikito »

kingslovelua wrote:why donts my print high light like yours
You mean, in the forums, right? You have to surround your code with [ code ] and [/ code ] (without spaces). So writing this:

[ code ]
function love.draw()
love.graphics.print(Message, 200, 200)
end
[/ code ]

Removing the spaces will give you this:

Code: Select all

function love.draw()
  love.graphics.print(Message, 200, 200)
end
When I write def I mean function.
kingslovelua
Citizen
Posts: 71
Joined: Mon Sep 26, 2011 7:16 pm

Re: has anybody been on these two site

Post by kingslovelua »

kikito wrote:
kingslovelua wrote:why donts my print high light like yours
You mean, in the forums, right? You have to surround your code with [ code ] and [/ code ] (without spaces). So writing this:

[ code ]
function love.draw()
love.graphics.print(Message, 200, 200)
end
[/ code ]

Removing the spaces will give you this:

Code: Select all

function love.draw()
  love.graphics.print(Message, 200, 200)
end


no I mean in the Scite
User avatar
Ellohir
Party member
Posts: 235
Joined: Sat Oct 22, 2011 11:12 pm

Re: has anybody been on these two site

Post by Ellohir »

kingslovelua
Citizen
Posts: 71
Joined: Mon Sep 26, 2011 7:16 pm

Re: has anybody been on these two site

Post by kingslovelua »

Jasoco wrote:What's a Scite?

SciTE
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: has anybody been on these two site

Post by Jasoco »

kingslovelua wrote:
Jasoco wrote:What's a Scite?
SciTE
Had you spelled it that way in the first place I probably wouldn't have asked. :P
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests