added chests and house
This commit is contained in:
parent
558db70558
commit
83b2fc3207
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=11 format=2]
|
[gd_scene load_steps=14 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Scenes/wall.tres" type="TileSet" id=1]
|
[ext_resource path="res://Scenes/wall.tres" type="TileSet" id=1]
|
||||||
[ext_resource path="res://Sprites/weapon.png" type="Texture" id=2]
|
[ext_resource path="res://Sprites/weapon.png" type="Texture" id=2]
|
||||||
|
@ -7,9 +7,13 @@
|
||||||
[ext_resource path="res://Sprites/light.png" type="Texture" id=5]
|
[ext_resource path="res://Sprites/light.png" type="Texture" id=5]
|
||||||
[ext_resource path="res://Script/movement.gd" type="Script" id=6]
|
[ext_resource path="res://Script/movement.gd" type="Script" id=6]
|
||||||
[ext_resource path="res://Script/SceneSpawner.gd" type="Script" id=7]
|
[ext_resource path="res://Script/SceneSpawner.gd" type="Script" id=7]
|
||||||
|
[ext_resource path="res://Sprites/house.png" type="Texture" id=8]
|
||||||
|
[ext_resource path="res://Sprites/chest.png" type="Texture" id=9]
|
||||||
|
|
||||||
[sub_resource type="GDScript" id=3]
|
[sub_resource type="GDScript" id=3]
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id=4]
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id=1]
|
[sub_resource type="RectangleShape2D" id=1]
|
||||||
extents = Vector2( 36.4995, 55.7176 )
|
extents = Vector2( 36.4995, 55.7176 )
|
||||||
|
|
||||||
|
@ -47,6 +51,39 @@ texture = ExtResource( 3 )
|
||||||
position = Vector2( 1300, 0 )
|
position = Vector2( 1300, 0 )
|
||||||
texture = ExtResource( 3 )
|
texture = ExtResource( 3 )
|
||||||
|
|
||||||
|
[node name="Chest" type="Sprite" parent="."]
|
||||||
|
position = Vector2( 500, 10 )
|
||||||
|
scale = Vector2( 0.100492, 0.1 )
|
||||||
|
texture = ExtResource( 9 )
|
||||||
|
|
||||||
|
[node name="StaticBody2D" type="StaticBody2D" parent="Chest"]
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Chest/StaticBody2D"]
|
||||||
|
scale = Vector2( 43, 43 )
|
||||||
|
shape = SubResource( 4 )
|
||||||
|
|
||||||
|
[node name="Chest2" type="Sprite" parent="."]
|
||||||
|
position = Vector2( 400, 400 )
|
||||||
|
scale = Vector2( 0.100492, 0.1 )
|
||||||
|
texture = ExtResource( 9 )
|
||||||
|
|
||||||
|
[node name="StaticBody2D" type="StaticBody2D" parent="Chest2"]
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Chest2/StaticBody2D"]
|
||||||
|
scale = Vector2( 43, 43 )
|
||||||
|
shape = SubResource( 4 )
|
||||||
|
|
||||||
|
[node name="House" type="Sprite" parent="."]
|
||||||
|
position = Vector2( -69, -65 )
|
||||||
|
scale = Vector2( 0.429, 0.429 )
|
||||||
|
texture = ExtResource( 8 )
|
||||||
|
|
||||||
|
[node name="StaticBody2D" type="StaticBody2D" parent="House"]
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="House/StaticBody2D"]
|
||||||
|
scale = Vector2( 50, 50 )
|
||||||
|
shape = SubResource( 4 )
|
||||||
|
|
||||||
[node name="Map" type="Node2D" parent="."]
|
[node name="Map" type="Node2D" parent="."]
|
||||||
|
|
||||||
[node name="TileMap" type="TileMap" parent="Map"]
|
[node name="TileMap" type="TileMap" parent="Map"]
|
||||||
|
|
Loading…
Reference in New Issue