Mirage Engine
I think Pando made it.. - Printable Version

+- Mirage Engine (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: I think Pando made it.. (/showthread.php?tid=622)



I think Pando made it.. - Matt - 10-01-2007

The sprite converter. I was curious how to make it work for 64x64 sprites. I can't get it for the life of me. =\


- Tony - 10-01-2007

Quote:Call BitBlt(frmConverted.picConverted.hdc, 96, 15, 32, 48, picLoaded.hdc, 32, 144, SRCCOPY)

Well I just messed around with the BitBlt function. It was pretty fun making it though. :]

Reason that I used 32*48 is because it wasn't exactly 32*64 but divided by 48 = 4 :] There you go.


- Matt - 10-01-2007

Oh, okay. Thanks. ^_^

I will post the modified source if you'd like.


- Tony - 11-01-2007

nah its okay. If users want it then its your choice.


- Matt - 11-01-2007

Ha, I can't get it anyway. I can't get it to save bigger than you had it set to save. Lol.

I will toy around with it more a bit later.


- Tony - 11-01-2007

Position the blitted (converted images) Im guessing just add 32 to x right? Then just make the picBoxes bigger.


- Matt - 11-01-2007

Okay, I'll give it a shot.

^_^


- Tony - 11-01-2007

Goodluck. I'll be working on my offline RPG ( Side Project ) If you need help.


- Matt - 11-01-2007

I got it, trying for 96x96, but there's an issue. It will only save the first three directions, it won't save the last one. It just cuts it out. Lol.