Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static function initGraphic()
- {
- //Prepare graphic
- var graphic : CachedGraphics = FlxG.bitmap.create(16, 16, 0x0, true, "circle");
- FlxSpriteUtil.flashGfx.clear();
- FlxSpriteUtil.flashGfx.beginFill(0xFFFFFFFF);
- FlxSpriteUtil.flashGfx.lineStyle(2, 0xFFFFFF, 0.5);
- FlxSpriteUtil.flashGfx.drawCircle(8, 8, 8);
- FlxSpriteUtil.flashGfx.endFill();
- graphic.bitmap.draw(FlxSpriteUtil.flashGfxSprite);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement