It's pretty easy to do.
For picking the spells set up a system like the NPC sprite picker. You can also set the time for the animation and so on...however "fancy" you want to make it.
For blt'ing use the sprite number and just loop through the frames using the animation time.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Just go rip it from Essence.
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?
Robin we are competing against each other to make something not rip it from your engine so as mean as this sounds, please give help not suggest ripping your stuff. Thanks Korrey D.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Why write it out when I've already done it as well as you're gonna get with Mirage? :|
If you want some pointers though, here you go:
1. Add values to store the icon number. Obviously.
2. Use BltToDC and manually write out the co-ordinates of the rendering, rather than using multiple image boxes.
3. For the mouse scanning, do it manually as well. Just re-use the co-ordinates used for the rendering to save coding space.
4. Make sure you add it to the damn spell packets.
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?