diff --git a/source/Bomb.hx b/source/Bomb.hx index 26befb2..9e5dd92 100644 --- a/source/Bomb.hx +++ b/source/Bomb.hx @@ -1,7 +1,5 @@ package; -import flixel.FlxObject; -import flixel.group.FlxGroup; import flixel.FlxG; import flixel.effects.particles.FlxEmitter; import flixel.FlxSprite; diff --git a/source/CBlock.hx b/source/CBlock.hx index 7db0ce6..7f07e14 100644 --- a/source/CBlock.hx +++ b/source/CBlock.hx @@ -1,7 +1,6 @@ package; import flixel.tile.FlxTilemap; -import flixel.tile.FlxTileblock; class CBlock extends FlxTilemap { diff --git a/source/DemoMgr.hx b/source/DemoMgr.hx index 3f14432..2509f3d 100644 --- a/source/DemoMgr.hx +++ b/source/DemoMgr.hx @@ -1,11 +1,9 @@ package; -import flixel.FlxBasic; import flixel.effects.particles.FlxEmitter; import flixel.FlxG; import flixel.FlxObject; import flixel.group.FlxGroup; -import flixel.FlxSprite; class DemoMgr extends FlxObject { diff --git a/source/FlxBlock.hx b/source/FlxBlock.hx index 490a68d..c54e4b5 100644 --- a/source/FlxBlock.hx +++ b/source/FlxBlock.hx @@ -2,7 +2,6 @@ package; import flixel.FlxG; import flixel.FlxSprite; -import flixel.system.FlxAssets.FlxGraphicAsset; import flixel.tile.FlxTilemap; class FlxBlock extends FlxTilemap diff --git a/source/Main.hx b/source/Main.hx index 7c96fe4..254e23b 100644 --- a/source/Main.hx +++ b/source/Main.hx @@ -1,11 +1,7 @@ package; -import flixel.FlxG; import flixel.FlxGame; import flixel.input.keyboard.FlxKey; -import flixel.input.keyboard.FlxKeyList; -import flixel.system.FlxSplash; -import lime.app.Event; import lime.app.Application; import openfl.Lib; import openfl.events.KeyboardEvent; diff --git a/source/MenuState.hx b/source/MenuState.hx index 5c2dcfc..df89cac 100644 --- a/source/MenuState.hx +++ b/source/MenuState.hx @@ -2,9 +2,7 @@ package; import flixel.util.FlxTimer; import io.newgrounds.objects.events.Outcome; -import io.newgrounds.NGLite.LoginOutcome; import io.newgrounds.NG; -import flixel.system.scaleModes.PixelPerfectScaleMode; import openfl.Assets; import flixel.FlxG; import flixel.FlxSprite; diff --git a/source/Notification.hx b/source/Notification.hx index e2e0ea2..4931efc 100644 --- a/source/Notification.hx +++ b/source/Notification.hx @@ -1,10 +1,8 @@ package; -import flixel.util.FlxColor; import openfl.utils.Assets; import flixel.graphics.frames.FlxBitmapFont; import flixel.tweens.FlxEase; -import flixel.group.FlxGroup; import flixel.tweens.FlxTween; import flixel.FlxG; import flixel.text.FlxBitmapText; diff --git a/source/PlayState.hx b/source/PlayState.hx index 47c807a..a18d4f0 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -1,21 +1,13 @@ package; import lime.app.Application; -import flixel.ui.FlxSpriteButton; import flixel.ui.FlxButton; import flixel.text.FlxBitmapText; import openfl.Assets; import flixel.graphics.frames.FlxBitmapFont; -import openfl.events.ProgressEvent; -import openfl.net.URLRequest; -import openfl.net.URLLoader; -import io.newgrounds.Call.CallError; -import io.newgrounds.objects.events.Outcome.TypedOutcome; import flixel.util.FlxTimer; import io.newgrounds.NG; -import flixel.text.FlxText; import flixel.FlxObject; -import flixel.effects.particles.FlxParticle; import flixel.group.FlxGroup; import flixel.effects.particles.FlxEmitter; import flixel.FlxG; diff --git a/source/Player.hx b/source/Player.hx index 39c296b..a1d03dd 100644 --- a/source/Player.hx +++ b/source/Player.hx @@ -1,7 +1,6 @@ package; import lime.app.Application; -import flixel.system.debug.watch.Tracker.TrackerProfile; import flixel.FlxG; import flixel.FlxSprite; diff --git a/source/Preloader.hx b/source/Preloader.hx index 15d3920..4546667 100644 --- a/source/Preloader.hx +++ b/source/Preloader.hx @@ -1,10 +1,7 @@ package source; import openfl.events.MouseEvent; -import openfl.display.SimpleButton; import haxe.Timer; -import openfl.display.BitmapDataChannel; -import flixel.math.FlxMath; import flixel.system.FlxAssets; import openfl.display.Bitmap; import openfl.display.BitmapData; diff --git a/source/Sequence.hx b/source/Sequence.hx index c3b993a..7ed459f 100644 --- a/source/Sequence.hx +++ b/source/Sequence.hx @@ -1,7 +1,6 @@ package; import flixel.util.FlxColor; -import flixel.tile.FlxTilemap; import flixel.system.debug.watch.Tracker.TrackerProfile; import flixel.FlxSprite; import flixel.effects.particles.FlxEmitter; diff --git a/source/Shard.hx b/source/Shard.hx index 801d10c..ebbb7c4 100644 --- a/source/Shard.hx +++ b/source/Shard.hx @@ -1,10 +1,8 @@ package; import flixel.group.FlxGroup.FlxTypedGroup; -import flixel.effects.particles.FlxEmitter; import flixel.effects.particles.FlxParticle; import flixel.FlxG; -import flixel.FlxSprite; class Shard extends FlxParticle { @@ -16,7 +14,6 @@ class Shard extends FlxParticle this.parent = parent; makeGraphic(FlxG.random.int(1, 5), FlxG.random.int(1, 5)); antialiasing = true; - // elasticity = 1; } override function update(elapsed:Float) @@ -26,7 +23,6 @@ class Shard extends FlxParticle if ((width + height > 6) && (Math.abs(velocity.y) > 150)) FlxG.sound.play("assets/sounds/glass" + FlxG.random.int(1, 2) + "" + Main.SOUND_EXT + "", 0.5); - // velocity.y = -velocity.y * 0.35; velocity.x *= 0.65; velocityRange.start.x = velocity.x; velocityRange.end.x = velocity.x; diff --git a/source/Splash.hx b/source/Splash.hx index 9cd8159..2a723ff 100644 --- a/source/Splash.hx +++ b/source/Splash.hx @@ -3,7 +3,6 @@ package; import flixel.FlxG; import flixel.FlxSprite; import flixel.FlxState; -import flixel.math.FlxMath; import flixel.tweens.FlxTween; import flixel.util.FlxColor; import flixel.util.typeLimit.NextState; @@ -12,7 +11,6 @@ import openfl.Lib; import openfl.display.Bitmap; import openfl.display.BitmapData; import openfl.display.Sprite; -import openfl.display.Graphics; import openfl.geom.Transform; import openfl.geom.ColorTransform; @@ -75,7 +73,6 @@ class Splash extends FlxState FlxG.stage.addChild(_camFade); introFade(0xff000000, 0.2); - // onResize(Lib.current.stage.stageWidth, Lib.current.stage.stageHeight); resizeShit(Lib.current.stage.stageWidth, Lib.current.stage.stageHeight); #if FLX_SOUND_SYSTEM @@ -102,8 +99,6 @@ class Splash extends FlxState function resizeShit(Width:Int, Height:Int) { - // super.onResize(Width, Height); - for (spr in _sprites) { spr.x = (Width / 2);