diff --git a/World.tscn b/World.tscn index 843ba1e..17ec076 100644 --- a/World.tscn +++ b/World.tscn @@ -1,8 +1,11 @@ -[gd_scene load_steps=23 format=2] +[gd_scene load_steps=26 format=2] [ext_resource path="res://assets/city_tiles/Street.png" type="Texture" id=1] [ext_resource path="res://assets/city_tiles/Buildings.png" type="Texture" id=2] [ext_resource path="res://Playa.tscn" type="PackedScene" id=3] +[ext_resource path="res://DropOffPoint.tscn" type="PackedScene" id=4] +[ext_resource path="res://Guest.tscn" type="PackedScene" id=5] +[ext_resource path="res://World.gd" type="Script" id=6] [sub_resource type="TileSet" id=1] 0/name = "Street.png 0" @@ -50,7 +53,7 @@ points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 ) points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 ) [sub_resource type="ConvexPolygonShape2D" id=4] -points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 ) +points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 ) [sub_resource type="ConvexPolygonShape2D" id=5] points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 ) @@ -68,13 +71,13 @@ points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 ) points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 ) [sub_resource type="ConvexPolygonShape2D" id=10] -points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 ) +points = PoolVector2Array( 0, 16, 16, 16, 16, 16, 0, 16 ) [sub_resource type="ConvexPolygonShape2D" id=11] -points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 ) +points = PoolVector2Array( 0, 16, 16, 16, 16, 16, 0, 16 ) [sub_resource type="ConvexPolygonShape2D" id=12] -points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 ) +points = PoolVector2Array( 0, 16, 16, 16, 16, 16, 0, 16 ) [sub_resource type="ConvexPolygonShape2D" id=13] points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 ) @@ -244,6 +247,7 @@ points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 ) 1/z_index = 0 [node name="World" type="Node2D"] +script = ExtResource( 6 ) [node name="Streets" type="TileMap" parent="."] tile_set = SubResource( 1 ) @@ -260,4 +264,25 @@ tile_data = PoolIntArray( 196615, 1, 196608, 196616, 1, 196608, 196617, 1, 19660 [node name="Playa" parent="." instance=ExtResource( 3 )] position = Vector2( 163.29, 78.3416 ) +rotation = 1.6223 scale = Vector2( 0.2, 0.2 ) + +[node name="DropOffPoint" parent="." instance=ExtResource( 4 )] +position = Vector2( 645.77, 99.6374 ) + +[node name="DropOffPoint2" parent="." instance=ExtResource( 4 )] +position = Vector2( 520.662, 230.739 ) + +[node name="DropOffPoint3" parent="." instance=ExtResource( 4 )] +position = Vector2( 166.312, 322.885 ) + +[node name="Guest" parent="." instance=ExtResource( 5 )] +position = Vector2( 337.119, 100.387 ) + +[node name="Guest2" parent="." instance=ExtResource( 5 )] +position = Vector2( 761.14, 102.634 ) + +[node name="Guest3" parent="." instance=ExtResource( 5 )] +position = Vector2( 758.143, 376.075 ) + +[connection signal="picked_up" from="Guest" to="." method="_on_Guest_picked_up"]