Best Scripting language for small things

Discussion about everything. New games, 3d math, development tips...
Post Reply
jimmythepage
Posts: 16
Joined: Sun May 21, 2006 8:52 pm

Best Scripting language for small things

Post by jimmythepage »

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--
AndyCR
Posts: 110
Joined: Tue Nov 08, 2005 2:51 pm
Location: Colorado, USA
Contact:

Post by AndyCR »

what about angelscript? www.angelcode.com

python may work too: www.python.org
jimmythepage
Posts: 16
Joined: Sun May 21, 2006 8:52 pm

Post by jimmythepage »

tnx for the hint..I will try angelscript(i compile it yet,and this is great news for me :D )...tnx a lot..
jimmythepage
Posts: 16
Joined: Sun May 21, 2006 8:52 pm

Post by jimmythepage »

is there any very beginner tutorial of angelscript??is it possible that tochange externally some variable value i must destroy my brain??
for example:a tutorial that says how to show an int value on the console,int that can be change from script file..

tnx
TheWorstCoderEver
Posts: 47
Joined: Wed Feb 01, 2006 8:09 pm
Location: Wroclaw
Contact:

Post by TheWorstCoderEver »

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
jimmythepage
Posts: 16
Joined: Sun May 21, 2006 8:52 pm

Post by jimmythepage »

the level difficult is relative..Sometimes i manage to do some thing that other can't do and viceversa...so...

anyway tnx for the links,i'ill study with much attention,expetially monkeyscript,i find it very interesting..

bye bye abd tnx again..
jimmythepage
Posts: 16
Joined: Sun May 21, 2006 8:52 pm

Post by jimmythepage »

other question:

I found more simple than other TinyXml,i can do very little thing but finally i can...

now the question is:
how can i converte the string of an xml into irr::c8 type??

ritnx
TheRLG
Posts: 372
Joined: Thu Oct 07, 2004 11:20 pm

Post by TheRLG »

yes you can jimmy, yes you can.
jimmythepage
Posts: 16
Joined: Sun May 21, 2006 8:52 pm

Post by jimmythepage »

mmm tnx for the news :lol: ...I CAN...Now i know that....

but.......

how???
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I don't think that you can convert a complete string into a single character, maybe try irr:stringc :idea:
AndyCR
Posts: 110
Joined: Tue Nov 08, 2005 2:51 pm
Location: Colorado, USA
Contact:

Post by AndyCR »

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)
Post Reply