Jesse,
On 9 Dec 2006, at 10:25, Jesse McGrew wrote:
I'm trying to make an actor with multiple limbs. Each one is an indexed BMP, 58x125 pixels (I eventually want to crop each limb to the correct size and position it separately, but not yet). Here's the costume code: And here's the code to initialize the actor: But when I run the compiled game, Ted isn't visible at all - his speech shows up in the right place, but he doesn't appear himself.
If all of the limbs are full size, then perhaps they are being erroneously drawn over each other?
This is a simple drawing that only uses 6 colors, so I get warnings from the costume compiler: "Warning, image frontarm-standing.bmp doesn't have the same number of colors as the palette: 6 != 16." Do I need to enlarge the palette?
Using the correct palette range would be a good idea. If you are starting from the wrong color in the room palette, or using too few colors in the room palette, i could imagine that things could get messy quite easily. Using the same palette for all the limbs would make sense too, otherwise the global nature of the palette assignment doesn't make any sense.
Also, how does transparency work for actors? Does the room's transparency color setting have anything to do with it--doesn't seem likely since the actors have their own palettes--or is there some other way the VM figures out which color is transparent?
If you look at Alban's devil, the first color in its palette is pink, which leads me to believe that the first color is counted as transparent. As of yet, i have no idea if this is customisable. Perhaps Alban could give some pointers?
Good Luck. -SJU _______________________________________________ ScummC-general mailing list [email protected] https://mail.gna.org/listinfo/scummc-general
