views:

548

answers:

3

I'm looking for alternatives to the Love2D graphics/game library which ideally would support the following:

  • Easy primitive rendering (e.g. points, lines, 2d polygons)
  • Ability to load and draw images
  • basic text rendering (though something more full-featured would be nice)

Do any others exist?

+4  A: 

Try Cairo and LuaCairo.

lhf
This is great for image making, but if i wanted something that drew to a window what would i use? Or would cairo do that too?
RCIX
Cairo's web page says it support X11 and Win32 among several others.
lhf
That just appears to mean that it works on windows...
RCIX
+3  A: 

Try also Canvas Draw.

lhf
I'll take a look at that too, it seems to come with a standard Lua install.
RCIX
CD works quite well used in combination with IUP to provide the UI framework needed to be a well-behaved Windows GUI application.
RBerteig
+1  A: 

There is also the wxWidgets framework, which has a Lua binding named wxLua. It is included in the Lua for Windows batteries-included distribution, and should be as platform-portable as either Lua or wxWidgets itself.

RBerteig