Make rain separate from the player
This commit is contained in:
parent
335a082dae
commit
1f9cc961f5
4 changed files with 32 additions and 31 deletions
14
core/dynamic_polygon.tscn
Normal file
14
core/dynamic_polygon.tscn
Normal file
|
@ -0,0 +1,14 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://cbynoofsjcl45"]
|
||||
|
||||
[ext_resource type="Script" path="res://core/dynamic_polygon.gd" id="1_ga37f"]
|
||||
|
||||
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_ucwen"]
|
||||
|
||||
[node name="DynamicPolygon" type="CollisionPolygon2D"]
|
||||
script = ExtResource("1_ga37f")
|
||||
|
||||
[node name="Polygon2D" type="Polygon2D" parent="."]
|
||||
|
||||
[node name="LightOccluder2D" type="LightOccluder2D" parent="."]
|
||||
editor_description = "For particle collisions"
|
||||
occluder = SubResource("OccluderPolygon2D_ucwen")
|
Reference in a new issue