Help - Search - Members - Calendar
Full Version: A picture having less Z than the player
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
SuperStarVX95
I want to show a picture on a map but that doesn't covers the player, but when I test it, the picture covers the player. If someone knows how do I can make the picture having less Z than the player, post here.
Kread-EX
A thing you can do is to reserve a special picture number (let's say 50) and modify slightly the Sprite_Picture script section. Search for self.z = @picture.number and replace it by this:
CODE
ch = RPG::Cache.character($game_player.character_name, $game_player.character_hue).height / 4
self.z = @picture.number == 50 ? $game_player.screen_z(ch) - 1 : @picture.number

Redd
Or you can just change the opacity of the picture to make it more transparent to see the character
SuperStarVX95
Thank you!
LaDestitute
Or you can mess around with X and Y coordinates until you get it into a corner in the screen. For pictures such as health bars (mini-games), hotkey icons, and and mini-maps...I prefer them non intrustive and small, and they usually look well in a corner of the screen such as the top left screen or the bottom left.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.