Skip to content

Commit

Permalink
Merge pull request #10 from Ethan-makes-music/main
Browse files Browse the repository at this point in the history
Removed unused Imports and some useless comments!
  • Loading branch information
ninjamuffin99 authored May 21, 2024
2 parents 37947de + 150f7ea commit e3a3fc6
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 36 deletions.
2 changes: 0 additions & 2 deletions source/Bomb.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package;

import flixel.FlxObject;
import flixel.group.FlxGroup;
import flixel.FlxG;
import flixel.effects.particles.FlxEmitter;
import flixel.FlxSprite;
Expand Down
1 change: 0 additions & 1 deletion source/CBlock.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package;

import flixel.tile.FlxTilemap;
import flixel.tile.FlxTileblock;

class CBlock extends FlxTilemap
{
Expand Down
2 changes: 0 additions & 2 deletions source/DemoMgr.hx
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
1 change: 0 additions & 1 deletion source/FlxBlock.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package;

import flixel.FlxG;
import flixel.FlxSprite;
import flixel.system.FlxAssets.FlxGraphicAsset;
import flixel.tile.FlxTilemap;

class FlxBlock extends FlxTilemap
Expand Down
4 changes: 0 additions & 4 deletions source/Main.hx
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 0 additions & 2 deletions source/MenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions source/Notification.hx
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
8 changes: 0 additions & 8 deletions source/PlayState.hx
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
1 change: 0 additions & 1 deletion source/Player.hx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package;

import lime.app.Application;
import flixel.system.debug.watch.Tracker.TrackerProfile;
import flixel.FlxG;
import flixel.FlxSprite;

Expand Down
3 changes: 0 additions & 3 deletions source/Preloader.hx
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
1 change: 0 additions & 1 deletion source/Sequence.hx
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
4 changes: 0 additions & 4 deletions source/Shard.hx
Original file line number Diff line number Diff line change
@@ -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
{
Expand All @@ -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)
Expand All @@ -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;
Expand Down
5 changes: 0 additions & 5 deletions source/Splash.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand Down Expand Up @@ -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
Expand All @@ -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);
Expand Down

0 comments on commit e3a3fc6

Please sign in to comment.