mirror of
https://gitee.com/freeyz/godot-mota.git
synced 2024-12-23 06:09:23 +08:00
66 lines
2.6 KiB
Plaintext
66 lines
2.6 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://images/mota_tileset.tres" type="TileSet" id=1]
|
|
[ext_resource path="res://scenes/Doore.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://scripts/NavigationTileMap.gd" type="Script" id=3]
|
|
[ext_resource path="res://scenes/Elixirs.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://scenes/Player.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://scenes/Key.tscn" type="PackedScene" id=6]
|
|
|
|
[node name="Floor1" type="Node2D"]
|
|
|
|
[node name="NavigationTileMap" type="TileMap" parent="."]
|
|
tile_set = ExtResource( 1 )
|
|
cell_size = Vector2( 32, 32 )
|
|
collision_mask = 2147483649
|
|
format = 1
|
|
tile_data = PoolIntArray( 196618, 2, 0, 262151, 2, 0, 262152, 2, 0, 262153, 2, 0, 262154, 2, 0, 262155, 2, 0, 262156, 2, 0, 262157, 2, 0, 327687, 2, 0, 327690, 2, 0, 327693, 2, 0, 393222, 2, 0, 393223, 2, 0, 393224, 2, 0, 393225, 2, 0, 393226, 2, 0, 393227, 2, 0, 393228, 2, 0, 393229, 2, 0, 393230, 2, 0, 393231, 2, 0, 458759, 2, 0, 458760, 2, 0, 458762, 2, 0, 458765, 2, 0, 524296, 2, 0, 524297, 2, 0, 524298, 2, 0, 524299, 2, 0, 524300, 2, 0, 524301, 2, 0, 589834, 2, 0 )
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="Item" type="Node2D" parent="."]
|
|
|
|
[node name="KeySprite" parent="Item" instance=ExtResource( 6 )]
|
|
|
|
[node name="KeySprite2" parent="Item" instance=ExtResource( 6 )]
|
|
position = Vector2( 336, 144 )
|
|
region_rect = Rect2( 160, 448, 32, 32 )
|
|
key_type = 2
|
|
|
|
[node name="KeySprite3" parent="Item" instance=ExtResource( 6 )]
|
|
position = Vector2( 336, 272 )
|
|
region_rect = Rect2( 192, 448, 32, 32 )
|
|
key_type = 3
|
|
|
|
[node name="KeySprite4" parent="Item" instance=ExtResource( 6 )]
|
|
position = Vector2( 240, 208 )
|
|
region_rect = Rect2( 128, 448, 32, 32 )
|
|
key_type = 1
|
|
|
|
[node name="DoorSprite" parent="Item" instance=ExtResource( 2 )]
|
|
|
|
[node name="DoorSprite2" parent="Item" instance=ExtResource( 2 )]
|
|
position = Vector2( 368, 208 )
|
|
region_rect = Rect2( 256, 480, 32, 32 )
|
|
door_type = 2
|
|
|
|
[node name="DoorSprite3" parent="Item" instance=ExtResource( 2 )]
|
|
position = Vector2( 336, 176 )
|
|
region_rect = Rect2( 288, 480, 32, 32 )
|
|
door_type = 3
|
|
|
|
[node name="DoorSprite4" parent="Item" instance=ExtResource( 2 )]
|
|
position = Vector2( 336, 240 )
|
|
region_rect = Rect2( 288, 480, 32, 32 )
|
|
door_type = 3
|
|
|
|
[node name="ElixirsSprite" parent="Item" instance=ExtResource( 4 )]
|
|
|
|
[node name="ElixirsSprite2" parent="Item" instance=ExtResource( 4 )]
|
|
position = Vector2( 240, 144 )
|
|
region_rect = Rect2( 128, 416, 32, 32 )
|
|
elixirs_color = 1
|
|
elixirs_value = 200
|
|
|
|
[node name="PlayerKinematicBody2D" parent="." instance=ExtResource( 5 )]
|
|
navigation_tile_map_path = NodePath("../../Floor1/NavigationTileMap")
|