How about, instead of using sprites as objects, sprites define classes, and then the game makes instances of those classes with a Control block or something like "Create Instance of " and then a drop-down box of classes. It would return a value containing the address of the object so you can control it from the game.
Offline