Initial commit
This commit is contained in:
17
scenes/props/Flower.tscn
Normal file
17
scenes/props/Flower.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://rxbg6txo6ra3"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dfjvvu4bnvjtn" path="res://textures/props/flower.png" id="1"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="1"]
|
||||
radius = 59.1005
|
||||
height = 118.201
|
||||
|
||||
[node name="flower" type="StaticBody2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1")
|
||||
offset = Vector2(-16.3217, -449.143)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
rotation = 1.5708
|
||||
shape = SubResource("1")
|
||||
17
scenes/props/Grass.tscn
Normal file
17
scenes/props/Grass.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://b2dp0fncyk58i"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bmrcwkl01eu6p" path="res://textures/props/grass.png" id="1"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="1"]
|
||||
radius = 47.725
|
||||
|
||||
[node name="grass" type="StaticBody2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(-2.4895, 2.17053)
|
||||
texture = ExtResource("1")
|
||||
offset = Vector2(36.3788, -295.101)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
rotation = 1.5708
|
||||
shape = SubResource("1")
|
||||
51
scenes/props/House.tscn
Normal file
51
scenes/props/House.tscn
Normal file
@@ -0,0 +1,51 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://b1584avscjr3a"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/misc/Exit.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://crlqbtn4qydow" path="res://textures/props/house.png" id="2"]
|
||||
|
||||
[sub_resource type="GDScript" id="1"]
|
||||
script/source = "extends StaticBody2D
|
||||
|
||||
@export var to_scene = \"\" # (String, FILE, \"*.tscn\")
|
||||
@export var spawnpoint: String = \"\"
|
||||
|
||||
func _ready():
|
||||
$to_inside.to_scene = to_scene
|
||||
$to_inside.spawnpoint = spawnpoint
|
||||
pass # Replace with function body.
|
||||
"
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="2"]
|
||||
radius = 95.0118
|
||||
height = 1077.65
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="3"]
|
||||
radius = 190.939
|
||||
height = 457.882
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="4"]
|
||||
size = Vector2(234.622, 129.451)
|
||||
|
||||
[node name="house" type="StaticBody2D"]
|
||||
script = SubResource("1")
|
||||
|
||||
[node name="house" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2")
|
||||
offset = Vector2(-216.037, -247.153)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(-223.046, -54.2205)
|
||||
rotation = 1.5708
|
||||
shape = SubResource("2")
|
||||
|
||||
[node name="CollisionShape2D2" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(-190.854, -159.045)
|
||||
rotation = 1.5708
|
||||
shape = SubResource("3")
|
||||
|
||||
[node name="to_inside" type="Area2D" parent="."]
|
||||
position = Vector2(7.79211, 0.0572205)
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="to_inside"]
|
||||
shape = SubResource("4")
|
||||
17
scenes/props/MushroomBig.tscn
Normal file
17
scenes/props/MushroomBig.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://textures/props/mushroom_big.png" type="Texture2D" id=1]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 70.8635
|
||||
height = 111.039
|
||||
|
||||
[node name="mushroom_big" type="StaticBody2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
offset = Vector2( -20.473, -311.75 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
17
scenes/props/MushroomSmall.tscn
Normal file
17
scenes/props/MushroomSmall.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://textures/props/mushroom_small.png" type="Texture2D" id=1]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
radius = 71.6791
|
||||
|
||||
[node name="mushroom_small" type="StaticBody2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
offset = Vector2( 0.914429, -61.8737 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( 1.08072, -26.4776 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
16
scenes/props/Table.tscn
Normal file
16
scenes/props/Table.tscn
Normal file
@@ -0,0 +1,16 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://textures/props/table.png" type="Texture2D" id=1]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 435.46, 122.844 )
|
||||
|
||||
[node name="table" type="StaticBody2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
offset = Vector2( 0.914429, -61.8737 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2( 2.44107, -42.8021 )
|
||||
shape = SubResource( 1 )
|
||||
15
scenes/props/tree2.tscn
Normal file
15
scenes/props/tree2.tscn
Normal file
@@ -0,0 +1,15 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dvmm1keyq3r5c"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://5d715y37mn8g" path="res://textures/tree2s.png" id="1_6wcui"]
|
||||
|
||||
[node name="Tree2" type="StaticBody2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(-3, -119)
|
||||
texture = ExtResource("1_6wcui")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
||||
visible = false
|
||||
z_index = 1
|
||||
position = Vector2(-2, 10)
|
||||
polygon = PackedVector2Array(-17, 6, -40, 3, -26, -10, -52, -10, -55, -19, -35, -34, 47, -33, 60, -19, 57, -12, 30, -11, 26, -6, 40, -3, 43, 2, 28, 7, 2, 0)
|
||||
15
scenes/props/tree6.tscn
Normal file
15
scenes/props/tree6.tscn
Normal file
@@ -0,0 +1,15 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cixovgrvqr2p2"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dw8bvtj64furs" path="res://textures/tree6s.png" id="1_qlky8"]
|
||||
|
||||
[node name="Tree2" type="StaticBody2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(-3, -119)
|
||||
texture = ExtResource("1_qlky8")
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
|
||||
visible = false
|
||||
z_index = 1
|
||||
position = Vector2(-2, 10)
|
||||
polygon = PackedVector2Array(1, 32, -37, 15, -39, 2, -71, 3, -44, -11, -33, -23, 19, -23, 30, -11, 59, -8, 68, 4, 58, 13, 24, 21, 6, 14)
|
||||
Reference in New Issue
Block a user