diff --git a/Project.xml b/Project.xml index e4b6015..785a15b 100644 --- a/Project.xml +++ b/Project.xml @@ -2,7 +2,7 @@ - + diff --git a/source/PlayState.hx b/source/PlayState.hx index 63a1e1d..2a16d2b 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -259,7 +259,7 @@ class PlayState extends FlxState this.thrower.visible = false; this.cooldown = 0.5; - var newKnife = new Knife(thrower.x + 12, thrower.y + 9, Math.PI * (thrower.angle) / 180); + var newKnife = new Knife(thrower.x + 12, thrower.y + 9, Math.PI * (thrower.angle - 2) / 180); newKnife.body.space = FlxNapeSpace.space; newKnife.visible = true; knives.push(newKnife); diff --git a/source/Thrower.hx b/source/Thrower.hx index 01ca6dc..bd3bbdf 100644 --- a/source/Thrower.hx +++ b/source/Thrower.hx @@ -13,7 +13,7 @@ class Thrower extends FlxSprite { override public function update(elapsed:Float):Void { super.update(elapsed); if(this.visible) { - this.angle += 240 * elapsed; + this.angle += 200 * elapsed; } else { this.angle -= 4 * elapsed; }