Hello,
I started to write my own parallaxe plugin cause existing one don't fit my needs.
So I want to show a Picture as a layer.
To keep it on screen, should I really need to do that :
Spriteset_Map.prototype.updateParMap = function() { this._parMap.bitmap = ImageManager.loadBitmap('img/parallaxes/','basement'); this._parMap.x = $gameMap.displayX() * -$gameMap.tileWidth(); this._parMap.y = $gameMap.displayY() * -$gameMap.tileHeight();};Because, loadBitmap is loading a picture ? So... I'm loading 60 times per second a picture ?
Is this normal ? Or I'm doing something wrong ? Thanks for help !
I started to write my own parallaxe plugin cause existing one don't fit my needs.
So I want to show a Picture as a layer.
To keep it on screen, should I really need to do that :
Spriteset_Map.prototype.updateParMap = function() { this._parMap.bitmap = ImageManager.loadBitmap('img/parallaxes/','basement'); this._parMap.x = $gameMap.displayX() * -$gameMap.tileWidth(); this._parMap.y = $gameMap.displayY() * -$gameMap.tileHeight();};Because, loadBitmap is loading a picture ? So... I'm loading 60 times per second a picture ?
Is this normal ? Or I'm doing something wrong ? Thanks for help !