lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, 2006-04-04 at 16:52 +0100, Lisa Parratt wrote:
> Dolan, Ryanne Thomas (UMR-Student) wrote:
> > Funny you say that, because I used my game engine to write a simple 3d shooter, and everything is implemented in Lua with the luaglut binding.  I certianly wouldn't argue with your assertion that Lua is slower than a compiled language, but writing a 3D game engine in Lua isn't that bad of an idea.  At least in my experience, the framerate of a game is influenced most by the geometry it is trying to render, not by the language in which it was written.  For example, my engine's framerate doesn't improve at all when I use LuaJIT, because in reality there isn't much Lua code being interpretted each frame.
> 
> Ah, it delights me when I see a post like this, think to myself "surely 
> you'd be mostly using display lists?" and then realise how hopelessly 
> out of touch with games programming I've become over the years.
> 
> /me grumbles something about having to make do with 8 sprites, and being 
> *happy* about it ;)

Sprites?  Luxury.  We used to have only tiles on the screen and they
weren't even contiguous.  We'd have to write the tiles in 3 banks down
the screen, nary more than two colours per tile, come home, and Dad
would beat us around the head and neck with a broken bottle, if we were
lucky!

;),
- Mab