actorSprite.bitmap = ImageManager.loadSystem("LuminusActor" + actor.actorId()); actorSprite.bitmap.addLoadListener(function() { var w = Graphics.boxWidth - statusSprite.x - statusSprite.width; var x = statusSprite.x + statusSprite.width; var y = Graphics.boxHeight - actorSprite.height; if (y < 0) y = 0; actorSprite.x = x + w/2 - actorSprite.width/2; actorSprite.y = y; }); 这一句? |
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2025-1-1 06:55
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.