Scripting

This is a discussion on Scripting within the Game Programming forums, part of the General Programming Boards category; Ok i am writing a scripting language for my game engine and was wondering the extent on what a scripting ...

  1. #1
    Call me AirBronto
    Join Date
    Sep 2004
    Location
    Indianapolis, Indiana
    Posts
    195

    Scripting

    Ok i am writing a scripting language for my game engine and was wondering the extent on what a scripting language is supposed to allow the scripter to do in terms of stuff like loading a level, creating objects, placing objects, interfacing classes that need scripted flexability like AI, ect.

    Whould this be an appropriate description of some one scripting a particular level.

    -load level with file name
    -create all the objects
    -place all objects
    -add level specific logic
    -ect

    and of couse other things would already be scripted like AI and absolute game logic befor this example would take place

    thanks for the input

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,499
    As much or as little as you want.

    But the more stuff you add, the harder you make it for someone to script a level, but for those that can manage it, they can create a richer customisation.

    The ultimate case being you give them access to every interface of your game engine and let them get to it!
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    Adding to what Salem said: Don't make it to complex. It is a scripting language after all. If you impliment so many features in the scripting language, you may find it to be a bottlneck, or even require that your scripts actually compile into some sort of byte code (ala Java) and run it on a virtual machine.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GUI Scripting
    By QuestionC in forum Tech Board
    Replies: 5
    Last Post: 08-21-2007, 08:31 AM
  2. Reviving my old scripting language.
    By suzakugaiden in forum Game Programming
    Replies: 4
    Last Post: 06-15-2006, 03:02 PM
  3. Replies: 6
    Last Post: 06-08-2006, 04:11 PM
  4. scripting
    By volk in forum Tech Board
    Replies: 4
    Last Post: 05-10-2003, 04:26 PM
  5. Free scripting library?
    By PsychoBrat in forum Windows Programming
    Replies: 3
    Last Post: 11-09-2002, 02:49 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21