delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/17/08:27:33

From: "Matt" <guestm AT usa DOT netNOSPAM>
Newsgroups: comp.os.msdos.djgpp
Subject: Scripting Language
Date: 16 Feb 1998 07:04:36 GMT
Organization: Magic Circle Software
Lines: 17
Message-ID: <01bd3a3e$3b75c840$572342d1@ghema.jaguarsystems.com>
NNTP-Posting-Host: usr16-9-9.jaguarsystems.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hey all,

I am in the process of planning this game and have decided to add a
scripting language to help out in level creation.  I want to be able to
attatch snippets of script to tiles on the map, enemies , whatever I feel
like.  For instance, I want to be able to attach a script to a tile that
will, if the player steps on it, spawn a fireball coming from the adjacent
wall to create a trap, and so on.  Anyway, I know how to tokenize the
script file, and have some ideas on how to go about the actual compiling
and executing of the script, but I was hoping someone out there has done
this and could give me some tips on how to run the script at game quality
speed.  I know that it can be done, alot of games use scripts (Duke 3d,
Quake).  Perhaps there is already a library out there to handle this?

thanks alot for your help,

-matt

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019