Welcome to the AngelCode forum
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
typedef unsigned long long int me;
typedef signed short char you;
Yes, a new forum to moderate. Hopefully I'll be able to keep up with this one. I have the advantage of having a personal interest this time so I think it will be ok.
www.AngelCode.com - game development and more...
AngelScript - free scripting library
[edited by - WitchLord on March 9, 2004 1:43:51 PM]
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
Assuming it can compiles scripts to some form of byte code (which I assume it does for speed unless it goes all the way with JIT), is it possible to execute X cycles on the virtual machine (that is, rather then run an entire script/function in one call, use an incremental function that lets the virtual machine do a little bit of work and then return control to the appliction)? My main problem with almost every all other scripting system is that they make the assumption that all script functions can execution within a reasonable amount of time.
I would also be interested in how much of a sandbox environment is provided, and how dependent the virtual machine is on the source language (is it like Java, or more like .NET)
I''m not sure what you mean by a sandbox environment. The virtual machine works with a home grown byte code, but it has been designed for use with C/C++ so it calls the registered system functions directly by copying the parameters onto the application call stack and then invoking the function. For languages that doesn''t work this way, you''ll probably have to write a wrapper for the library, or use proxy functions.
Oops, I have to go now. Time''s up. I''ll come back later to tell you some more.
Andreas
www.AngelCode.com - game development and more...
AngelScript - free scripting library
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
Jayanth.K
Raptor Entertainment Pvt. Ltd.
The scripts use pointers, but as a security issue it doesn''t allow manipulation of them, i.e you cannot read or write the memory that the pointer points to, and you cannot move the pointer manually. The only thing the script can do with pointers is accessing object members (those that are registered by the host application). The script cannot take the address of objects by itself either and doesn''t allow conversion of a pointer type to another type. Basically the script writer is very restricted. Of course, the application writer is allowed to register functions for manipulating pointers directly which might compromise the security.
www.AngelCode.com - game development and more...
AngelScript - free scripting library
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
www.AngelCode.com - game development and more...
AngelScript - free scripting library
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game