Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Blting Visual Spells
#1
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?
Reply
#2
Do it how I do it, add .Spell to the playerrec, and blit it in the blt player sub.
Reply
#3
I tried that, still, while moving, the player will blt ontop...
Reply
#4
Call the Blt after the BltPlayer Tongue
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#5
That Is what I did in the beginning. Then I tried blting before AND after, but same effect...
Reply
#6
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...
Reply
#7
It is blt constantly acording the targets x and y ( and a/y offsets), the timer just controls what is blitted (controls the frame)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)