RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
How to make your sprite change when amor changes

0 Members and 1 Guest are viewing this topic.

*
Crew Slut
Rep:
Level 93
You'll love it!
For taking a crack at the RMRK Wiki
Ok, here's my tutorial on making your character graphic change, when you change armor.
It works perfectly, the only catch is, you have to have the sprite for each and every armor.
Two Ways:
You can make it, so every combo of armor can change the sprite
Or just one piece or a two pieces
Either way, it's a few sprites to make it.

I'll post the sprites I made, I used the Black Water Sprite Gen to make my sprites, just because it's easier to get more of the same kind and look.

Ok, here we go:

For one character graphic
  • Go into common events and create a common event called: [character name] Sprite Switch

Please note! When doing a branch, pick the second tab to chose the armor that's equipped.
Code: [Select]
<>Conditional Branch: Hero [character name] [name of equip] equipped
 <>Change Hero Graphic: [cname] [name of equip]
 <>
: Else Handler:
 <>
: End

Now, that's just for ONE ITEM OF ARMOR. And no combos.
Repeat that in the next slot for every item you want to switch graphics.

Now, if you wish to have combos, do this:

Code: [Select]
<>Conditional Branch: Hero [character name] [name of equip] equipped
 <>Change Hero Graphic: [cname] [name of equip]
 <> Now, here, add another branch for combos, and change the graphic to include the shield, or helmet, etc...and if you want more things, you'll have to keep repeating this process
: Else Handler:
 <>
: End

Just for help:
 




Want to see it head on?
Download it!


Ok, I admit, I'm not good at writing and explaining things.
But if you download it and looks at the image, I'm sure it'll come out!

**
Rep:
Level 87
Hey, great tutorial.  I actually never even thought of changing the sprite whenever different armors are equipped.

Oh, I downloaded the demo.  It works fine, except you left the event that calls the common event on Action Button.  It needs to be on Parallel Process.  Otherwise, very nice work. :)

*
Crew Slut
Rep:
Level 93
You'll love it!
For taking a crack at the RMRK Wiki
Hmmm....no, I didn't , because I remember doing it.

But I did forget to say one last thing:
I guess in every map, you have to have a "Call Common Event" and set it to call the common event that switches sprites. Then set the event to parallel process.