| Mirage Source http://web.miragesource.net/forums/ |
|
| Sprite on 32*40 ... help me pls ^^ http://web.miragesource.net/forums/viewtopic.php?f=201&t=5315 |
Page 1 of 1 |
| Author: | Pix€l [ Wed Mar 25, 2009 7:12 pm ] |
| Post subject: | Sprite on 32*40 ... help me pls ^^ |
Hello, here I would like to improve my game ... How to make sprites or 32 * 40? Thank you for your help! |
|
| Author: | Acruno [ Wed Mar 25, 2009 7:19 pm ] |
| Post subject: | Re: Sprite on 32*40 ... help me pls ^^ |
1. Open paint. 2. Change the canvas size to 32*40. 3. ??? 4. PROFIT!!! |
|
| Author: | William [ Wed Mar 25, 2009 7:48 pm ] |
| Post subject: | Re: Sprite on 32*40 ... help me pls ^^ |
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. |
|
| Author: | Jacob [ Wed Mar 25, 2009 7:52 pm ] |
| Post subject: | Re: Sprite on 32*40 ... help me pls ^^ |
I think it's Size_x and size_y in MS4... Not 100% certain. |
|
| Author: | William [ Wed Mar 25, 2009 7:57 pm ] |
| Post subject: | Re: Sprite on 32*40 ... help me pls ^^ |
Yeah might be it now, havn't checked the source enough. Just realized I havn't finished the byte array version yet.. |
|
| Author: | Jacob [ Wed Mar 25, 2009 8:08 pm ] |
| Post subject: | Re: Sprite on 32*40 ... help me pls ^^ |
If you want help let me know. I've helped Anthony and Matt convert. |
|
| Author: | GIAKEN [ Wed Mar 25, 2009 8:17 pm ] |
| Post subject: | Re: Sprite on 32*40 ... help me pls ^^ |
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. |
|
| Author: | Tony [ Wed Mar 25, 2009 10:49 pm ] |
| Post subject: | Re: Sprite on 32*40 ... help me pls ^^ |
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? |
|
| Author: | GIAKEN [ Wed Mar 25, 2009 10:57 pm ] |
| Post subject: | Re: Sprite on 32*40 ... help me pls ^^ |
What? You move the sprite up 8 pixels. |
|
| Author: | Matt [ Wed Mar 25, 2009 11:02 pm ] |
| Post subject: | Re: Sprite on 32*40 ... help me pls ^^ |
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. |
|
| Author: | GIAKEN [ Thu Mar 26, 2009 12:11 am ] |
| Post subject: | Re: Sprite on 32*40 ... help me pls ^^ |
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... |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|