Created
June 12, 2016 03:06
-
-
Save triacontane/01a60676345fe20f1a76e3d0e99c4daf to your computer and use it in GitHub Desktop.
ピクチャのチラつきを防いで画像を差し替えるスクリプト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var pictName = 'ピクチャ名'; | |
var bitmap = ImageManager.loadPicture(pictName); | |
bitmap.addLoadListener(function() { | |
$gameScreen.picture(ピクチャ番号)._name = pictName; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment