SFML community forums

General => SFML projects => Topic started by: Lokk on May 30, 2010, 11:37:13 am

Title: sfengine - a Lua game engine
Post 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/
Title: sfengine - a Lua game engine
Post by: WitchD0ctor on June 04, 2010, 12:39:14 am
How did u bind lua to your classes/functions?
Title: sfengine - a Lua game engine
Post by: dunce on June 04, 2010, 05:04:17 am
Looking through the code repository gives the answer: Lokk uses luabind. :)
Title: sfengine - a Lua game engine
Post by: Lokk on June 04, 2010, 05:06:24 am
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)
Title: sfengine - a Lua game engine
Post by: gsaurus on June 11, 2010, 03:59:02 pm
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:
Title: sfengine - a Lua game engine
Post by: Antvg on July 06, 2011, 10:09:30 pm
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?
Title: sfengine - a Lua game engine
Post by: teto on August 12, 2011, 10:25:24 am
Quote

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.