Mirage Engine
Questions - 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: Questions (/showthread.php?tid=1993)



Re: Questions - GIAKEN - 06-08-2008

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.


Re: Questions - Robin - 07-08-2008

Just go rip it from Essence.


Re: Questions - DarkX - 07-08-2008

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.


Re: Questions - Robin - 07-08-2008

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.