Hey all,
so I use this command to draw a Minimap: https://developer.rpgmakerweb.com/rpg-maker-mz/Bitmap.html#fillRect
To be more precise, I want to draw a fog of war. Now, when the player explores the map, I want to (partially) revert the blt command.
I already tried this but was not successful:
so I use this command to draw a Minimap: https://developer.rpgmakerweb.com/rpg-maker-mz/Bitmap.html#fillRect
To be more precise, I want to draw a fog of war. Now, when the player explores the map, I want to (partially) revert the blt command.
I already tried this but was not successful:
Code:
const tileSize = 48 // I will do that later...
this.bitmap.fillRect(
x * tileSize,
y * tileSize,
tileSize,
tileSize,
'rgba(0, 0, 0, 0)',
);