[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [DOS] Using C routines in Lua?
- From: "Anders Bergh" <anders1@...>
- Date: Wed, 6 Jun 2007 10:31:11 +0200
On 6/6/07, L-28C <firstname.lastname@example.org> wrote:
I was looking at LuAllegro for coding games, but it's not even half
finished yet. Is there any way I can use C's Allegro in Lua?
I can't use toLua because I'm on DOS (why does this freak keep on with
that BS, you might say?).
Is there another method? Thanks!
Finish LuAllegro? ;-)
You'll have to bind the functions you need from Allegro. If you don't
want to use LuAllegro, I'd recommend writing parts of your game in C
and then exposing parts of the Allegro API that would be necessary for
writing most of the games in Lua.