Files
whale-town-front/scenes/prefabs/items/welcome_board.tscn

34 lines
1.1 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://c7k8yay002w4"]
[ext_resource type="Texture2D" uid="uid://v7loa3smfkrd" path="res://assets/materials/WelcomeBoard.png" id="2_sprite"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_left_post"]
size = Vector2(16, 20)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_right_post"]
size = Vector2(16, 20)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_center_bar"]
size = Vector2(76, 4)
[node name="WelcomeBoard" type="StaticBody2D"]
z_index = 1
collision_layer = 3
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(0, -44.125)
scale = Vector2(0.25, 0.25)
texture = ExtResource("2_sprite")
[node name="LeftPostCollision" type="CollisionShape2D" parent="."]
position = Vector2(-49, -10)
shape = SubResource("RectangleShape2D_left_post")
[node name="RightPostCollision" type="CollisionShape2D" parent="."]
position = Vector2(47, -10)
shape = SubResource("RectangleShape2D_right_post")
[node name="CenterBottomCollision" type="CollisionShape2D" parent="."]
position = Vector2(-1, -22)
shape = SubResource("RectangleShape2D_center_bar")