| Mirage Source http://www.miragesource.net/forums/ |
|
| Questions http://www.miragesource.net/forums/viewtopic.php?f=201&t=4110 |
Page 1 of 1 |
| Author: | Shadow Dragon [ Wed Aug 06, 2008 9:45 pm ] |
| Post subject: | Questions |
Hey guys DarkX ad I are competing to make a actual visual spell tutorial and I was wondering i you could give any good pointers on where to start as far as the visual side since the spells already do the things they need to themselves |
|
| Author: | GIAKEN [ Wed Aug 06, 2008 9:49 pm ] |
| Post subject: | Re: Questions |
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. |
|
| Author: | Shadow Dragon [ Thu Aug 07, 2008 5:11 pm ] |
| Post subject: | Re: Questions |
Ok I have an idea, but I'm not home to try it. I'm using a majority of the NPC sub; which will be the sprite section the sprite selector section, and it will be attached to a modified version of the spell editor, and the spell subs will be modified to support the images. and the editor is going to be sufficiently modified. |
|
| Author: | Robin [ Thu Aug 07, 2008 5:49 pm ] |
| Post subject: | Re: Questions |
Just go rip it from Essence. |
|
| Author: | DarkX [ Thu Aug 07, 2008 6:05 pm ] |
| Post subject: | Re: Questions |
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. |
|
| Author: | Robin [ Thu Aug 07, 2008 6:27 pm ] |
| Post subject: | Re: Questions |
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. |
|
| Author: | Shadow Dragon [ Thu Aug 07, 2008 6:38 pm ] |
| Post subject: | Re: Questions |
See Robin that is what I wanted though I like your coding makes for a great addition, but yeah Dark is right, thanks for the pointers, your awesome. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|