19-08-2006, 11:43 AM
It may look complicated, but all you have to do is edit BltPlayer.
I'm pretty new to programming, and I don't spend too much time running through Mirage's code, but when I got the source one of the first things I did was add in 4 walking animations, and an "idle" animation.
I also changed the way Sprites.bmp is set out. I changed the layout to that of the RPG Maker's (because I have bigger sprites)
Now, the first thing you need to do is find the bit at the top (below the redundant code) the one with the Anim=0 above it.
That tells the game, that when the player is half-way over a tile, it changes the animation.
What you want to do (I think :S) is have it like this:
Again, I'm not sure. I don't have any mirage source on my computer, only Naruto Realm, and I don't have time to download it either.
As for attack, find the code at the bottom, below the "else" and change the 2 to 3.
Further down still you will find the code which find's the left of the sprite you are blting.
At the moment, it time's you direction by 2 and times by 32, to get pass the other direction's sprites. You need to change that 2 to a 3.
And I'm pretty sure that's all.
I have decided that when I get home to a PC with both Mirage and VB6.0, I will write up a few tutorial's for editing the BltPlayer sub.
I hope this helped
~Kite
I'm pretty new to programming, and I don't spend too much time running through Mirage's code, but when I got the source one of the first things I did was add in 4 walking animations, and an "idle" animation.
I also changed the way Sprites.bmp is set out. I changed the layout to that of the RPG Maker's (because I have bigger sprites)
Now, the first thing you need to do is find the bit at the top (below the redundant code) the one with the Anim=0 above it.
That tells the game, that when the player is half-way over a tile, it changes the animation.
What you want to do (I think :S) is have it like this:
Code:
If YOffset > PIC_Y / 4 then
anim = 0
elseif YOffset > PIC_Y / 8 then
anim = 2
else
anim = 1
end if
Again, I'm not sure. I don't have any mirage source on my computer, only Naruto Realm, and I don't have time to download it either.
As for attack, find the code at the bottom, below the "else" and change the 2 to 3.
Further down still you will find the code which find's the left of the sprite you are blting.
At the moment, it time's you direction by 2 and times by 32, to get pass the other direction's sprites. You need to change that 2 to a 3.
And I'm pretty sure that's all.
I have decided that when I get home to a PC with both Mirage and VB6.0, I will write up a few tutorial's for editing the BltPlayer sub.
I hope this helped
~Kite
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?