Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-02-2011, 12:00 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Crow View Post
Dammit, I seriously wanted to avoid **** like that :/ I'll give it a try, but this is one of the most annoying workarounds I've seen so far. I hope some genius will come up with something more elegant. Thanks, though.
Tested my work-around and nothing happened (at least not with my idle_test gani) so the best plan of action until this bug was fixed (or image property that needs to be added) would be to just draw a shadow at 0 z.
__________________
Quote:

Last edited by fowlplay4; 02-02-2011 at 12:31 AM..
Reply With Quote
  #2  
Old 02-02-2011, 06:15 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by fowlplay4 View Post
Tested my work-around and nothing happened (at least not with my idle_test gani) so the best plan of action until this bug was fixed (or image property that needs to be added) would be to just draw a shadow at 0 z.
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.
Reply With Quote
  #3  
Old 02-02-2011, 06:33 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Crow View Post
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.projectilethis.projectiles) {
    
temp.ind drawProjectile(temp.indyaddayadda);
  }
}

function 
drawProjectile(indpanitxtytz) {
  
showani2(indtxtytz2pani);
  
showimg(ind 1"shadow.png"txty);
  return 
ind+2;

People can and have done far worse.
__________________
Quote:
Reply With Quote
  #4  
Old 02-02-2011, 06:38 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by fowlplay4 View Post
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.
My thought exactly
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.