![]() |
[MS4How would i be able to change the sprite format to this? - 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: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51) +----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44) +------ Forum: Bugs Reports (https://mirage-engine.uk/forums/forumdisplay.php?fid=9) +------ Thread: [MS4How would i be able to change the sprite format to this? (/showthread.php?tid=3119) |
[MS4How would i be able to change the sprite format to this? - bluedude13 - 06-09-2009 How can i change the default sprite template in vb6? from ms4 format to rpgmaker format but in the same way as they are now in separate files Like File 1 Sprite1.bmp (or something) ![]() File 2 Sprite2.bmp (Instead of 1 Sprites.bmp) ![]() Re: [MS4How would i be able to change the sprite format to this? - Robin - 06-09-2009 ![]() ![]() Code: Public Sub DrawSprite(ByVal X As Long, ByVal Y As Long, ByVal Dir As Byte) Re: [MS4How would i be able to change the sprite format to this? - bluedude13 - 06-09-2009 Where would i put this i tried to find it but there is none... Re: [MS4How would i be able to change the sprite format to this? - Robin - 06-09-2009 bluedude13 Wrote:Where would i put this i tried to find it but there is none... It's just an example, you'll need to edit BltPlayer to do it yourself. Re: [MS4How would i be able to change the sprite format to this? - GIAKEN - 06-09-2009 Yeah it's really simple. Re: [MS4How would i be able to change the sprite format to this? - bluedude13 - 06-09-2009 Ahh man i tried but i get lots of errors can some one help? Code: Public Sub BltPlayer(ByVal Index As Long) Re: [MS4How would i be able to change the sprite format to this? - GIAKEN - 06-09-2009 Code: With rec That should be it. Re: [MS4How would i be able to change the sprite format to this? - bluedude13 - 06-09-2009 But now it says ERROR Missing file Re: [MS4How would i be able to change the sprite format to this? - GIAKEN - 06-09-2009 Umm ok that has nothing to do with BltPlayer. How are you loading your sprites? Re: [MS4How would i be able to change the sprite format to this? - bluedude13 - 06-09-2009 Well i just changed my sprite to Sprite 16 ( the rpg maker sprite format) and then i changed it to 2.bmp or 17.bmp and everytime it says its missing... Re: [MS4How would i be able to change the sprite format to this? - Robin - 06-09-2009 Did you actually place .BMP files in there, or did you put .PNG files in there? Re: [MS4How would i be able to change the sprite format to this? - bluedude13 - 06-09-2009 it was a Bmp why should it be png? Re: [MS4How would i be able to change the sprite format to this? - GIAKEN - 06-09-2009 The sprites you showed us are PNGs. Re: [MS4How would i be able to change the sprite format to this? - bluedude13 - 06-09-2009 Hmm wait.. Re: [MS4How would i be able to change the sprite format to this? - GIAKEN - 06-09-2009 Open them in paint and save as 24-bit BMPs. And make sure the first sprite file is sprite0 or sprite1 I forgot what it starts at. Re: [MS4How would i be able to change the sprite format to this? - bluedude13 - 06-09-2009 It works now but everything back wards like i tried switching the code around but it didn't work THis is how its like |How its supposed to be| |How it is now ![]() left------------------------------------>Right right---------------------------------->Up up------------------------------------->Down Down---------------------------------->Left Re: [MS4How would i be able to change the sprite format to this? - GIAKEN - 06-09-2009 Code: Select Case GetPlayerDir(MyIndex) Re: [MS4How would i be able to change the sprite format to this? - bluedude13 - 06-09-2009 Aww i cant do it ![]() Sorry. Re: [MS4How would i be able to change the sprite format to this? - GIAKEN - 06-09-2009 Oops just change MyIndex to Index there... |