update Y sorting
This commit is contained in:
parent
b24bc5b844
commit
a6d7d78600
2 changed files with 5 additions and 1 deletions
|
|
@ -92,6 +92,7 @@ max_contacts_reported = 1
|
|||
script = ExtResource("1_nv6q1")
|
||||
|
||||
[node name="HurtArea2D" type="Area2D" parent="."]
|
||||
position = Vector2(0, -6)
|
||||
collision_layer = 32
|
||||
collision_mask = 64
|
||||
|
||||
|
|
@ -103,14 +104,16 @@ debug_color = Color(0.8785819, 0.30416045, 0.40790904, 0.41960785)
|
|||
|
||||
[node name="ShadowSprite2D" type="Sprite2D" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.28235295)
|
||||
position = Vector2(0, -6)
|
||||
texture = ExtResource("2_stoaj")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(0, -6)
|
||||
sprite_frames = SubResource("SpriteFrames_43gob")
|
||||
frame = 6
|
||||
frame_progress = 0.2223859
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, -1)
|
||||
position = Vector2(0, -7)
|
||||
rotation = 1.5707964
|
||||
shape = SubResource("CapsuleShape2D_stoaj")
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
[ext_resource type="PackedScene" uid="uid://c0kslsucl4xhy" path="res://scenes/tilemaps/block_tile_layer.tscn" id="8_8a7m2"]
|
||||
|
||||
[node name="Level" type="Node2D" node_paths=PackedStringArray("director", "camera", "player_1_spawn", "player_2_spawn", "ball_spawn", "floor_layer", "wall_layer", "block_layer")]
|
||||
y_sort_enabled = true
|
||||
script = ExtResource("1_dywbp")
|
||||
director = NodePath("LevelDirector")
|
||||
camera = NodePath("LevelCamera2D")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue