CM:TS - Humans
The last two months were spent adding humans and their animations. The game allows for full customization of every human, which posed an interesting problem as each body part is drawn as a separate layer. This worked fine in Son of a Witch were you had 20-30 characters on the screen at a time, but in CMTS I want to allow for 100-200 employees in one room. I tried with 100 and the performance dropped significantly.
So I spent some time to write a new layer based draw code that requires a fraction of CPU time then the old one. The new code had some scaling-related bugs as you can see on the screenshot above, but it's all fixed now.
read more... Tweet to @bigosaur Tweet Bigosaur, 2021-10-18