Skip to content

Commit

Permalink
Fix Collisions LOL
Browse files Browse the repository at this point in the history
  • Loading branch information
somedumbfox committed May 8, 2023
1 parent eb13f85 commit 9bdcb32
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions Game/Entities/NPC/Enemies/Pawn/EnemyPawn.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ tracks/5/keys = {
[node name="EnemyPawn" instance=ExtResource( 4 )]
script = ExtResource( 1 )
scoreValue = 10
SPEED = 150

[node name="VisibilityEnabler2D" type="VisibilityNotifier2D" parent="." index="0"]
position = Vector2( 0, 38 )
Expand Down
14 changes: 13 additions & 1 deletion Game/Entities/NPC/Enemies/Projectiles/EnemyProjectile.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,18 @@ tracks/3/keys = {
"method": "set_deferred"
} ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("Area2D:monitorable")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
}

[sub_resource type="Animation" id=2]
resource_name = "absorb"
Expand Down Expand Up @@ -239,7 +251,6 @@ script = ExtResource( 3 )
[node name="Area2D" type="Area2D" parent="."]
collision_layer = 8
monitoring = false
monitorable = false

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2( -7, 0 )
Expand All @@ -249,6 +260,7 @@ shape = ExtResource( 1 )
position = Vector2( -40, 0 )
rotation = -1.5708
frames = ExtResource( 2 )
frame = 2
playing = true

[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
Expand Down
1 change: 1 addition & 0 deletions Game/export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ codesign/timestamp_server_url=""
codesign/digest_algorithm=1
codesign/description=""
codesign/custom_options=PoolStringArray( )
application/modify_resources=true
application/icon=""
application/file_version="0.0.0"
application/product_version="0.0.1"
Expand Down

0 comments on commit 9bdcb32

Please sign in to comment.