How do I make the player lose hp when the projectile hits them and change the sprite to a damage sprite, and how would I create enemy events that lose hp when hit by the player's projectiles?
MZ Galv's MZ Map Projectiles
Javascript/Plugin SupportI think I can help, but I need some help to.
Look, you can put a variable to be the Player HP. And you create a Common Event to be activated if the player is hit by the projectile. The common event will be a event that diminutes the variable. You can make this variable as the player HP, I'll show you how. And for the enemies, is even more simple. You just need to make a variable with any value you want to be the enemie's HP. The part of the sprite is a little bit harder, but I can search.
Look, you can put a variable to be the Player HP. And you create a Common Event to be activated if the player is hit by the projectile. The common event will be a event that diminutes the variable. You can make this variable as the player HP, I'll show you how. And for the enemies, is even more simple. You just need to make a variable with any value you want to be the enemie's HP. The part of the sprite is a little bit harder, but I can search.
But I also need to know... Can you send a screenshot of what you did to activate the plugin? I need to see if what I'm saying can be applied.
I haven't done anything yet, I just tested out the demo.
Original thread: https://forums.rpgmakerweb.com/threads/galvs-mz-map-projectiles.148372/