fix: dragon sprite was getting cut
This commit is contained in:
		
							parent
							
								
									b78167f24d
								
							
						
					
					
						commit
						9f2b78c1bd
					
				
					 3 changed files with 7 additions and 7 deletions
				
			
		| 
						 | 
					@ -4,7 +4,7 @@
 | 
				
			||||||
[ext_resource type="PackedScene" uid="uid://baa8gpicw2yg0" path="res://scenes/dragons/dragon_sprite.tscn" id="2_l1h0r"]
 | 
					[ext_resource type="PackedScene" uid="uid://baa8gpicw2yg0" path="res://scenes/dragons/dragon_sprite.tscn" id="2_l1h0r"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6eaxg"]
 | 
					[sub_resource type="RectangleShape2D" id="RectangleShape2D_6eaxg"]
 | 
				
			||||||
size = Vector2(76, 88)
 | 
					size = Vector2(108, 108)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[node name="Dragon" type="Area2D" node_paths=PackedStringArray("dragon")]
 | 
					[node name="Dragon" type="Area2D" node_paths=PackedStringArray("dragon")]
 | 
				
			||||||
script = ExtResource("1_jccds")
 | 
					script = ExtResource("1_jccds")
 | 
				
			||||||
| 
						 | 
					@ -14,8 +14,8 @@ min_exit_time = 60.0
 | 
				
			||||||
max_exit_time = 600.0
 | 
					max_exit_time = 600.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
 | 
					[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
 | 
				
			||||||
position = Vector2(-2, 6)
 | 
					position = Vector2(-2, -4)
 | 
				
			||||||
shape = SubResource("RectangleShape2D_6eaxg")
 | 
					shape = SubResource("RectangleShape2D_6eaxg")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[node name="Dragon" parent="CollisionShape2D" instance=ExtResource("2_l1h0r")]
 | 
					[node name="Dragon" parent="CollisionShape2D" instance=ExtResource("2_l1h0r")]
 | 
				
			||||||
position = Vector2(-38, -44)
 | 
					position = Vector2(-54, -54)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,7 +11,7 @@
 | 
				
			||||||
[ext_resource type="SpriteFrames" uid="uid://c5rqqy7b5ihi5" path="res://assets/animations/decor/rosa.tres" id="12_rhebu"]
 | 
					[ext_resource type="SpriteFrames" uid="uid://c5rqqy7b5ihi5" path="res://assets/animations/decor/rosa.tres" id="12_rhebu"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_oaoux"]
 | 
					[sub_resource type="RectangleShape2D" id="RectangleShape2D_oaoux"]
 | 
				
			||||||
size = Vector2(108, 88)
 | 
					size = Vector2(108, 108)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[node name="Dragon" type="Node2D" node_paths=PackedStringArray("hat", "shirt", "decor", "color")]
 | 
					[node name="Dragon" type="Node2D" node_paths=PackedStringArray("hat", "shirt", "decor", "color")]
 | 
				
			||||||
script = ExtResource("1_oaoux")
 | 
					script = ExtResource("1_oaoux")
 | 
				
			||||||
| 
						 | 
					@ -27,11 +27,11 @@ color_outfits = ExtResource("5_x2k4p")
 | 
				
			||||||
[node name="Area2D" type="Area2D" parent="."]
 | 
					[node name="Area2D" type="Area2D" parent="."]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
 | 
					[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
 | 
				
			||||||
position = Vector2(54, 44)
 | 
					position = Vector2(54, 54)
 | 
				
			||||||
shape = SubResource("RectangleShape2D_oaoux")
 | 
					shape = SubResource("RectangleShape2D_oaoux")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[node name="Dragon" type="AnimatedSprite2D" parent="."]
 | 
					[node name="Dragon" type="AnimatedSprite2D" parent="."]
 | 
				
			||||||
position = Vector2(54, 34)
 | 
					position = Vector2(54, 54)
 | 
				
			||||||
sprite_frames = ExtResource("6_yf7bj")
 | 
					sprite_frames = ExtResource("6_yf7bj")
 | 
				
			||||||
animation = &"idle"
 | 
					animation = &"idle"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,7 +7,7 @@
 | 
				
			||||||
[node name="DragonPopup" type="Window" node_paths=PackedStringArray("dragon", "draggable")]
 | 
					[node name="DragonPopup" type="Window" node_paths=PackedStringArray("dragon", "draggable")]
 | 
				
			||||||
disable_3d = true
 | 
					disable_3d = true
 | 
				
			||||||
transparent_bg = true
 | 
					transparent_bg = true
 | 
				
			||||||
size = Vector2i(108, 88)
 | 
					size = Vector2i(108, 108)
 | 
				
			||||||
unresizable = true
 | 
					unresizable = true
 | 
				
			||||||
borderless = true
 | 
					borderless = true
 | 
				
			||||||
always_on_top = true
 | 
					always_on_top = true
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue