When you go to the menu, the game takes a picture of the map and uses it as a static background. It does the same thing when you go into a battle but you don't have a battleback set. On the menu scene it looks fine; the map looks exactly as it does before I open the menu.
However, the picture looks like it's scaled up a bit in the battle and I'm not sure why that happens.
Map tiles are 48x48 pixels. My is also 48x48. The picture of the map should basically align with the grid.

The backgroundSprite is stored here.
I also took out the blur.
However, the picture looks like it's scaled up a bit in the battle and I'm not sure why that happens.
Map tiles are 48x48 pixels. My is also 48x48. The picture of the map should basically align with the grid.

Code:
Spriteset_Battle.prototype.createBackground = function() {
this._backgroundSprite = new Sprite();
this._backgroundSprite.bitmap = SceneManager.backgroundBitmap();
this._baseSprite.addChild(this._backgroundSprite);
};
Code:
SceneManager.snapForBackground = function() {
this._backgroundBitmap = this.snap();
// this._backgroundBitmap.blur();
};
Last edited:



