Alternatives to LUA, Python ?
Can anyone recomend any other embedable scripting languages that are suitable for games etc? It as to be object oriented (or provide some sort of hacked way to make it object oriented, like LUA) and high level. I understand that javascript and java can also be embedded, how come they aren't used as much?
[edited by - FearedPixel on March 20, 2003 2:02:59 PM]
Check out Ruby and Scheme, a pure OO language (well, ALMOST pure) and a functional language, respectively.
How appropriate. You fight like a cow.
How appropriate. You fight like a cow.
I''m using embedded Tcl in my game engine. It''s easily embedded, easily extended, and very mature.
http://www.scriptics.com
http://www.scriptics.com
Post Extant Graphical MUD
quote: how come they aren''t used as much?
as much as what? how do you know?
Java can be used, but I would recommend embedding a opensource VM if you distribute over the net.
Otherwise you need to distribute an JVM that is at least 10 mb (Because you aren''t allowed to leave out the class libs).
Im writing a game engine that is mostly Java/C++ and in a way, Java is also scripting language.
Otherwise you need to distribute an JVM that is at least 10 mb (Because you aren''t allowed to leave out the class libs).
Im writing a game engine that is mostly Java/C++ and in a way, Java is also scripting language.
"There is a $500 fine for detonating explosives within the confines of a city"
javascript is also a very large language, and offers little over Lua, which is syntactically similar but far simpler in both design and implementation. <br><br><small>[ <a href="http://www.dinkumware.com/vc_fixes.html">MSVC Fixes</a> | <a href="http://www.sgi.com/tech/stl/">STL Docs</a> | <a href="http://www.libsdl.org/index.html">SDL</a> | <a href="http://www.gameai.com/ai.html">Game AI</a> | <a href="http://www.ecst.csuchico.edu/%7Ebeej/guide/net/">Sockets</a> | <a href="http://www.parashift.com/c++-faq-lite/">C++ Faq Lite</a> | <a href="http://www.boost.org">Boost</a> <br> <a href="http://www.tuxedo.org/~esr/faqs/smart-questions.html">Asking Questions</a> | <a href="http://www.gamedev.net/reference/programming/features/orgfiles/">Organising code files</a> | <a href="http://pages.eidosnet.co.uk/kylotan/downloads.html">My stuff</a> | <a href="http://sourceforge.net/projects/tinyxml">Tiny XML</a> | <a href="http://www.stlport.org">STLPort</a>]</small>
quote: as much as what? how do you know?
I based that on the fact that there are so many posts here on Python, LUA etc, yet I hardly see javascript etc mentioned as an alternative.
So my answers are:
As much as LUA Python etc, I don't I just based that upon what i saw here.
[edited by - FearedPixel on March 21, 2003 8:37:46 AM]
Never knew you could embed javascript in an app.<br>Could you show an example? <img src="smile.gif" width=15 height=15 align=middle>
quote: Original post by Maega
Never knew you could embed javascript in an app.
Could you show an example?
This page has some useful information:
http://www.mozilla.org/js/
[edited by - DaTroof on March 22, 2003 7:59:10 AM]
Post Extant Graphical MUD
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement