Mirage Source
Sprite on 32*40 ... help me pls ^^ - 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: Sprite on 32*40 ... help me pls ^^ (/showthread.php?tid=2649)



Sprite on 32*40 ... help me pls ^^ - Pix€l - 25-03-2009

Hello, here I would like to improve my game ...
How to make sprites or 32 * 40?
Thank you for your help!


Re: Sprite on 32*40 ... help me pls ^^ - Acruno - 25-03-2009

1. Open paint.
2. Change the canvas size to 32*40.
3. ???
4. PROFIT!!!


Re: Sprite on 32*40 ... help me pls ^^ - William - 25-03-2009

Search for pic_y in the source code and change some to 40 instead of the value 32 it stands for. There is also some 32 instances you need to change. But everything is tricky if you dont know programming.

Moved to correct board.


Re: Sprite on 32*40 ... help me pls ^^ - Jacob - 25-03-2009

I think it's Size_x and size_y in MS4... Not 100% certain.


Re: Sprite on 32*40 ... help me pls ^^ - William - 25-03-2009

Yeah might be it now, havn't checked the source enough. Just realized I havn't finished the byte array version yet..


Re: Sprite on 32*40 ... help me pls ^^ - Jacob - 25-03-2009

If you want help let me know. I've helped Anthony and Matt convert.


Re: Sprite on 32*40 ... help me pls ^^ - GIAKEN - 25-03-2009

this is easy.

Find sub BltPlayer and sub BltNpc.

Find x = whatever

Add a - 8 to the end of it (40 - 32, size_y - pic_y)

Then do: Public Const SIZE_Y As Long = 32, and change it to 40.


Re: Sprite on 32*40 ... help me pls ^^ - Tony - 25-03-2009

GIAKEN Wrote:this is easy.

Find sub BltPlayer and sub BltNpc.

Find x = whatever

Add a - 8 to the end of it (40 - 32, size_y - pic_y)

Then do: Public Const SIZE_Y As Long = 32, and change it to 40.

What the hell?


Re: Sprite on 32*40 ... help me pls ^^ - GIAKEN - 25-03-2009

What? You move the sprite up 8 pixels.


Re: Sprite on 32*40 ... help me pls ^^ - Matt - 25-03-2009

GIAKEN Wrote:What? You move the sprite up 8 pixels.

I don't think that's what he's asking for. I think he wants to change the sprite size (32x32) to 32x40. In which case, he needs to search for Size_X as whatever = 32 and Size_Y as whatever = 32 and change those values.


Re: Sprite on 32*40 ... help me pls ^^ - GIAKEN - 26-03-2009

Yes but you need to move the sprite up 8 pixels or it's feet will be at the top of the tile below him...