public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MV Exhydra_BasicShadows player z depth help

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: MV Exhydra_BasicShadows player z depth help
  • Original author: kakatototo
  • Original date: October 3, 2024
  • Source thread: https://forums.rpgmakerweb.com/threads/exhydra_basicshadows-player-z-depth-help.172336/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support

Summary

Hello. I have a question about Exhydra_BasicShadows. I'm placing objects on the map using Grid-Free Doodads (YEP). When I display a shadow with Exhydra_BasicShadows, the shadow appears below Grid-Free Doodads (YEP), even though its z value is the bottom.

Archived First Post

Hello.
I have a question about Exhydra_BasicShadows.

https://www.dropbox.com/scl/fi/4pto...Sm91i8yU&rlkey=tc5eez5iekdg2wgf5g9xdmn47&dl=0

I'm placing objects on the map using Grid-Free Doodads (YEP).

When I display a shadow with Exhydra_BasicShadows, the shadow appears below Grid-Free Doodads (YEP), even though its z value is the bottom.

Looking into the code,

JavaScript:
// NEW ───────────────────────────────────────────────────────────────────────────────┐
// □ [Function] initialize
// └──────────────────────────────────────────────────────────────────────────────────┘

Spriteset_Shadows.prototype.initialize = function() {

  Sprite.prototype.initialize.call(this);

  this.z = 0;
  this.setFrame(0, 0, Graphics.width, Graphics.height);
  this.shadowData = $gameMap.shadowData();

}; // Spriteset_Shadows ‹‹ initialize

I was able to bring the shadow to the top by changing the z value of this part to 10, but by doing so, shadows were automatically displayed for other events as well.

My question is, is it possible to make it so that only the player's shadow appears at the top?

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#js-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar