Re: I just don't get it (Was: Scripting Systems)

Jorrit Tyberghein <[email protected]>
Newsgroups gmane.games.devel.general
Message-ID <[email protected]>
Garett Bass wrote:

>Design folks,
>
>	Ok, sorry to distract you all, but I just don't get it.  After reading
>about Brian's problems with his scripts (and additionally having considered
>the problem at length without actually implementing any scripting system
>myself [except for my pitiful attempt at *writing* a scripting system for
>Deer Hunter 3, which we won't go into here for fear of grave embarrassment
>to myself]) it seems to me that "scripting" is being used to solve problems
>that could just as easily be solved by real code.
>
>	Please enlighten my heathen mind: Why not simply compile your "scripts"
>into C/C++ .DLLs?  These are the arguments I can vaguely recall for
>scripting, but I just don't think they hold up:
>  
>
One other reason for not doing this is portability. The projects that 
I'm involved with
are multi-platform. These games have to work on Windows and Linux and 
possibly
also MacOS/X. Having to distribute two or three versions of your dll's 
is a hurdle. If you
can keep the main portion of your game in C++ and then the game logic 
itself in a
portable scripting language then you have some maintenance advantages.

Still another reason is for sending over scripts dynamically over the 
internet. This may
be relevant for some types of games. Doing this with C++ compiled code 
is very hard
to do and sending C++ code requires the client to have a C++ compiler 
which is also
a big burden.

Greetings,




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Gamedevlists-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=557
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.