Slashdot Mirror


Game Scripting With Python

P. Staurou writes "There is very interesting article about game scripting with Python over at Sylphis3d.com. It talks about how game engines should be structured as operating systems with actors being the processes. The proposed design is based on a special version of Python called Stackless and already successfully implemented in their own Sylphis3D game engine."

4 of 186 comments (clear)

  1. Re:Console Games? by sn0wflake · · Score: 0, Troll

    It's apparently big news on Slashdot because it's Linux related.

  2. Re:Lisp instead of Python by Waffle+Iron · · Score: 0, Troll
    Python is continually vacillating about Lisp thanks to the indecisiveness of Python's benevolent dictator.

    Haha. And how many dozens of incompatible dialects of Lisp are out there? How many object models? How many macro systems?

  3. Either I forgot to do something, or Python is... by planetoid · · Score: 0, Troll

    Either I forgot to do something on my system, or Python is, in my experience, unreliable at best. Most Linux programs that utilize Python that I've downloaded, didn't work; there's usually a missing, necessary Python module the program needs which either requires downloading from an obscure site or doesn't seem to exist at all from Google searches, or even with names that seem they ought already be included (like a module named "os" from a Python-using music tracker program I tried to run). The only program I've used that works seamlessly with Python without fatal problems has been Blender; then again, it only works with Python 2.3.

    --
    Slashdot requires you to wait longer between hitting 'reply' and submitting a comment.
  4. Re:Python is nice but consider LUA for game script by njyoder · · Score: 0, Troll

    That's a piss poor argument. First of all, just because a language is designed to be "embedded", doesn't mean it's good.

    Second of all, that's not really a design issue of the language itself--that's a design issue of the interpreter and the interfaces it provides to other languages.

    Third of all, Python embeds well with C/C++ programs. In fact, there's a Boost (C++) Python library that makes it pretty easy.

    Fourth of all, the domain of Python is of an interpreted language for general purpose programming. Embedable languages are a subset of that domain.

    Fifth of all, your argument is based on (incorrect) generalizations that are admittedly based on ignorance of the Python and LUA languages.

    And I have no idea where you got "OS-level scripting" from.

    Ungh, how did the parent get moded up? Oh yeah, it's Slashdot.