27 lines
2.4 KiB
Plaintext
27 lines
2.4 KiB
Plaintext
|
[gd_scene load_steps=4 format=2]
|
||
|
|
||
|
[ext_resource path="res://Tile Sets/TestTileSet.tres" type="TileSet" id=1]
|
||
|
[ext_resource path="res://Scripts/GameScene.gd" type="Script" id=5]
|
||
|
[ext_resource path="res://Units/Player.tscn" type="PackedScene" id=6]
|
||
|
|
||
|
[node name="Scene" type="Node"]
|
||
|
script = ExtResource( 5 )
|
||
|
tile_set_name = "TestTileSet"
|
||
|
spawning = {
|
||
|
Vector2( 12, 3 ): "NPC"
|
||
|
}
|
||
|
|
||
|
[node name="Stage" type="TileMap" parent="."]
|
||
|
tile_set = ExtResource( 1 )
|
||
|
cell_size = Vector2( 20, 20 )
|
||
|
format = 1
|
||
|
tile_data = PoolIntArray( -786410, 0, 0, -786409, 2, 0, -720874, 6, 0, -720873, 8, 0, -655335, 19, 0, -655334, 21, 0, -524272, 0, 0, -524271, 2, 0, -524262, 19, 0, -524261, 20, 0, -524260, 21, 0, -458736, 6, 0, -458735, 8, 0, -393193, 19, 0, -393192, 20, 0, -393191, 20, 0, -393190, 21, 0, -327660, 16, 0, -327648, 0, 0, -327647, 1, 0, -327646, 1, 0, -327645, 2, 0, -262128, 0, 0, -262127, 2, 0, -262126, 9, 0, -262125, 10, 0, -262124, 5, 0, -262113, 15, 0, -262112, 4, 0, -262111, 4, 0, -262110, 4, 0, -262109, 5, 0, -196596, 9, 0, -196595, 10, 0, -196594, 1, 0, -196593, 1, 0, -196592, 4, 0, -196591, 4, 0, -196590, 4, 0, -196589, 4, 0, -196588, 5, 0, -196586, 0, 0, -196585, 2, 0, -196578, 15, 0, -196577, 4, 0, -196576, 4, 0, -196575, 4, 0, -196574, 4, 0, -196573, 5, 0, -131061, 15, 0, -131060, 4, 0, -131059, 4, 0, -131058, 4, 0, -131057, 4, 0, -131056, 4, 0, -131055, 4, 0, -131054, 4, 0, -131053, 4, 0, -131052, 5, 0, -131050, 3, 0, -131049, 5, 0, -131043, 15, 0, -131042, 4, 0, -131041, 4, 0, -131040, 4, 0, -131039, 4, 0, -131038, 4, 0, -131037, 5, 0, -65532, 0, 0, -65531, 2, 0, -65527, 9, 0, -65526, 10, 0, -65525, 4, 0, -65524, 4, 0, -65523, 4, 0, -65522, 4, 0, -65521, 4, 0, -65520, 4, 0, -65519, 4, 0, -65518, 4, 0, -65517, 4, 0, -65516, 5, 0, -65514, 3, 0, -65513, 4, 0, -65512, 13, 0, -65511, 12, 0, -65508, 15, 0, -65507, 4, 0, -65506, 4, 0, -65505, 4, 0, -65504, 4, 0, -65503, 4, 0, -65502, 4, 0, -65501, 5, 0, 0, 0, 0, 1, 1, 0, 2, 1, 0, 3, 1, 0, 4, 4, 0, 5, 5, 0, 6, 22, 0, 7, 22, 0, 8, 0, 0, 9, 4, 0, 10, 4, 0, 11, 4, 0, 12, 4, 0, 13, 4, 0, 14, 4, 0, 15, 4, 0, 16, 4, 0, 17, 4, 0, 18, 4, 0, 19, 4, 0, 20, 5, 0, 22, 3, 0, 23, 4, 0, 24, 4, 0, 25, 4, 0, 26, 1, 0, 27, 1, 0, 28, 4, 0, 29, 4, 0, 30, 4, 0, 31, 4, 0, 32, 4, 0, 33, 4, 0, 34, 4, 0, 35, 5, 0 )
|
||
|
|
||
|
[node name="Player" parent="." instance=ExtResource( 6 )]
|
||
|
position = Vector2( 10, -150 )
|
||
|
|
||
|
[node name="Camera2D" type="Camera2D" parent="Player"]
|
||
|
offset = Vector2( 0, -15 )
|
||
|
smoothing_enabled = true
|
||
|
smoothing_speed = 6.0
|