Quote:
Originally Posted by Crow
I thought about drawing an extra shadow at work today. After thoroughly thinking about it, it really doesn't seem that bad. Suppose I'll just do that. Thanks for your help.
|
Well considering how many potential projectiles will be flying around an additional shadow being drawn probably won't add any noticeable FPS loss to PCs.
Can always do something like this with no headache.
PHP Code:
function drawProjectiles() {
temp.ind = 200;
for (temp.projectile: this.projectiles) {
temp.ind = drawProjectile(temp.ind, yadda, yadda);
}
}
function drawProjectile(ind, pani, tx, ty, tz) {
showani2(ind, tx, ty, tz, 2, pani);
showimg(ind + 1, "shadow.png", tx, ty);
return ind+2;
}
People can and have done far worse.