Jump to content

darrenc182

Members
  • Posts

    55
  • Joined

  • Last visited

Everything posted by darrenc182

  1. It's probably because you haven't included using std namespace; before using the string data type, or you should use std::string in place of string. Either option will get you the same results, but the latter does not require using std namespace be defined first.
  2. I'm using a combination of Lua and C++. I am using a version of luabind for my Lua implementation with v2.28 and I'm using Lua for entity behaviour and AI. I am currently quite happy with this combination because I can program with the engine in C++ at a lower level and then expose specially tailored general function to Lua and write scripts using those functions instead of exposing all of the engine's functions. I can also use Lua in a more object oriented way by defining classes in C++ and calling them in Lua, this is similar to what ID software did with their ID Tech 4 engine.
×
×
  • Create New...