![]() |
Sprite Preview - 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: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49) +---- Thread: Sprite Preview (/showthread.php?tid=1641) |
Sprite Preview - original - 25-03-2008 In frmNewChar, when you select a class, can someone give me the code to show a preview of how that sprite looks? I could do the GetVar part, but not the other part of figuring out which class they picked. I'm a still new programmer, so mind if i sound newbish. Re: Sprite Preview - Stomach Pulser - 25-03-2008 There are tutorials in the feature tutorials list, go there first... Re: Sprite Preview - William - 26-03-2008 The EASIEST way possible would be to put the different sprites in a row in a new bmp file. Then put a picture box inside another pixture box. The picture box thats inside should be named picSprites. now on form_load, put: Code: picSprites.picture = loadpicture(the bmp file) Now in your class list. Add: Code: picSprites.top = cmbClass.ListIndex * 32 You will probably see what happens. |