Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sprite on 32*40 ... help me pls ^^
#1
Hello, here I would like to improve my game ...
How to make sprites or 32 * 40?
Thank you for your help!
Reply
#2
1. Open paint.
2. Change the canvas size to 32*40.
3. ???
4. PROFIT!!!
Reply
#3
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.
Reply
#4
I think it's Size_x and size_y in MS4... Not 100% certain.
Reply
#5
Yeah might be it now, havn't checked the source enough. Just realized I havn't finished the byte array version yet..
Reply
#6
If you want help let me know. I've helped Anthony and Matt convert.
Reply
#7
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.
Reply
#8
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?
Reply
#9
What? You move the sprite up 8 pixels.
Reply
#10
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.
Reply
#11
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...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)