Skip to content

Commit

Permalink
Resized radius circles
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulPixelIV committed Jun 21, 2020
1 parent 9e360e6 commit 517ec06
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
20 changes: 10 additions & 10 deletions scenes/tests/PlayerBehaviour.gd
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ func countDefenders():
SPEED = speedSave / 1.5
JoinCost = joinCostSave * 1.5
CheerCost = cheerCostSave * 1.5
radCircle.scale.x = 2
radCircle.scale.y = 2
radCircle.scale.x = 3
radCircle.scale.y = 3
enemy.xDist = rand_range(-75, 75)
enemy.yDist = rand_range(-75, 75)
elif currentDefenderCount < 100:
Expand All @@ -168,8 +168,8 @@ func countDefenders():
SPEED = speedSave / 2
JoinCost = joinCostSave * 3
CheerCost = cheerCostSave * 3
radCircle.scale.x = 4
radCircle.scale.y = 4
radCircle.scale.x = 6
radCircle.scale.y = 6
enemy.xDist = rand_range(-100, 100)
enemy.yDist = rand_range(-100, 100)
elif currentDefenderCount < 150:
Expand All @@ -180,8 +180,8 @@ func countDefenders():
SPEED = speedSave / 4
JoinCost = joinCostSave * 5
CheerCost = cheerCostSave * 5
radCircle.scale.x = 8
radCircle.scale.y = 8
radCircle.scale.x = 12
radCircle.scale.y = 12
enemy.xDist = rand_range(-125, 125)
enemy.yDist = rand_range(-125, 125)
elif currentDefenderCount < 250:
Expand All @@ -192,8 +192,8 @@ func countDefenders():
SPEED = speedSave / 5
JoinCost = joinCostSave * 8
CheerCost = cheerCostSave * 8
radCircle.scale.x = 10
radCircle.scale.y = 10
radCircle.scale.x = 18
radCircle.scale.y = 18
enemy.xDist = rand_range(-175, 175)
enemy.yDist = rand_range(-175, 175)
else:
Expand All @@ -204,8 +204,8 @@ func countDefenders():
SPEED = speedSave / 8
JoinCost = joinCostSave * 14
CheerCost = cheerCostSave * 14
radCircle.scale.x = 14
radCircle.scale.y = 14
radCircle.scale.x = 24
radCircle.scale.y = 24
enemy.xDist = rand_range(-250, 250)
enemy.yDist = rand_range(-250, 250)

Expand Down
3 changes: 2 additions & 1 deletion scenes/tests/Tower.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ script = ExtResource( 2 )

[node name="Sprite" type="Sprite" parent="."]
position = Vector2( -24, -8 )
scale = Vector2( 2, 2 )
scale = Vector2( 2.25, 2.25 )
texture = ExtResource( 3 )
offset = Vector2( -2, 0 )

[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
frames = SubResource( 4 )
frame = 1
playing = true

[node name="CPUParticles2D" type="CPUParticles2D" parent="."]
Expand Down

0 comments on commit 517ec06

Please sign in to comment.