Best Scripting language for small things
-
- Posts: 16
- Joined: Sun May 21, 2006 8:52 pm
Best Scripting language for small things
HI...
I'm searching a very simple to use and compile scripting language for doing very small things like define extern variable to c++ to change it when i want or similar easy thing..
I'tried lua but is too hard for me..tolua++ don't compile well..
anyone know simple scripting language??
tnx a lot--
I'm searching a very simple to use and compile scripting language for doing very small things like define extern variable to c++ to change it when i want or similar easy thing..
I'tried lua but is too hard for me..tolua++ don't compile well..
anyone know simple scripting language??
tnx a lot--
New RF2 website at: http://realityfactory2.sourceforge.net/
-
- Posts: 16
- Joined: Sun May 21, 2006 8:52 pm
-
- Posts: 16
- Joined: Sun May 21, 2006 8:52 pm
-
- Posts: 47
- Joined: Wed Feb 01, 2006 8:09 pm
- Location: Wroclaw
- Contact:
LUA difficult? I protest. Even the worst coder on this forum can easily integrate his framework with Lua. Lua's only drawback is that it's a structural language. In other words, it's not object oriented. That's why I'd advise you to take a look at GameMonkey ( http://www.somedude.net/gamemonkey/ ), as well as those useful articles on GameDev:
http://www.gamedev.net/reference/articl ... le2282.asp
http://www.gamedev.net/reference/articl ... le2296.asp
http://www.gamedev.net/reference/articl ... le2282.asp
http://www.gamedev.net/reference/articl ... le2296.asp
-
- Posts: 16
- Joined: Sun May 21, 2006 8:52 pm
-
- Posts: 16
- Joined: Sun May 21, 2006 8:52 pm
-
- Posts: 16
- Joined: Sun May 21, 2006 8:52 pm
to get a single character from a string:
string[characternumber]
returns the c8 character of number characternumber from the irr::core::string<c8> string.
to convert it to a c8 pointer:
(c8*)string.c_str()
(untested, but should work)
to convert it to a char pointer:
(char*)string.c_str()
(same warning applies)
string[characternumber]
returns the c8 character of number characternumber from the irr::core::string<c8> string.
to convert it to a c8 pointer:
(c8*)string.c_str()
(untested, but should work)
to convert it to a char pointer:
(char*)string.c_str()
(same warning applies)
New RF2 website at: http://realityfactory2.sourceforge.net/