Various debugging for 4.3 import, mostly collision shapes and ysort

This commit is contained in:
Alan Youngblood
2025-01-05 18:27:51 -05:00
parent 01051a3205
commit 41db52db5c
6 changed files with 165 additions and 127 deletions

View File

@ -1,22 +1,22 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=4 format=3 uid="uid://b33u2ew1b5cqw"]
[ext_resource path="res://World/Bush.png" type="Texture2D" id=1]
[ext_resource path="res://Shadows/LargeShadow.png" type="Texture2D" id=2]
[ext_resource type="Texture2D" uid="uid://bppe8xi57e01x" path="res://World/Bush.png" id="1"]
[ext_resource type="Texture2D" uid="uid://cgr81av5lcoki" path="res://Shadows/LargeShadow.png" id="2"]
[sub_resource type="CapsuleShape2D" id=1]
radius = 7.99998
height = 12.0
[sub_resource type="CapsuleShape2D" id="1"]
radius = 7.0
height = 26.0
[node name="Bush" type="StaticBody2D"]
[node name="ShadowSprite" type="Sprite2D" parent="."]
position = Vector2( 0, 6 )
texture = ExtResource( 2 )
position = Vector2(0, 6)
texture = ExtResource("2")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource( 1 )
texture = ExtResource("1")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 2.294 )
position = Vector2(0, 5)
rotation = -1.57079
shape = SubResource( 1 )
shape = SubResource("1")

View File

@ -1,22 +1,22 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=4 format=3 uid="uid://cwjuswdufk2f7"]
[ext_resource path="res://Shadows/LargeShadow.png" type="Texture2D" id=1]
[ext_resource path="res://World/Tree.png" type="Texture2D" id=2]
[ext_resource type="Texture2D" uid="uid://cgr81av5lcoki" path="res://Shadows/LargeShadow.png" id="1"]
[ext_resource type="Texture2D" uid="uid://cilct1beq1g2w" path="res://World/Tree.png" id="2"]
[sub_resource type="CapsuleShape2D" id=1]
radius = 9.0
height = 8.0
[sub_resource type="CapsuleShape2D" id="1"]
radius = 7.99999
height = 26.0
[node name="Tree" type="StaticBody2D"]
[node name="ShadowSprite" type="Sprite2D" parent="."]
texture = ExtResource( 1 )
texture = ExtResource("1")
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2( 0, -16 )
texture = ExtResource( 2 )
position = Vector2(0, -16)
texture = ExtResource("2")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, -1 )
position = Vector2(0, -1)
rotation = 1.5708
shape = SubResource( 1 )
shape = SubResource("1")