|
云帆江 wrote:
i'm using murgaLua,and i want to use LuaSDL with it,so how to start ?
Assuming you are referring to LuaSDL at LuaForge, it's not in a state that is stable or supported. It's a straight tolua++ binding, does not impose any object model, and currently not built as a loadable library. Will gladly hand it over to anyone who wants to seriously redo and maintain it as a LuaRock. So, as far as LuaSDL at LuaForge goes, you're on your own. Note that other SDL Lua bindings exists, so YMMV.
As for murgaLua, looks like it uses FLTK. This may or may not clash with an SDL window; I think there are unofficial hacks to get more than a bare SDL window. But it's best to consider FLTK and SDL mutually exclusive.
HTH, -- Cheers, Kein-Hong Man (esq.) Kuala Lumpur, Malaysia