![]() |
Blting Visual Spells - Printable Version +- Mirage Engine (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Blting Visual Spells (/showthread.php?tid=1763) |
Blting Visual Spells - Stomach Pulser - 15-05-2008 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? Re: Blting Visual Spells - Rezeyu - 15-05-2008 Do it how I do it, add .Spell to the playerrec, and blit it in the blt player sub. Re: Blting Visual Spells - Stomach Pulser - 15-05-2008 I tried that, still, while moving, the player will blt ontop... Re: Blting Visual Spells - Robin - 16-05-2008 Call the Blt after the BltPlayer ![]() Re: Blting Visual Spells - Stomach Pulser - 16-05-2008 That Is what I did in the beginning. Then I tried blting before AND after, but same effect... Re: Blting Visual Spells - GIAKEN - 16-05-2008 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... Re: Blting Visual Spells - Stomach Pulser - 16-05-2008 It is blt constantly acording the targets x and y ( and a/y offsets), the timer just controls what is blitted (controls the frame) |