Mirage Source
Sprites - Printable Version

+- Mirage Source (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: Sprites (/showthread.php?tid=1649)



Sprites - crzyone9584 - 31-03-2008

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.


Re: Sprites - Stomach Pulser - 31-03-2008

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 ()
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)


Re: Sprites - crzyone9584 - 31-03-2008

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?


Re: Sprites - crzyone9584 - 31-03-2008

guess i didnt mention i have vb6 installed. but dont really know it. im better at vb.net 2005. lol


Re: Sprites - crzyone9584 - 31-03-2008

and my question still stands in vb6 do i change the 32x32 to something else?


Re: Sprites - Rezeyu - 01-04-2008

Either make the rectangle longer when blitting, or use two blit calls, for top and bottom.


Re: Sprites - Stomach Pulser - 01-04-2008

There is a 64x32 tut here on the forums...


Re: Sprites - crzyone9584 - 01-04-2008

Stomach Pulser Wrote:There is a 64x32 tut here on the forums...
is this the type of sprite im using?


Re: Sprites - Rezeyu - 01-04-2008

.... you don't know the dimensions of your own images?

o.O


Re: Sprites - crzyone9584 - 01-04-2008

nope i used this to generate them.

http://www.backwater-productions.net/RMXP_CSG/

i never said it was mine either.


Re: Sprites - Dr. Spoon - 01-04-2008

there was a sprite converter around here some place
made specifically for converting those to mirage format


Re: Sprites - crzyone9584 - 01-04-2008

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)


Re: Sprites - Matt - 01-04-2008

No, you're right.


Re: Sprites - crzyone9584 - 01-04-2008

Thanks alot. for the help.

i found a converter in the forum by searching and they are working great.


Re: Sprites - Rezeyu - 01-04-2008

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..