Hello! I'm trying to make it so that when I show a picture using the Show Picture function, it'll automatically block transfer another image onto it (combining to make it one image.) I need it to be one image so that I can show battle animations on it (so I can't just layer 2 pictures on top of one another, as the flash from a battle animation will only affect one part.)
This is what I came up with, which doesn't work.
Any insights as to what I'm doing wrong/how to make this work? One suggestion I found was to use addLoadListener(), but I haven't had much success making that work either.
This is what I came up with, which doesn't work.
Code:
Sprite_Picture.prototype.loadBitmap = function() {
this.bitmap = ImageManager.loadPicture(this._pictureName);
var source = ImageManager.loadPicture('Picture to add');
this.bitmap.blt(source, 10, 20, 50, 50, 0, 0); //this doesn't work???
};
Any insights as to what I'm doing wrong/how to make this work? One suggestion I found was to use addLoadListener(), but I haven't had much success making that work either.