Re: [F-Script-talk] Re: Problem with variables defined in block
Brought to you by:
pmougin
From: <kmo...@sp...> - 2003-09-16 09:16:19
|
Hi, thanks for the quick and detailed answer. It really helped me to =20 understand what is going on behind the scenes a little bit better and =20= solves my problem. Am Montag, 15.09.03, um 23:20 Uhr (Europe/Berlin) schrieb Philippe =20 Mougin: > Finally, I should add that you can directly save and load blocks =20 > to/from files. See section 9 in the manual. Yes, I had seen that. but [Block save/load] will serialize/deserialize =20= the Block-object, and not save a text representation, correct? And =20 since I want to be able to generate and manipulate my scripts in a text =20= editor, I think a cannot use this method. > BTW, feel free to let us know about your game and how you use F-Script = =20 > in this project. Well, it's nothing professional, but a project I want to submit to a =20 Macintosh game programming contest called uDevGames (see =20 http://www.idevgames.com/content/contest.php?id=3D10). The game ("Retro =20= Maze") is an oldfashioned role playing game with a very simple, tile =20 based 3d-engine. The game's basic framework is done i Cocoa/ObjC. Now I =20= plan to use fscript to glue everything together. More important, I want =20= to attach scripts to various game objects (tiles, monster, walls, ...). =20= These scripts will be executed whenever some condition is met (e.g. a =20= tile's script is executed when the player walks over it) and provide =20 the game with the actual action. I guess I could have used just about any scripting language to do that. =20= However, fscript caught my eye through the articles on the =20 O'Reilly-network. It looked different, but very interesting and elegant =20= - I was really fascinated by the fact that control structures are =20 implemented using blocks and messages! Since portability to other =20 platforms is not a concern for me, it doesn't matter that fscript is =20 only available on OSX at the moment. Merci bien, Knud ------------------------------------------------------------------------=20= ---------------- Knud M=F6ller - Institut f=FCr Sprachliche Informationsverarbeitung, Universit=E4t zu K=F6ln (Department of Linguistic Data Processing, University of Cologne, Germany) http://www.spinfo.uni-koeln.de/~kmoeller ------------------------------------------------------------------------=20= ---------------- |