06-09-2009, 01:10 AM
|
[MS4How would i be able to change the sprite format to this?
|
|
06-09-2009, 01:28 AM
![]() Code: Public Sub DrawSprite(ByVal X As Long, ByVal Y As Long, ByVal Dir As Byte)
06-09-2009, 01:39 AM
Where would i put this i tried to find it but there is none...
06-09-2009, 01:56 AM
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. Quote:Robin:
06-09-2009, 02:12 AM
Yeah it's really simple.
06-09-2009, 02:27 AM
Ahh man i tried but i get lots of errors can some one help?
Code: Public Sub BltPlayer(ByVal Index As Long)
06-09-2009, 02:40 AM
Code: With recThat should be it.
06-09-2009, 02:55 AM
But now it says ERROR Missing file
06-09-2009, 02:56 AM
Umm ok that has nothing to do with BltPlayer. How are you loading your sprites?
06-09-2009, 02:59 AM
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...
06-09-2009, 03:00 AM
Did you actually place .BMP files in there, or did you put .PNG files in there?
Quote:Robin:
06-09-2009, 03:02 AM
it was a Bmp why should it be png?
06-09-2009, 03:06 AM
The sprites you showed us are PNGs.
06-09-2009, 03:25 AM
Hmm wait..
06-09-2009, 03:28 AM
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.
06-09-2009, 03:59 AM
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
06-09-2009, 05:11 AM
Code: Select Case GetPlayerDir(MyIndex)
06-09-2009, 01:08 PM
Aww i cant do it
i keep getting so many errors and i cannot find the GetplayerDir your talking about all you do is paste the code!Sorry.
06-09-2009, 04:31 PM
Oops just change MyIndex to Index there...
|
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)

![[Image: 70b166217121886065c747cbe97b6ad2.png]](http://www.freemmorpgmaker.com/files/imagehost/pics/70b166217121886065c747cbe97b6ad2.png)
![[Image: 9e2a652de3912e30d5f9dfcf393b9ba6.png]](http://www.freemmorpgmaker.com/files/imagehost/pics/9e2a652de3912e30d5f9dfcf393b9ba6.png)


![[Image: rawrup.png]](http://img34.imageshack.us/img34/8251/rawrup.png)
|