
02-07-2006, 01:59 AM
|
|
Psionic Youth
|
 |
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
|
|
|
Why not just, I dunno, alpha separate the bodies and use the new free rotation system to cut things down, then in the ganis attach the heck out of them?
Kinda hard to explain without pictures, but I dun wanna open PSP, so:
Take for example Body.png, Fung Si Yuan Style.
Belt, shirt, sleeves, hands, shoes.
Remove all the sprites that are just rotations of existing sprites. Now it's much smaller (probably only 3 columns).
Add a bunch more sprites where it's just the belt layer, just the shirt layer, just the sleeves, just the hands, just the shoes. Now it's 5 times as wide.
Cut it down to 3 colors - background, black, and white. Whether this saves any memory is a factor of the .png format, I dunno. (Another idea - add a layer for Outline, then it can be a 2-color png. Ow, my brain...)
Using the attach command, composite all these layers back together in the ganis. Kind of a pain, but if you're making ganis from scratch for your server anyway, you may as well.
Now use GScript2's graphics engine to recolor all the individual layers based on the RGBI passed into the gani.
So yeah, I guess it would be possible to dynamically recolor body's on your own. But just glancing over the method...I'm thinking lag = very yes. Every gani would have 5x4 more integers passed into it...for every player on the server... |
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."
"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
 - My pet, the Levelup Gnome
http://forums.graalonline.com/forums...&postcount=233
|
|
|
|