newt, I'd like to know what plug-in that is.
Ashley, Yes, that's a great start. I'm trying to make a dynamic sprite. Like 4 different behaviors for monsters, but 10 different faces for each monster. So, 40 unique monster faces and 4 different kinds of behavior. For example, Space Invaders has many kinds of monsters that just move left, right, and down, which can die by spaceship bullet. Shared behavior across object or sprite libraries?
Kyatric, This looks like a great tool, but I'm going to need to fiddle around with it a little, right now, to see if it's what I'm looking for. I was thinking something along the lines of an API/guideline for CSV input, to set properties, actions, etc., and to associate them with objects and objects with sprites. For example: _obj = object name, _img = img_location, _prop = property, etc. '_obj:Monster, _prop:solid, _img:c:\games\images, _act:set_angle_toward_position, _arg1:Player.X, _arg2:Player.Y'
Alternatively, something along these lines: "condition[0]:player_outside_layer, action[0]:spawn_monster[random(5-10)]".
It sounds complicated in psuedoish-code. :) Anyway, I just thought it would be nice to be able to pull random monsters from a huge monster database. I'm basically trying to find a good way to integrate a library of monsters into a game. I actually have over 700 monsters, as I was saying. In fact, the number is much higher (several thousand). And as newt was saying, it's unreasonable to load all these monsters at once. So, I thought I would try to load multiple monsters per scene, map, zone, or level.