Skip to content

Commit

Permalink
city structure completed
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy260700 committed Jan 1, 2021
1 parent 6f221ca commit bfcd53f
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
32 changes: 32 additions & 0 deletions resources/school/platform.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[gd_scene load_steps=4 format=2]

[ext_resource path="res://resources/tilesets/floor_carpets.tres" type="TileSet" id=1]
[ext_resource path="res://resources/tilesets/stone_walls_and_floors.tres" type="TileSet" id=2]
[ext_resource path="res://resources/tilesets/trees.tres" type="TileSet" id=3]

[node name="Node2D" type="StaticBody2D"]

[node name="base" type="TileMap" parent="."]
mode = 1
tile_set = ExtResource( 2 )
cell_size = Vector2( 256, 128 )
format = 1
tile_data = PoolIntArray( -131075, 11, 0, -131074, 21, 0, -131073, 166, 0, -196608, 9, 0, -65539, 166, 0, -65538, 166, 0, -65537, 166, 0, -131072, 166, 0, -3, 49, 0, -2, 166, 0, -1, 49, 0, -65536, 166, 0, 65533, 10, 0, 65534, 22, 0, 65535, 38, 0, 0, 8, 0 )

[node name="base2" type="TileMap" parent="."]
mode = 1
tile_set = ExtResource( 1 )
cell_size = Vector2( 256, 128 )
format = 1
tile_data = PoolIntArray( -131075, 4, 0, -131073, 6, 0, -196608, 0, 0, -65539, 4, 0, -65538, 10, 0, -65537, 10, 0, -131072, 8, 0, -3, 4, 0, -2, 9, 0, -1, 9, 0, -65536, 8, 0, 65533, 1, 0, 65534, 9, 0, 65535, 9, 0, 0, 3, 0 )

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
visible = false
polygon = PoolVector2Array( -410.331, 184.566, -1.41138, -19.433, 514.677, 234.824, 513.654, 254.784, -0.285461, 511.395, -510.847, 258.469, -511.87, 237.997 )

[node name="tree" type="TileMap" parent="."]
mode = 1
tile_set = ExtResource( 3 )
cell_size = Vector2( 256, 128 )
format = 1
tile_data = PoolIntArray( -131076, 8, 0 )
15 changes: 14 additions & 1 deletion scenes/main.tscn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gd_scene load_steps=36 format=2]
[gd_scene load_steps=37 format=2]

[ext_resource path="res://resources/tilesets/stone_walls_and_floors.tres" type="TileSet" id=1]
[ext_resource path="res://resources/characters/Player.tscn" type="PackedScene" id=2]
Expand Down Expand Up @@ -35,6 +35,7 @@
[ext_resource path="res://resources/carts/cart1.tscn" type="PackedScene" id=33]
[ext_resource path="res://resources/tilesets/trees.tres" type="TileSet" id=34]
[ext_resource path="res://resources/carts/cart2.tscn" type="PackedScene" id=35]
[ext_resource path="res://resources/school/platform.tscn" type="PackedScene" id=36]

[node name="Node2D" type="Node2D"]
__meta__ = {
Expand Down Expand Up @@ -853,3 +854,15 @@ position = Vector2( 5499.02, -2103.67 )

[node name="cart3" parent="YSort" instance=ExtResource( 35 )]
position = Vector2( 5852.02, -2110.87 )

[node name="school" parent="YSort" instance=ExtResource( 36 )]
position = Vector2( 2508.74, -6931.44 )

[node name="school2" parent="YSort" instance=ExtResource( 36 )]
position = Vector2( 3837.45, -5672.7 )

[node name="school4" parent="YSort" instance=ExtResource( 36 )]
position = Vector2( 4650.82, -5241.6 )

[node name="school3" parent="YSort" instance=ExtResource( 36 )]
position = Vector2( 3388.58, -6526.62 )

0 comments on commit bfcd53f

Please sign in to comment.