SFML community forums
General => SFML projects => Topic started by: Lokk on May 30, 2010, 11:37:13 am
-
Hi,
I post here a new project in development named sfengine wich uses Lua scripting language.
Features
- Scene and object management
- Resources and package management
- Logs and access to XML files
- 2D animations
- GUI renderer
- SFML 2.0 classes
You can view the svn repository here :
http://code.google.com/p/sfengine/source/browse/trunk/
-
How did u bind lua to your classes/functions?
-
Looking through the code repository gives the answer: Lokk uses luabind. :)
-
I use Luabind (http://www.rasterbar.com/products/luabind/docs.html) to bind SFML classes.
The SFML 2.0 binding is almost completed.
I also added some sample tutorials
Compile the library using CMake (http://code.google.com/p/sfengine/wiki/Tutorial_Compile)
Window creation (http://code.google.com/p/sfengine/wiki/Tutorial_Window)
Scene and object management (http://code.google.com/p/sfengine/wiki/Tutorial_Objects)
-
Good work!
I'm about to use Lua for my beat'em ups engine too (but I'm still tracing it's architecture...)
Btw, not wanting to annoy you, but remember to write Lua correctly (not LUA) (http://www.lua.org/about.html#name) :wink:
-
Hi, Lokk!
I tried to compile your engine, but encountered some problems. When compiling it can't find boost library. Many errors like that:
..extlibs\luabind\luabind/config.hpp(27): fatal error C1083: Cannot open include file: boost/config.hpp: No such file or directory
I also tried putting boost path to cmake configuration, but it didn't help.
What am i doing wrong?
-
I also tried putting boost path to cmake configuration, but it didn't help.
I guess you added a wrong path for boost.
I am going to check this engine which may be very interesting if well designed. Have a look at love2d (love2d.org) to get some inspiration if you need. It's a really easy to use based on the same concepts as yours.