Lua Question

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

Post Reply
User avatar
Cole S.
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 59
Joined: Sat Dec 06, 2008 2:49 pm

Lua Question

Post by Cole S. »

Here is a short and simple question for anyone who knows anything about Lua. Is Lua able to access C++ functions or not?
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: Lua Question

Post by avansc »

Cole S. wrote:Here is a short and simple question for anyone who knows anything about Lua. Is Lua able to access C++ functions or not?
yes

do you ever use google for anything? besides porn.
im really not trying to be mean, by PixelP posted a link to a tutorial that does exactly that.
so you are probably not reading the material people give you.

trust me, if you show effort in learning something people will want to help you. but if you just ask and ask and ask. especially when its things you should first try and google.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
User avatar
Cole S.
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 59
Joined: Sat Dec 06, 2008 2:49 pm

Re: Lua Question

Post by Cole S. »

Alright i'm sorry, I forgot about the link to the site Pixel posted but thanks once again!
P.S. I don't look at porn! :mrgreen:
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Lua Question

Post by Falco Girgis »

Cole S. wrote:Alright i'm sorry, I forgot about the link to the site Pixel posted but thanks once again!
P.S. I don't look at porn! :mrgreen:
:shock:

Do you breathe air?
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: Lua Question

Post by avansc »

if it wasn't for porn i don't think i would be the second greatest lover in the universe.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
User avatar
PixelP
Chaos Rift Regular
Chaos Rift Regular
Posts: 153
Joined: Tue Oct 07, 2008 12:23 pm
Programming Language of Choice: c/c++
Location: sweden
Contact:

Re: Lua Question

Post by PixelP »

Cole S. wrote:Alright i'm sorry, I forgot about the link to the site Pixel posted but thanks once again!
P.S. I don't look at porn! :mrgreen:
man.. no porn, no code
User avatar
Trask
ES Beta Backer
ES Beta Backer
Posts: 738
Joined: Wed Oct 29, 2008 8:17 pm
Current Project: Building a 2D Engine
Favorite Gaming Platforms: Sega Genesis and Xbox 360
Programming Language of Choice: C/C++
Location: Pittsburgh, PA
Contact:

Re: Lua Question

Post by Trask »

No porn, then definitely a logic error somewhere.
MarauderIIC wrote:You know those people that are like "CHECK IT OUT I just made Linux run on this piece of celery [or other random object]!!"? Yeah, that's Falco, but with ES.
Dear god, they actually ported ES to a piece of celery!
Martin Golding wrote: "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
Post Reply