neighbor-game/scenes/house.tscn
2022-08-04 10:50:28 -06:00

45 lines
1.2 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://scripts/house.gd" type="Script" id=1]
[ext_resource path="res://roger-roger/chadHouse.png" type="Texture" id=2]
[sub_resource type="CapsuleShape2D" id=3]
radius = 12.2857
height = 2.57142
[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 86, 63.5 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 3.5, 2 )
[node name="House" type="Node2D"]
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, -125 )
scale = Vector2( 5, 5 )
texture = ExtResource( 2 )
[node name="HouseBody" type="StaticBody2D" parent="."]
collision_layer = 4
collision_mask = 7
[node name="CollisionShape2D" type="CollisionShape2D" parent="HouseBody"]
position = Vector2( -7, -90 )
scale = Vector2( 7, 7 )
shape = SubResource( 3 )
[node name="CollisionShape2D2" type="CollisionShape2D" parent="HouseBody"]
position = Vector2( -6, -49.5 )
shape = SubResource( 4 )
[node name="DoorBody" type="StaticBody2D" parent="."]
scale = Vector2( 7, 7 )
collision_layer = 4
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="DoorBody"]
position = Vector2( -0.857143, 1.57143 )
shape = SubResource( 2 )