Basically there's this bug where, if the mirror effect in Galv's Chracter Effects is active, the character sprite on Napoleon's Minimap will still move in the correct position but will sort of be moonwalking backwards. I was wondering if anyone could kindly provide a fix for this? Thanks!
Napoleon Mini Map:
https://forums.rpgmakerweb.com/index.php?threads/napoleons-minimap.13801/
Galv's Character Effects:
https://www.rpgmakercentral.com/topic/12803-character-effects/
EDIT: I think it has something to do with this in Napeleon's Mini Map:
The player_character.src_rect is probably the culprit due to influence here in Galv's
I'm just not sure how to fix it. ^^;
EDIT 2: OK, I managed to create a fix, so I'll request for this thread to be closed.
Napoleon Mini Map:
https://forums.rpgmakerweb.com/index.php?threads/napoleons-minimap.13801/
Galv's Character Effects:
https://www.rpgmakercentral.com/topic/12803-character-effects/
EDIT: I think it has something to do with this in Napeleon's Mini Map:
Code:
def update_player_cursor
player_character = $game_player.sprite
return if !player_character || player_character.disposed?
@player_sprite.bitmap.clear
@player_sprite.bitmap.stretch_blt(Rect.new(0,0,@player_sprite.bitmap.width, @player_sprite.bitmap.height),
player_character.bitmap,
player_character.src_rect,
255)
end
The player_character.src_rect is probably the culprit due to influence here in Galv's
Code:
def update_src_rect
if @character.reflect_sprite
index = @character.reflect_sprite[1]
else
index = @character.character_index
end
pattern = @character.pattern < 3 ? @character.pattern : 1
sx = (index % 4 * 3 + pattern) * @cw
sy = (index / 4 * 4 + (10 - @character.direction - 2) / 2) * @ch
self.src_rect.set(sx, sy, @cw, @ch)
end
I'm just not sure how to fix it. ^^;
EDIT 2: OK, I managed to create a fix, so I'll request for this thread to be closed.