Author Topic: Displaying sprites over the hero's sprite  (Read 1370 times)

Offline earthnite

  • Transcended Spirit
  • ***
  • Posts: 194
  • LV: -53
  • Gender: Male
    • View Profile
Displaying sprites over the hero's sprite
« on: October 07, 2012, 09:28:29 PM »
So instead of making several different sprites to show the player holding something or having evil eyes and stuff like that, I want to just display a sprite over the player that adds in those details. How would you do this, and it should be able to work with multiple sprites on top of the hero. I'm using rpg maker xp.

Thanks in advance
i ran to the shimmering light in the darkness--only to find a freight train coming my way

Offline Heretic86

  • Astral Trancist
  • *****
  • Posts: 740
  • LV: 29
    • View Profile
Re: Displaying sprites over the hero's sprite
« Reply #1 on: October 09, 2012, 02:54:00 AM »
There are scripts out there that allow you to have more direct control over an events "Z-Index".  What you'd need to do is to increase the events Z-Index to be higher than that of the players sprite.  Or, depending on how you are doing it, you could also just set up the event to have "Always On Top" turned on.
Current Scripts:
Heretic's Moving Platforms

Current Demos:
Collection of Art and 100% Compatible Scripts

(Script Demos are all still available in the Collection link above.  I lost some individual demos due to a server crash.)

Offline Zexion

  • Addicted to LoL
  • Chaos User
  • ******
  • Posts: 1511
  • LV: 69
  • Gender: Male
  • My anaconda don't...jk it does
    • View Profile
Re: Displaying sprites over the hero's sprite
« Reply #2 on: October 10, 2012, 09:37:59 PM »
You could just do it by animation also, since I assume that you would only want it for a brief moment, and not to "walk around" with.