Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: sfengine - a Lua game engine  (Read 10119 times)

0 Members and 1 Guest are viewing this topic.

Lokk

  • Full Member
  • ***
  • Posts: 228
    • View Profile
    • http://betadineproject.wordpress.com/
sfengine - a Lua game engine
« 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/

WitchD0ctor

  • Full Member
  • ***
  • Posts: 100
    • View Profile
    • http://www.teleforce-blogspot.com
sfengine - a Lua game engine
« Reply #1 on: June 04, 2010, 12:39:14 am »
How did u bind lua to your classes/functions?
John Carmack can Divide by zer0.

dunce

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
sfengine - a Lua game engine
« Reply #2 on: June 04, 2010, 05:04:17 am »
Looking through the code repository gives the answer: Lokk uses luabind. :)

Lokk

  • Full Member
  • ***
  • Posts: 228
    • View Profile
    • http://betadineproject.wordpress.com/
sfengine - a Lua game engine
« Reply #3 on: June 04, 2010, 05:06:24 am »
I use Luabind to bind SFML classes.

The SFML 2.0 binding is almost completed.

I also added some sample tutorials
Compile the library using CMake
Window creation
Scene and object management

gsaurus

  • Sr. Member
  • ****
  • Posts: 262
    • View Profile
    • Evolution Engine
sfengine - a Lua game engine
« Reply #4 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)  :wink:
Pluma - Plug-in Management Framework

Antvg

  • Newbie
  • *
  • Posts: 1
    • View Profile
sfengine - a Lua game engine
« Reply #5 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?

teto

  • Newbie
  • *
  • Posts: 35
    • View Profile
sfengine - a Lua game engine
« Reply #6 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.
See you net cow-boy ...