| Mirage Source http://miragesource.net/forums/ |
|
| Blting Visual Spells http://miragesource.net/forums/viewtopic.php?f=201&t=3729 |
Page 1 of 1 |
| Author: | Stomach Pulser [ Thu May 15, 2008 9:01 pm ] |
| Post subject: | Blting Visual Spells |
Well, I am working on a visual spells system. It is going fine, but I have one slight problem. It blts the spell over the target when they are on a tile, but, when they are moving, it doesn't blt properly (the player is blted over the spell). I have the BltVisSpell Sub Called right before it locks the back buffer (after everything else is drawn). Any help? |
|
| Author: | Rezeyu [ Thu May 15, 2008 9:21 pm ] |
| Post subject: | Re: Blting Visual Spells |
Do it how I do it, add .Spell to the playerrec, and blit it in the blt player sub. |
|
| Author: | Stomach Pulser [ Thu May 15, 2008 11:23 pm ] |
| Post subject: | Re: Blting Visual Spells |
I tried that, still, while moving, the player will blt ontop... |
|
| Author: | Robin [ Fri May 16, 2008 12:02 am ] |
| Post subject: | Re: Blting Visual Spells |
Call the Blt after the BltPlayer |
|
| Author: | Stomach Pulser [ Fri May 16, 2008 1:30 am ] |
| Post subject: | Re: Blting Visual Spells |
That Is what I did in the beginning. Then I tried blting before AND after, but same effect... |
|
| Author: | GIAKEN [ Fri May 16, 2008 2:01 am ] |
| Post subject: | Re: Blting Visual Spells |
Make sure you have it continuously being blt'd and working off the GetPlayerX and GetPlayerY. You might need to fix the number you're using in your timer or something... |
|
| Author: | Stomach Pulser [ Fri May 16, 2008 2:43 am ] |
| Post subject: | Re: Blting Visual Spells |
It is blt constantly acording the targets x and y ( and a/y offsets), the timer just controls what is blitted (controls the frame) |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|