Skip to content

Commit

Permalink
Slightly adjusting spawning of projectiles for engineers and mob kings
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniSoda17 committed Sep 9, 2023
1 parent f2cef91 commit 49de631
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void update() {
switchMobKingBallState();
// newProjectile.scaleHeight(-1f);
newProjectile.setScale(-1.3f, 0.82f);
newProjectile.setPosition((float) (currentPos.x), (float) (currentPos.y+0.75f));
newProjectile.setPosition((float) (currentPos.x), (float) (currentPos.y + 0.55f));
ServiceLocator.getEntityService().register(newProjectile);
startWaiting();
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void updateTowerState() {

Entity newProjectile = ProjectileFactory.createFireBall(PhysicsLayer.NPC, new Vector2(100, owner.getEntity().getPosition().y), new Vector2(2f,2f));
newProjectile.setScale(1.1f, 0.8f);
newProjectile.setPosition((float) (owner.getEntity().getPosition().x + 0.75), (float) (owner.getEntity().getPosition().y + 0.5));
newProjectile.setPosition((float) (owner.getEntity().getPosition().x + 0.5), (float) (owner.getEntity().getPosition().y + 0.5));
ServiceLocator.getEntityService().register(newProjectile);

// * TEMPRORARYYYYYYYY PLS DON'T DELETE THIS
Expand Down

0 comments on commit 49de631

Please sign in to comment.