- Joined
- Jan 22, 2019
- Messages
- 276
- Reaction score
- 236
- First Language
- English
- Primarily Uses
- RMMV
IT WORKED! Thank you so much for this, I am definitely going to implement this into my project immediately! I had been recently wanting a minimap and was looking for a round one like this, I am so grateful that I found this when I did and that you were able to help me figure this out. Thanks again!Oh wow. That is in fact a bug in both versions. I'll get a fix for that in this weekend.
As for the other...I'm thinking of tweaking the if statement that you commented out in testing:
try changing the line where I mark "try this?"JavaScript:Spriteset_Base.prototype.createSceneMapPictures = function() { var width = Graphics.boxWidth; var height = Graphics.boxHeight; var x = (Graphics.width - width) / 2; var y = (Graphics.height - height) / 2; this._pictureContainer = new Sprite(); this._pictureContainer.setFrame(x, y, width, height); for (var i = 1; i <= $gameScreen.maxPictures(); i++) { //<---Line 3540 var picture = new Sprite_Picture(i); if (picture.isRelatedPictureCommonEvent() && i > 92 && i < 89) { //try this? SceneManager._scene.addPictureCommonEvent(picture); } else { this._pictureContainer.addChild(picture); } } this.addChild(this._pictureContainer); };
This should basically take the four images used in the minimap out of consideration for yanfly.
Let me know if that works and I'll check back in tomorrow.