forked from team-sg/hero-mark-2
shortened sight and added to cop and enemy groups
This commit is contained in:
parent
f1f21e83c6
commit
96e5b8f34c
1 changed files with 2 additions and 3 deletions
|
@ -60,7 +60,7 @@ _data = [ Vector2( 0, 1 ), 0.0, -1.45746, 0, 0, Vector2( 1, 0 ), 0.00323196, 0.0
|
|||
offsets = PoolRealArray( 0, 0.515152 )
|
||||
colors = PoolColorArray( 1, 1, 1, 1, 1, 1, 0.290196, 1 )
|
||||
|
||||
[node name="Cop" type="Node2D"]
|
||||
[node name="Cop" type="Node2D" groups=["cop", "enemy"]]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||
|
@ -80,9 +80,8 @@ __meta__ = {
|
|||
|
||||
[node name="ShootCast" type="RayCast2D" parent="AnimatedSprite/ShootPosition"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
enabled = true
|
||||
cast_to = Vector2( 256, 0 )
|
||||
cast_to = Vector2( 72, 0 )
|
||||
collision_mask = 8
|
||||
collide_with_areas = true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue