Mirage Source http://web.miragesource.net/forums/ |
|
Sprites http://web.miragesource.net/forums/viewtopic.php?f=201&t=3540 |
Page 1 of 2 |
Author: | crzyone9584 [ Mon Mar 31, 2008 8:15 pm ] | ||
Post subject: | Sprites | ||
Ok i may have missed the answer when i searched for it but here is my question. i have a sprite like the attached image and dont know how to impliment it or change it so that the the engine will know how to use it. how would i go about fixing it.
|
Author: | Asrrin29 [ Mon Mar 31, 2008 8:21 pm ] |
Post subject: | Re: Sprites |
If you have not changed any code at all then the default sprite layout are 32x32 pixel height frames. 3 frames for every direction, all lined up in one row. just use your favorite image editor to rearrange in this case. However, with knowledge of the programming, you can change the code to display whatever you wish. |
Author: | Stomach Pulser [ Mon Mar 31, 2008 8:24 pm ] | ||
Post subject: | Re: Sprites | ||
As of default MSE1, you line them up in one row of sprites. The sections should be 3 sprites wide and 1 sprite wide. Every third sprite is an attack sprite. UUUDDDLLLRRR U = facing up (back to you) D = facing down (front to you) L = facing left (<-) R = facing right (->) Bolded are attack sprites. An example is attached below (includes a sprite with visible attacks and a code) (don't steal this sprite, as it is mine)
|
Author: | crzyone9584 [ Mon Mar 31, 2008 8:26 pm ] |
Post subject: | Re: Sprites |
ok thanks only problem is I'm limited to vb.net 2005 coding. is it basically changing the 32x32 to something that would work with the sprite i have? |
Author: | Asrrin29 [ Mon Mar 31, 2008 9:15 pm ] |
Post subject: | Re: Sprites |
Mirage source, in any and all of its forms is coded in Visual Basic 6. You will need a VB6 compiler to do anything with the code. you can attempt to import the code into VB.net, but rest assured you will have to manually change A LOT of things in the code to get it to even compile. |
Author: | crzyone9584 [ Mon Mar 31, 2008 9:42 pm ] |
Post subject: | Re: Sprites |
guess i didnt mention i have vb6 installed. but dont really know it. im better at vb.net 2005. lol |
Author: | Asrrin29 [ Mon Mar 31, 2008 9:46 pm ] |
Post subject: | Re: Sprites |
My Post still stands. you need to either program it in VB6 or you need to convert it to .net. if you convert to .net, know that you will be spending several days/weeks/months (depending on skill level) sorting out the myriad of bugs that will inevitably pop up. |
Author: | crzyone9584 [ Mon Mar 31, 2008 9:50 pm ] |
Post subject: | Re: Sprites |
and my question still stands in vb6 do i change the 32x32 to something else? |
Author: | Rezeyu [ Tue Apr 01, 2008 12:41 am ] |
Post subject: | Re: Sprites |
Either make the rectangle longer when blitting, or use two blit calls, for top and bottom. |
Author: | Stomach Pulser [ Tue Apr 01, 2008 1:53 am ] |
Post subject: | Re: Sprites |
There is a 64x32 tut here on the forums... |
Author: | crzyone9584 [ Tue Apr 01, 2008 3:18 am ] |
Post subject: | Re: Sprites |
Stomach Pulser wrote: There is a 64x32 tut here on the forums... is this the type of sprite im using? |
Author: | Rezeyu [ Tue Apr 01, 2008 3:28 am ] |
Post subject: | Re: Sprites |
.... you don't know the dimensions of your own images? o.O |
Author: | crzyone9584 [ Tue Apr 01, 2008 5:06 am ] |
Post subject: | Re: Sprites |
nope i used this to generate them. http://www.backwater-productions.net/RMXP_CSG/ i never said it was mine either. |
Author: | Dr. Spoon [ Tue Apr 01, 2008 1:11 pm ] |
Post subject: | Re: Sprites |
there was a sprite converter around here some place made specifically for converting those to mirage format |
Author: | crzyone9584 [ Tue Apr 01, 2008 3:50 pm ] |
Post subject: | Re: Sprites |
alright i searched for the sprite converter and found one. works great. now do i just add the converted file underneath the other sprite in the sprite file in the gfx? then make a ndw clas and say to use sprite 1 i do beleive it is. (i say one because i beleive the first one is 0 if im wrong please correct me) |
Author: | Matt [ Tue Apr 01, 2008 4:11 pm ] |
Post subject: | Re: Sprites |
No, you're right. |
Author: | crzyone9584 [ Tue Apr 01, 2008 4:22 pm ] |
Post subject: | Re: Sprites |
Thanks alot. for the help. i found a converter in the forum by searching and they are working great. |
Author: | Rezeyu [ Tue Apr 01, 2008 9:12 pm ] |
Post subject: | Re: Sprites |
crzyone9584 wrote: nope i used this to generate them. http://www.backwater-productions.net/RMXP_CSG/ i never said it was mine either. Yeah.. they're the RMXP sprites, but I mean is, you can't just.. look at them.. or right click and check the properties.. or measure them in paint.. |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |