Level 3
Using Level 3 to do a big art pass and get a lot of systems set up and cleaned up. Add Phantom Camera addon with comprehensive 2D/3D camera system
This commit is contained in:
1 parent
5ce882b53d
commit
2c6a395938
1122 files changed
+42103
-40
No files matched your search
@@ -0,0 +1,247 @@
|
||||
[gd_scene load_steps=11 format=4 uid="uid://ohwjxojqcj63"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c77npili4pel4" path="res://addons/phantom_camera/examples/textures/2D/level_spritesheet.png" id="1_foq54"]
|
||||
[ext_resource type="PackedScene" uid="uid://dg7rhrymsrrrm" path="res://addons/phantom_camera/examples/ui/ui_inventory.tscn" id="2_kmt5y"]
|
||||
[ext_resource type="PackedScene" uid="uid://iq5xd1ob1res" path="res://addons/phantom_camera/examples/ui/ui_sign.tscn" id="3_1cmgi"]
|
||||
[ext_resource type="FontFile" uid="uid://c4mm3of2mc8o5" path="res://addons/phantom_camera/fonts/Nunito-Black.ttf" id="4_4dx73"]
|
||||
[ext_resource type="Script" uid="uid://bd046eokvcnu2" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="5_gcww2"]
|
||||
[ext_resource type="Script" uid="uid://bhexx6mj1xv3q" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd" id="6_i3g4f"]
|
||||
[ext_resource type="Resource" uid="uid://euybd2w0bax" path="res://addons/phantom_camera/examples/resources/tween/player_phantom_camera_2d_tween.tres" id="7_j2i8l"]
|
||||
[ext_resource type="PackedScene" uid="uid://7kh0xydx0b1o" path="res://addons/phantom_camera/examples/example_scenes/2D/sub_scenes/playable_character_2d.tscn" id="8_ytjsp"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_yx3lp"]
|
||||
texture = ExtResource("1_foq54")
|
||||
0:0/0 = 0
|
||||
1:0/0 = 0
|
||||
2:0/0 = 0
|
||||
3:0/0 = 0
|
||||
4:0/0 = 0
|
||||
5:0/0 = 0
|
||||
6:0/0 = 0
|
||||
7:0/0 = 0
|
||||
7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:1/0 = 0
|
||||
1:1/0 = 0
|
||||
2:1/0 = 0
|
||||
3:1/0 = 0
|
||||
4:1/0 = 0
|
||||
5:1/0 = 0
|
||||
7:1/0 = 0
|
||||
7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
2:2/0 = 0
|
||||
3:2/0 = 0
|
||||
4:2/0 = 0
|
||||
7:2/0 = 0
|
||||
7:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:3/0 = 0
|
||||
4:3/0 = 0
|
||||
5:3/0 = 0
|
||||
7:3/0 = 0
|
||||
7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:4/0 = 0
|
||||
4:4/0 = 0
|
||||
5:4/0 = 0
|
||||
7:4/0 = 0
|
||||
3:5/0 = 0
|
||||
4:5/0 = 0
|
||||
7:5/0 = 0
|
||||
3:6/0 = 0
|
||||
4:6/0 = 0
|
||||
7:6/0 = 0
|
||||
2:7/0 = 0
|
||||
3:7/0 = 0
|
||||
4:7/0 = 0
|
||||
5:7/0 = 0
|
||||
8:0/0 = 0
|
||||
8:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:0/0 = 0
|
||||
9:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:0/0 = 0
|
||||
10:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:0/0 = 0
|
||||
11:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:0/0 = 0
|
||||
12:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:0/0 = 0
|
||||
13:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:0/0 = 0
|
||||
14:0/0/physics_layer_1/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -8, 8)
|
||||
14:0/0/custom_data_0 = &"Sign"
|
||||
15:0/0 = 0
|
||||
16:0/0 = 0
|
||||
8:1/0 = 0
|
||||
8:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:1/0 = 0
|
||||
9:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:1/0 = 0
|
||||
10:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:1/0 = 0
|
||||
11:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:1/0 = 0
|
||||
12:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:1/0 = 0
|
||||
13:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:1/0 = 0
|
||||
15:1/0 = 0
|
||||
16:1/0 = 0
|
||||
8:2/0 = 0
|
||||
8:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:2/0 = 0
|
||||
9:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:2/0 = 0
|
||||
10:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:2/0 = 0
|
||||
11:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:2/0 = 0
|
||||
12:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:2/0 = 0
|
||||
13:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:2/0 = 0
|
||||
15:2/0 = 0
|
||||
16:2/0 = 0
|
||||
8:3/0 = 0
|
||||
8:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:3/0 = 0
|
||||
9:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:3/0 = 0
|
||||
10:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:3/0 = 0
|
||||
12:3/0 = 0
|
||||
12:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:3/0 = 0
|
||||
13:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:3/0 = 0
|
||||
15:3/0 = 0
|
||||
16:3/0 = 0
|
||||
8:4/0 = 0
|
||||
9:4/0 = 0
|
||||
10:4/0 = 0
|
||||
11:4/0 = 0
|
||||
11:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-7, 2.5, -5, -2, -2.5, -5, 2, -7, 8, -8, 8, 8, -8, 8)
|
||||
12:4/0 = 0
|
||||
12:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:4/0 = 0
|
||||
13:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 0, -6, 4, -1.5, 6.5, 1.5, 8, 8, -8, 8)
|
||||
14:4/0 = 0
|
||||
14:4/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8)
|
||||
14:4/0/custom_data_0 = &"Inventory"
|
||||
15:4/0 = 0
|
||||
16:4/0 = 0
|
||||
8:5/0 = 0
|
||||
9:5/0 = 0
|
||||
10:5/0 = 0
|
||||
11:5/0 = 0
|
||||
11:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:5/0 = 0
|
||||
12:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:5/0 = 0
|
||||
13:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:5/0 = 0
|
||||
15:5/0 = 0
|
||||
16:5/0 = 0
|
||||
8:6/0 = 0
|
||||
9:6/0 = 0
|
||||
10:6/0 = 0
|
||||
11:6/0 = 0
|
||||
11:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, 1, 6.5, -3, 3, -6.5, -1.5)
|
||||
12:6/0 = 0
|
||||
12:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:6/0 = 0
|
||||
13:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 6, -0.5, 3, 3.5, -1.5, 6.5, -8, 8)
|
||||
14:6/0 = 0
|
||||
15:6/0 = 0
|
||||
16:6/0 = 0
|
||||
|
||||
[sub_resource type="TileSet" id="TileSet_nawqc"]
|
||||
physics_layer_0/collision_layer = 1
|
||||
physics_layer_1/collision_layer = 2
|
||||
physics_layer_1/collision_mask = 2
|
||||
custom_data_layer_0/name = "Type"
|
||||
custom_data_layer_0/type = 21
|
||||
sources/0 = SubResource("TileSetAtlasSource_yx3lp")
|
||||
|
||||
[node name="Root" type="Node2D"]
|
||||
|
||||
[node name="Background" type="CanvasLayer" parent="."]
|
||||
layer = -3
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Background"]
|
||||
auto_translate_mode = 2
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -311.0
|
||||
offset_top = -173.0
|
||||
offset_right = 981.0
|
||||
offset_bottom = 548.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
localize_numeral_system = false
|
||||
color = Color(0.137255, 0.14902, 0.196078, 1)
|
||||
|
||||
[node name="Pillar" type="TileMapLayer" parent="."]
|
||||
use_parent_material = true
|
||||
scale = Vector2(3, 3)
|
||||
tile_map_data = PackedByteArray("AAAAAPr/AAAKAAIAAAAAAPv/AAAKAAMAAAAAAPz/AAAKAAMAAAAAAP3/AAAKAAMAAAAAAP7/AAAKAAMAAAAAAP//AAAKAAMAAAABAPr/AAALAAIAAAABAPv/AAALAAEAAAABAPz/AAALAAEAAAABAP3/AAALAAEAAAABAP7/AAALAAEAAAABAP//AAALAAEAAAACAPr/AAAMAAIAAAACAPv/AAAMAAMAAAACAPz/AAAMAAMAAAACAP3/AAAMAAMAAAACAP7/AAAMAAMAAAACAP//AAAMAAMAAAA=")
|
||||
tile_set = SubResource("TileSet_nawqc")
|
||||
collision_enabled = false
|
||||
navigation_enabled = false
|
||||
|
||||
[node name="Terrain" type="TileMapLayer" parent="."]
|
||||
use_parent_material = true
|
||||
scale = Vector2(3, 3)
|
||||
tile_map_data = PackedByteArray("AAABAAAAAAALAAAAAAACAAAAAAALAAAAAAADAAAAAAALAAAAAAAEAAAAAAALAAAAAAAFAAAAAAALAAAAAAAGAAAAAAALAAAAAAAHAAAAAAALAAAAAAAIAAAAAAALAAAAAAAJAAAAAAAMAAAAAAAJAAEAAAAMAAEAAAAJAAIAAAAMAAEAAAAJAAMAAAAMAAEAAAAJAAQAAAAMAAEAAAAJAAUAAAAMAAEAAAAJAAYAAAAMAAEAAAABAAEAAAALAAEAAAABAAIAAAALAAEAAAABAAMAAAALAAEAAAABAAQAAAAHAAEAAAABAAUAAAALA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AAcAAAAMAAUAAAASAAgAAAAMAAYAAAATAAgAAAAMAAYAAAAUAAgAAAAMAAYAAAAVAAgAAAAMAAYAAAAWAAgAAAAMAAYAAAAXAAgAAAAMAAYAAAAKAAUAAAALAAEAAAAKAAYAAAALAAEAAAAKAAcAAAALAAEAAAAKAAgAAAALAAEAAAALAAUAAAALAAEAAAALAAYAAAALAAEAAAALAAcAAAALAAEAAAALAAgAAAALAAEAAAAMAAUAAAALAAEAAAAMAAYAAAALAAEAAAAMAAcAAAALAAEAAAAMAALine truncated
|
||||
tile_set = SubResource("TileSet_nawqc")
|
||||
|
||||
[node name="UI" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="UIInventory" parent="UI" instance=ExtResource("2_kmt5y")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="UISign" parent="UI" instance=ExtResource("3_1cmgi")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="Controls" type="Label" parent="."]
|
||||
offset_left = 167.0
|
||||
offset_top = -145.0
|
||||
offset_right = 332.0
|
||||
offset_bottom = -81.0
|
||||
theme_override_colors/font_color = Color(0.294118, 1, 0.631373, 1)
|
||||
theme_override_fonts/font = ExtResource("4_4dx73")
|
||||
text = "[WASD] to move
|
||||
[Space] to jump"
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
physics_interpolation_mode = 1
|
||||
position = Vector2(227, -28)
|
||||
zoom = Vector2(1.5, 1.5)
|
||||
process_callback = 0
|
||||
editor_draw_limits = true
|
||||
|
||||
[node name="PhantomCameraHost" type="Node" parent="Camera2D"]
|
||||
process_priority = 300
|
||||
process_physics_priority = 300
|
||||
script = ExtResource("5_gcww2")
|
||||
|
||||
[node name="Player" type="Node" parent="."]
|
||||
|
||||
[node name="PlayerPhantomCamera2D" type="Node2D" parent="Player" node_paths=PackedStringArray("follow_target")]
|
||||
unique_name_in_owner = true
|
||||
process_priority = -1
|
||||
top_level = true
|
||||
position = Vector2(227, -28)
|
||||
script = ExtResource("6_i3g4f")
|
||||
priority = 10
|
||||
follow_mode = 2
|
||||
follow_target = NodePath("../CharacterBody2D")
|
||||
zoom = Vector2(1.5, 1.5)
|
||||
frame_preview = false
|
||||
tween_resource = ExtResource("7_j2i8l")
|
||||
tween_on_load = false
|
||||
follow_damping = true
|
||||
draw_limits = true
|
||||
|
||||
[node name="CharacterBody2D" parent="Player" instance=ExtResource("8_ytjsp")]
|
||||
position = Vector2(227, -28)
|
||||
@@ -0,0 +1,251 @@
|
||||
[gd_scene load_steps=12 format=4 uid="uid://dg1tuoxd3b4tw"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c77npili4pel4" path="res://addons/phantom_camera/examples/textures/2D/level_spritesheet.png" id="1_nf5bo"]
|
||||
[ext_resource type="PackedScene" uid="uid://dg7rhrymsrrrm" path="res://addons/phantom_camera/examples/ui/ui_inventory.tscn" id="2_5oggv"]
|
||||
[ext_resource type="PackedScene" uid="uid://iq5xd1ob1res" path="res://addons/phantom_camera/examples/ui/ui_sign.tscn" id="3_aku7q"]
|
||||
[ext_resource type="Script" uid="uid://bd046eokvcnu2" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="4_j3ux0"]
|
||||
[ext_resource type="Script" uid="uid://bhexx6mj1xv3q" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd" id="5_uwr6r"]
|
||||
[ext_resource type="Resource" uid="uid://euybd2w0bax" path="res://addons/phantom_camera/examples/resources/tween/player_phantom_camera_2d_tween.tres" id="6_4l0c3"]
|
||||
[ext_resource type="FontFile" uid="uid://c4mm3of2mc8o5" path="res://addons/phantom_camera/fonts/Nunito-Black.ttf" id="7_briql"]
|
||||
[ext_resource type="PackedScene" uid="uid://7kh0xydx0b1o" path="res://addons/phantom_camera/examples/example_scenes/2D/sub_scenes/playable_character_2d.tscn" id="8_i4m1d"]
|
||||
[ext_resource type="Script" uid="uid://cnnaky2ns2pn4" path="res://addons/phantom_camera/examples/scripts/2D/player_character_body_2d_4.3.gd" id="9_m3lnd"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_dpuou"]
|
||||
texture = ExtResource("1_nf5bo")
|
||||
0:0/0 = 0
|
||||
1:0/0 = 0
|
||||
2:0/0 = 0
|
||||
3:0/0 = 0
|
||||
4:0/0 = 0
|
||||
5:0/0 = 0
|
||||
6:0/0 = 0
|
||||
7:0/0 = 0
|
||||
7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:1/0 = 0
|
||||
1:1/0 = 0
|
||||
2:1/0 = 0
|
||||
3:1/0 = 0
|
||||
4:1/0 = 0
|
||||
5:1/0 = 0
|
||||
7:1/0 = 0
|
||||
7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
2:2/0 = 0
|
||||
3:2/0 = 0
|
||||
4:2/0 = 0
|
||||
7:2/0 = 0
|
||||
7:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:3/0 = 0
|
||||
4:3/0 = 0
|
||||
5:3/0 = 0
|
||||
7:3/0 = 0
|
||||
7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:4/0 = 0
|
||||
4:4/0 = 0
|
||||
5:4/0 = 0
|
||||
7:4/0 = 0
|
||||
3:5/0 = 0
|
||||
4:5/0 = 0
|
||||
7:5/0 = 0
|
||||
3:6/0 = 0
|
||||
4:6/0 = 0
|
||||
7:6/0 = 0
|
||||
2:7/0 = 0
|
||||
3:7/0 = 0
|
||||
4:7/0 = 0
|
||||
5:7/0 = 0
|
||||
8:0/0 = 0
|
||||
8:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:0/0 = 0
|
||||
9:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:0/0 = 0
|
||||
10:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:0/0 = 0
|
||||
11:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:0/0 = 0
|
||||
12:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:0/0 = 0
|
||||
13:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:0/0 = 0
|
||||
14:0/0/physics_layer_1/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -8, 8)
|
||||
14:0/0/custom_data_0 = &"Sign"
|
||||
15:0/0 = 0
|
||||
16:0/0 = 0
|
||||
8:1/0 = 0
|
||||
8:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:1/0 = 0
|
||||
9:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:1/0 = 0
|
||||
10:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:1/0 = 0
|
||||
11:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:1/0 = 0
|
||||
12:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:1/0 = 0
|
||||
13:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:1/0 = 0
|
||||
15:1/0 = 0
|
||||
16:1/0 = 0
|
||||
8:2/0 = 0
|
||||
8:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:2/0 = 0
|
||||
9:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:2/0 = 0
|
||||
10:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:2/0 = 0
|
||||
11:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:2/0 = 0
|
||||
12:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:2/0 = 0
|
||||
13:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:2/0 = 0
|
||||
15:2/0 = 0
|
||||
16:2/0 = 0
|
||||
8:3/0 = 0
|
||||
8:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:3/0 = 0
|
||||
9:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:3/0 = 0
|
||||
10:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:3/0 = 0
|
||||
12:3/0 = 0
|
||||
12:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:3/0 = 0
|
||||
13:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:3/0 = 0
|
||||
15:3/0 = 0
|
||||
16:3/0 = 0
|
||||
8:4/0 = 0
|
||||
9:4/0 = 0
|
||||
10:4/0 = 0
|
||||
11:4/0 = 0
|
||||
11:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-7, 2.5, -5, -2, -2.5, -5, 2, -7, 8, -8, 8, 8, -8, 8)
|
||||
12:4/0 = 0
|
||||
12:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:4/0 = 0
|
||||
13:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 0, -6, 4, -1.5, 6.5, 1.5, 8, 8, -8, 8)
|
||||
14:4/0 = 0
|
||||
14:4/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8)
|
||||
14:4/0/custom_data_0 = &"Inventory"
|
||||
15:4/0 = 0
|
||||
16:4/0 = 0
|
||||
8:5/0 = 0
|
||||
9:5/0 = 0
|
||||
10:5/0 = 0
|
||||
11:5/0 = 0
|
||||
11:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:5/0 = 0
|
||||
12:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:5/0 = 0
|
||||
13:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:5/0 = 0
|
||||
15:5/0 = 0
|
||||
16:5/0 = 0
|
||||
8:6/0 = 0
|
||||
9:6/0 = 0
|
||||
10:6/0 = 0
|
||||
11:6/0 = 0
|
||||
11:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, 1, 6.5, -3, 3, -6.5, -1.5)
|
||||
12:6/0 = 0
|
||||
12:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:6/0 = 0
|
||||
13:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 6, -0.5, 3, 3.5, -1.5, 6.5, -8, 8)
|
||||
14:6/0 = 0
|
||||
15:6/0 = 0
|
||||
16:6/0 = 0
|
||||
|
||||
[sub_resource type="TileSet" id="TileSet_kxirl"]
|
||||
physics_layer_0/collision_layer = 1
|
||||
physics_layer_1/collision_layer = 2
|
||||
physics_layer_1/collision_mask = 2
|
||||
custom_data_layer_0/name = "Type"
|
||||
custom_data_layer_0/type = 21
|
||||
sources/0 = SubResource("TileSetAtlasSource_dpuou")
|
||||
|
||||
[node name="Root" type="Node2D"]
|
||||
|
||||
[node name="Background" type="CanvasLayer" parent="."]
|
||||
layer = -3
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Background"]
|
||||
auto_translate_mode = 2
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -345.0
|
||||
offset_top = -143.0
|
||||
offset_right = 947.0
|
||||
offset_bottom = 578.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
localize_numeral_system = false
|
||||
color = Color(0.137255, 0.14902, 0.196078, 1)
|
||||
|
||||
[node name="Pillar" type="TileMapLayer" parent="."]
|
||||
use_parent_material = true
|
||||
scale = Vector2(3, 3)
|
||||
tile_map_data = PackedByteArray("AAAAAPr/AAAKAAIAAAAAAPv/AAAKAAMAAAAAAPz/AAAKAAMAAAAAAP3/AAAKAAMAAAAAAP7/AAAKAAMAAAAAAP//AAAKAAMAAAABAPr/AAALAAIAAAABAPv/AAALAAEAAAABAPz/AAALAAEAAAABAP3/AAALAAEAAAABAP7/AAALAAEAAAABAP//AAALAAEAAAACAPr/AAAMAAIAAAACAPv/AAAMAAMAAAACAPz/AAAMAAMAAAACAP3/AAAMAAMAAAACAP7/AAAMAAMAAAACAP//AAAMAAMAAAA=")
|
||||
tile_set = SubResource("TileSet_kxirl")
|
||||
collision_enabled = false
|
||||
navigation_enabled = false
|
||||
|
||||
[node name="Terrain" type="TileMapLayer" parent="."]
|
||||
use_parent_material = true
|
||||
scale = Vector2(3, 3)
|
||||
tile_map_data = PackedByteArray("AAABAAAAAAALAAAAAAACAAAAAAALAAAAAAADAAAAAAALAAAAAAAEAAAAAAALAAAAAAAFAAAAAAALAAA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//v/AAAMAAQAAAD7//z/AAAMAAUAAAD7//3/AAAMAAUAAAD7//7/AAAMAAUAAAD8//v/AAAMAAQAAAD8//z/AAAMAAUAAAD8//3/AAAMAAUAAAD8//7/AAAMAAUAAAARAAcAAAALAAUAAAARAAgAAAALAAYAAAAXAAcAAAAMAAUAAAAWAAcAAAAMAAUAAAAVAAcAAAAMAAUAAAAUAAcAAAAMAAUAAAATAAcAAAAMAAUAAAASAAcAAAAMAAUAAAASAAgAAAAMAAYAAAATAAgAAAAMAAYAAAAUAAgAAAAMAAYAAAAVAAgAAAAMAAYAAAAWAAgAAAAMAAYAAAAXAAgAAAAMAAYAAAAKAAUAAAALAAEAAAAKAAYAAAALAAEAAAAKAAcAAAALAAEAAAAKAAgAAAALAAEAAAALAAUAAAALAAEAAAALAAYAAAALAAEAAAALAAcAAAALAAEAAAALAAgAAAALAAEAAAAMAAUAAAALAAEAAAAMAAYAAAALAAEAAAAMAAcAAAALAAEAAAAMAALine truncated
|
||||
tile_set = SubResource("TileSet_kxirl")
|
||||
|
||||
[node name="UI" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="UIInventory" parent="UI" instance=ExtResource("2_5oggv")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="UISign" parent="UI" instance=ExtResource("3_aku7q")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
physics_interpolation_mode = 1
|
||||
position = Vector2(215, -73)
|
||||
zoom = Vector2(2, 2)
|
||||
process_callback = 0
|
||||
editor_draw_limits = true
|
||||
|
||||
[node name="PhantomCameraHost" type="Node" parent="Camera2D"]
|
||||
process_priority = 300
|
||||
process_physics_priority = 300
|
||||
script = ExtResource("4_j3ux0")
|
||||
|
||||
[node name="Player" type="Node" parent="."]
|
||||
|
||||
[node name="PlayerPhantomCamera2D" type="Node2D" parent="Player" node_paths=PackedStringArray("follow_target")]
|
||||
unique_name_in_owner = true
|
||||
top_level = true
|
||||
position = Vector2(215, -73)
|
||||
script = ExtResource("5_uwr6r")
|
||||
priority = 5
|
||||
follow_mode = 5
|
||||
follow_target = NodePath("../CharacterBody2D")
|
||||
zoom = Vector2(2, 2)
|
||||
tween_resource = ExtResource("6_4l0c3")
|
||||
tween_on_load = false
|
||||
follow_offset = Vector2(0, -45)
|
||||
follow_damping = true
|
||||
dead_zone_width = 0.25
|
||||
dead_zone_height = 0.8
|
||||
show_viewfinder_in_play = true
|
||||
draw_limits = true
|
||||
|
||||
[node name="Label" type="Label" parent="Player"]
|
||||
offset_left = 167.0
|
||||
offset_top = -145.0
|
||||
offset_right = 332.0
|
||||
offset_bottom = -81.0
|
||||
theme_override_colors/font_color = Color(0.294118, 1, 0.631373, 1)
|
||||
theme_override_fonts/font = ExtResource("7_briql")
|
||||
text = "[WASD] to move
|
||||
[Space] to jump"
|
||||
|
||||
[node name="CharacterBody2D" parent="Player" instance=ExtResource("8_i4m1d")]
|
||||
position = Vector2(215, -28)
|
||||
script = ExtResource("9_m3lnd")
|
||||
@@ -0,0 +1,260 @@
|
||||
[gd_scene load_steps=14 format=4 uid="uid://bio6mao7gtru2"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c77npili4pel4" path="res://addons/phantom_camera/examples/textures/2D/level_spritesheet.png" id="1_8rflf"]
|
||||
[ext_resource type="PackedScene" uid="uid://dg7rhrymsrrrm" path="res://addons/phantom_camera/examples/ui/ui_inventory.tscn" id="2_tafwr"]
|
||||
[ext_resource type="PackedScene" uid="uid://iq5xd1ob1res" path="res://addons/phantom_camera/examples/ui/ui_sign.tscn" id="3_37c7w"]
|
||||
[ext_resource type="Script" uid="uid://bd046eokvcnu2" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="4_dxiro"]
|
||||
[ext_resource type="FontFile" uid="uid://c4mm3of2mc8o5" path="res://addons/phantom_camera/fonts/Nunito-Black.ttf" id="5_gaaip"]
|
||||
[ext_resource type="Script" uid="uid://bhexx6mj1xv3q" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd" id="6_ojk83"]
|
||||
[ext_resource type="Script" uid="uid://8umksf8e80fw" path="res://addons/phantom_camera/scripts/resources/tween_resource.gd" id="7_awenl"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwep0on2tthn7" path="res://addons/phantom_camera/examples/textures/2D/phantom_camera_2d_sprite.png" id="8_ys0m4"]
|
||||
[ext_resource type="PackedScene" uid="uid://7kh0xydx0b1o" path="res://addons/phantom_camera/examples/example_scenes/2D/sub_scenes/playable_character_2d.tscn" id="9_witv0"]
|
||||
[ext_resource type="Script" uid="uid://cnnaky2ns2pn4" path="res://addons/phantom_camera/examples/scripts/2D/player_character_body_2d_4.3.gd" id="10_aivri"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_3qxnm"]
|
||||
texture = ExtResource("1_8rflf")
|
||||
0:0/0 = 0
|
||||
1:0/0 = 0
|
||||
2:0/0 = 0
|
||||
3:0/0 = 0
|
||||
4:0/0 = 0
|
||||
5:0/0 = 0
|
||||
6:0/0 = 0
|
||||
7:0/0 = 0
|
||||
7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:1/0 = 0
|
||||
1:1/0 = 0
|
||||
2:1/0 = 0
|
||||
3:1/0 = 0
|
||||
4:1/0 = 0
|
||||
5:1/0 = 0
|
||||
7:1/0 = 0
|
||||
7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
2:2/0 = 0
|
||||
3:2/0 = 0
|
||||
4:2/0 = 0
|
||||
7:2/0 = 0
|
||||
7:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:3/0 = 0
|
||||
4:3/0 = 0
|
||||
5:3/0 = 0
|
||||
7:3/0 = 0
|
||||
7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:4/0 = 0
|
||||
4:4/0 = 0
|
||||
5:4/0 = 0
|
||||
7:4/0 = 0
|
||||
3:5/0 = 0
|
||||
4:5/0 = 0
|
||||
7:5/0 = 0
|
||||
3:6/0 = 0
|
||||
4:6/0 = 0
|
||||
7:6/0 = 0
|
||||
2:7/0 = 0
|
||||
3:7/0 = 0
|
||||
4:7/0 = 0
|
||||
5:7/0 = 0
|
||||
8:0/0 = 0
|
||||
8:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:0/0 = 0
|
||||
9:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:0/0 = 0
|
||||
10:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:0/0 = 0
|
||||
11:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:0/0 = 0
|
||||
12:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:0/0 = 0
|
||||
13:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:0/0 = 0
|
||||
14:0/0/physics_layer_1/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -8, 8)
|
||||
14:0/0/custom_data_0 = &"Sign"
|
||||
15:0/0 = 0
|
||||
16:0/0 = 0
|
||||
8:1/0 = 0
|
||||
8:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:1/0 = 0
|
||||
9:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:1/0 = 0
|
||||
10:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:1/0 = 0
|
||||
11:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:1/0 = 0
|
||||
12:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:1/0 = 0
|
||||
13:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:1/0 = 0
|
||||
15:1/0 = 0
|
||||
16:1/0 = 0
|
||||
8:2/0 = 0
|
||||
8:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:2/0 = 0
|
||||
9:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:2/0 = 0
|
||||
10:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:2/0 = 0
|
||||
11:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:2/0 = 0
|
||||
12:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:2/0 = 0
|
||||
13:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:2/0 = 0
|
||||
15:2/0 = 0
|
||||
16:2/0 = 0
|
||||
8:3/0 = 0
|
||||
8:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:3/0 = 0
|
||||
9:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:3/0 = 0
|
||||
10:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:3/0 = 0
|
||||
12:3/0 = 0
|
||||
12:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:3/0 = 0
|
||||
13:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:3/0 = 0
|
||||
15:3/0 = 0
|
||||
16:3/0 = 0
|
||||
8:4/0 = 0
|
||||
9:4/0 = 0
|
||||
10:4/0 = 0
|
||||
11:4/0 = 0
|
||||
11:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-7, 2.5, -5, -2, -2.5, -5, 2, -7, 8, -8, 8, 8, -8, 8)
|
||||
12:4/0 = 0
|
||||
12:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:4/0 = 0
|
||||
13:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 0, -6, 4, -1.5, 6.5, 1.5, 8, 8, -8, 8)
|
||||
14:4/0 = 0
|
||||
14:4/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8)
|
||||
14:4/0/custom_data_0 = &"Inventory"
|
||||
15:4/0 = 0
|
||||
16:4/0 = 0
|
||||
8:5/0 = 0
|
||||
9:5/0 = 0
|
||||
10:5/0 = 0
|
||||
11:5/0 = 0
|
||||
11:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:5/0 = 0
|
||||
12:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:5/0 = 0
|
||||
13:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:5/0 = 0
|
||||
15:5/0 = 0
|
||||
16:5/0 = 0
|
||||
8:6/0 = 0
|
||||
9:6/0 = 0
|
||||
10:6/0 = 0
|
||||
11:6/0 = 0
|
||||
11:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, 1, 6.5, -3, 3, -6.5, -1.5)
|
||||
12:6/0 = 0
|
||||
12:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:6/0 = 0
|
||||
13:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 6, -0.5, 3, 3.5, -1.5, 6.5, -8, 8)
|
||||
14:6/0 = 0
|
||||
15:6/0 = 0
|
||||
16:6/0 = 0
|
||||
|
||||
[sub_resource type="TileSet" id="TileSet_14yng"]
|
||||
physics_layer_0/collision_layer = 1
|
||||
physics_layer_1/collision_layer = 2
|
||||
physics_layer_1/collision_mask = 2
|
||||
custom_data_layer_0/name = "Type"
|
||||
custom_data_layer_0/type = 21
|
||||
sources/0 = SubResource("TileSetAtlasSource_3qxnm")
|
||||
|
||||
[sub_resource type="Resource" id="Resource_spy00"]
|
||||
script = ExtResource("7_awenl")
|
||||
duration = 0.3
|
||||
transition = 4
|
||||
|
||||
[node name="Root" type="Node2D"]
|
||||
|
||||
[node name="Background" type="CanvasLayer" parent="."]
|
||||
layer = -3
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Background"]
|
||||
auto_translate_mode = 2
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -311.0
|
||||
offset_top = -173.0
|
||||
offset_right = 981.0
|
||||
offset_bottom = 548.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
localize_numeral_system = false
|
||||
color = Color(0.137255, 0.14902, 0.196078, 1)
|
||||
|
||||
[node name="Pillar" type="TileMapLayer" parent="."]
|
||||
use_parent_material = true
|
||||
scale = Vector2(3, 3)
|
||||
tile_map_data = PackedByteArray("AAAAAPr/AAAKAAIAAAAAAPv/AAAKAAMAAAAAAPz/AAAKAAMAAAAAAP3/AAAKAAMAAAAAAP7/AAAKAAMAAAAAAP//AAAKAAMAAAABAPr/AAALAAIAAAABAPv/AAALAAEAAAABAPz/AAALAAEAAAABAP3/AAALAAEAAAABAP7/AAALAAEAAAABAP//AAALAAEAAAACAPr/AAAMAAIAAAACAPv/AAAMAAMAAAACAPz/AAAMAAMAAAACAP3/AAAMAAMAAAACAP7/AAAMAAMAAAACAP//AAAMAAMAAAA=")
|
||||
tile_set = SubResource("TileSet_14yng")
|
||||
collision_enabled = false
|
||||
navigation_enabled = false
|
||||
|
||||
[node name="Terrain" type="TileMapLayer" parent="."]
|
||||
use_parent_material = true
|
||||
scale = Vector2(3, 3)
|
||||
tile_map_data = PackedByteArray("AAABAAAAAAALAAAAAAACAAAAAAALAAAAAAADAAAAAAALAAAAAAAEAAAAAAALAAAAAAAFAAAAAAALAAAAAAAGAAAAAAALAAAAAAAHAAAAAAALAAAAAAAIAAAAAAALAAAAAAAJAAAAAAAMAAAAAAAJAAEAAAAMAAEAAAAJAAIAAAAMAAEAAAAJAAMAAAAMAAEAAAAJAAQAAAAMAAEAAAAJAAUAAAAMAAEAAAAJAAYAAAAMAAEAAAABAAEAAAALAAEAAAABAAIAAAALAAEAAAABAAMAAAALAAEAAAABAAQAAAAHAAEAAAABAAUAAAALAAEAAAABAAYAAAALAAEAAAACAAEAAAALAAEAAAACAAIAAAALAAEAAAACAAMAAAALAAEAAAACAAQAAAALAAEAAAACAAUAAAALAAEAAAACAAYAAAALAAEAAAADAAEAAAALAAEAAAADAAIAAAALAAEAAAADAAMAAAALAAEAAAADAAQAAAALAAEAAAADAAUAAAALAAEAAAADAAYAAAALAAEAAAAEAAEAAAAHAAEAAAAEAAIAAAALAAEAAAAEAAMAAAALAAEAAAAEAAQAAAALAAEAAAAEAAUAAAALAAEAAAAEAAYAAAALAAEAAAAFAAEAAAALAAEAAAAFAAIAAAALAAEAAAAFAAMAAAALAAEAAAAFAAQAAAAHAAEAAAAFAAUAAAALAAEAAAAFAAYAAAALAAE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AUAAAD6/wYAAAAMAAUAAAD6/wUAAAAMAAUAAAD6/wQAAAAMAAUAAAD5////AAALAAUAAAD5/wEAAAALAAUAAAD5/wIAAAALAAUAAAD5/wMAAAALAAUAAAD5/wQAAAALAAUAAAD5/wUAAAALAAUAAAD5/wYAAAALAAUAAAD8//r/AAALAAMAAAAOAP3/AAALAAMAAAALAP3/AAALAAMAAAASAP//AAALAAMAAAAUAP//AAALAAMAAAD6//r/AAAQAAUAAAD7//r/AAALAAMAAAANAP3/AAAOAAYAAAAWAP//AAAPAAYAAAD9//r/AAAPAAUAAAAXAP//AAAQAAUAAAD5//v/AAALAAQAAAD5//z/AAALAAUAAAD5//3/AAALAAUAAAD5//7/AAALAAUAAAD6//v/AAAMAAQAAAD6//z/AAAKAAYAAAD6//3/AAAMAAUAAAD6//7/AAAMAAUAAAD7//v/AAAMAAQAAAD7//z/AAAMAAUAAAD7//3/AAAMAAUAAAD7//7/AAAMAAUAAAD8//v/AAAMAAQAAAD8//z/AAAMAAUAAAD8//3/AAAMAAUAAAD8//7/AAAMAAUAAAARAAcAAAALAAUAAAARAAgAAAALAAYAAAAXAAcAAAAMAAUAAAAWAAcAAAAMAAUAAAAVAAcAAAAMAAUAAAAUAAcAAAAMAAUAAAATAAcAAAAMAAUAAAASAAcAAAAMAAUAAAASAAgAAAAMAAYAAAATAAgAAAAMAAYAAAAUAAgAAAAMAAYAAAAVAAgAAAAMAAYAAAAWAAgAAAAMAAYAAAAXAAgAAAAMAAYAAAAKAAUAAAALAAEAAAAKAAYAAAALAAEAAAAKAAcAAAALAAEAAAAKAAgAAAALAAEAAAALAAUAAAALAAEAAAALAAYAAAALAAEAAAALAAcAAAALAAEAAAALAAgAAAALAAEAAAAMAAUAAAALAAEAAAAMAAYAAAALAAEAAAAMAAcAAAALAAEAAAAMAALine truncated
|
||||
tile_set = SubResource("TileSet_14yng")
|
||||
|
||||
[node name="UI" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="UIInventory" parent="UI" instance=ExtResource("2_tafwr")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="UISign" parent="UI" instance=ExtResource("3_37c7w")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
physics_interpolation_mode = 1
|
||||
position = Vector2(186, -172.5)
|
||||
zoom = Vector2(1.5, 1.5)
|
||||
process_callback = 0
|
||||
position_smoothing_speed = 8.0
|
||||
editor_draw_limits = true
|
||||
|
||||
[node name="PhantomCameraHost" type="Node" parent="Camera2D"]
|
||||
process_priority = 300
|
||||
process_physics_priority = 300
|
||||
script = ExtResource("4_dxiro")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
offset_left = 167.0
|
||||
offset_top = -133.0
|
||||
offset_right = 332.0
|
||||
offset_bottom = -69.0
|
||||
theme_override_colors/font_color = Color(0.294118, 1, 0.631373, 1)
|
||||
theme_override_fonts/font = ExtResource("5_gaaip")
|
||||
text = "[WASD] to move
|
||||
[Space] to jump"
|
||||
|
||||
[node name="PhantomCamera2D" type="Node2D" parent="." node_paths=PackedStringArray("follow_targets")]
|
||||
top_level = true
|
||||
position = Vector2(186, -172.5)
|
||||
script = ExtResource("6_ojk83")
|
||||
priority = 10
|
||||
follow_mode = 3
|
||||
follow_targets = [NodePath("../CharacterBody2D"), NodePath("../GroupNPCSprite")]
|
||||
zoom = Vector2(1.5, 1.5)
|
||||
tween_resource = SubResource("Resource_spy00")
|
||||
tween_on_load = false
|
||||
follow_damping = true
|
||||
auto_zoom = true
|
||||
auto_zoom_min = 0.5
|
||||
auto_zoom_max = 1.5
|
||||
auto_zoom_margin = Vector4(200, 0, 200, 0)
|
||||
draw_limits = true
|
||||
|
||||
[node name="GroupNPCSprite" type="Sprite2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(107, -316)
|
||||
texture = ExtResource("8_ys0m4")
|
||||
|
||||
[node name="CharacterBody2D" parent="." instance=ExtResource("9_witv0")]
|
||||
position = Vector2(265, -29)
|
||||
script = ExtResource("10_aivri")
|
||||
@@ -0,0 +1,269 @@
|
||||
[gd_scene load_steps=13 format=4 uid="uid://b75giavcvh1mv"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c77npili4pel4" path="res://addons/phantom_camera/examples/textures/2D/level_spritesheet.png" id="1_t003o"]
|
||||
[ext_resource type="PackedScene" uid="uid://dg7rhrymsrrrm" path="res://addons/phantom_camera/examples/ui/ui_inventory.tscn" id="2_4ncqd"]
|
||||
[ext_resource type="PackedScene" uid="uid://iq5xd1ob1res" path="res://addons/phantom_camera/examples/ui/ui_sign.tscn" id="3_tpji3"]
|
||||
[ext_resource type="Script" uid="uid://bd046eokvcnu2" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="4_w0rat"]
|
||||
[ext_resource type="FontFile" uid="uid://c4mm3of2mc8o5" path="res://addons/phantom_camera/fonts/Nunito-Black.ttf" id="5_q77r4"]
|
||||
[ext_resource type="Script" uid="uid://bhexx6mj1xv3q" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd" id="6_y6hoa"]
|
||||
[ext_resource type="Resource" uid="uid://euybd2w0bax" path="res://addons/phantom_camera/examples/resources/tween/player_phantom_camera_2d_tween.tres" id="7_wd55r"]
|
||||
[ext_resource type="PackedScene" uid="uid://7kh0xydx0b1o" path="res://addons/phantom_camera/examples/example_scenes/2D/sub_scenes/playable_character_2d.tscn" id="8_fy81j"]
|
||||
[ext_resource type="Script" uid="uid://cnnaky2ns2pn4" path="res://addons/phantom_camera/examples/scripts/2D/player_character_body_2d_4.3.gd" id="9_u6ygl"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_nivvc"]
|
||||
texture = ExtResource("1_t003o")
|
||||
0:0/0 = 0
|
||||
1:0/0 = 0
|
||||
2:0/0 = 0
|
||||
3:0/0 = 0
|
||||
4:0/0 = 0
|
||||
5:0/0 = 0
|
||||
6:0/0 = 0
|
||||
7:0/0 = 0
|
||||
7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:1/0 = 0
|
||||
1:1/0 = 0
|
||||
2:1/0 = 0
|
||||
3:1/0 = 0
|
||||
4:1/0 = 0
|
||||
5:1/0 = 0
|
||||
7:1/0 = 0
|
||||
7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
2:2/0 = 0
|
||||
3:2/0 = 0
|
||||
4:2/0 = 0
|
||||
7:2/0 = 0
|
||||
7:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:3/0 = 0
|
||||
4:3/0 = 0
|
||||
5:3/0 = 0
|
||||
7:3/0 = 0
|
||||
7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:4/0 = 0
|
||||
4:4/0 = 0
|
||||
5:4/0 = 0
|
||||
7:4/0 = 0
|
||||
3:5/0 = 0
|
||||
4:5/0 = 0
|
||||
7:5/0 = 0
|
||||
3:6/0 = 0
|
||||
4:6/0 = 0
|
||||
7:6/0 = 0
|
||||
2:7/0 = 0
|
||||
3:7/0 = 0
|
||||
4:7/0 = 0
|
||||
5:7/0 = 0
|
||||
8:0/0 = 0
|
||||
8:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:0/0 = 0
|
||||
9:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:0/0 = 0
|
||||
10:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:0/0 = 0
|
||||
11:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:0/0 = 0
|
||||
12:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:0/0 = 0
|
||||
13:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:0/0 = 0
|
||||
14:0/0/physics_layer_1/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -8, 8)
|
||||
14:0/0/custom_data_0 = &"Sign"
|
||||
15:0/0 = 0
|
||||
16:0/0 = 0
|
||||
8:1/0 = 0
|
||||
8:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:1/0 = 0
|
||||
9:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:1/0 = 0
|
||||
10:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:1/0 = 0
|
||||
11:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:1/0 = 0
|
||||
12:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:1/0 = 0
|
||||
13:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:1/0 = 0
|
||||
15:1/0 = 0
|
||||
16:1/0 = 0
|
||||
8:2/0 = 0
|
||||
8:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:2/0 = 0
|
||||
9:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:2/0 = 0
|
||||
10:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:2/0 = 0
|
||||
11:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:2/0 = 0
|
||||
12:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:2/0 = 0
|
||||
13:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:2/0 = 0
|
||||
15:2/0 = 0
|
||||
16:2/0 = 0
|
||||
8:3/0 = 0
|
||||
8:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:3/0 = 0
|
||||
9:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:3/0 = 0
|
||||
10:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:3/0 = 0
|
||||
12:3/0 = 0
|
||||
12:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:3/0 = 0
|
||||
13:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:3/0 = 0
|
||||
15:3/0 = 0
|
||||
16:3/0 = 0
|
||||
8:4/0 = 0
|
||||
9:4/0 = 0
|
||||
10:4/0 = 0
|
||||
11:4/0 = 0
|
||||
11:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-7, 2.5, -5, -2, -2.5, -5, 2, -7, 8, -8, 8, 8, -8, 8)
|
||||
12:4/0 = 0
|
||||
12:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:4/0 = 0
|
||||
13:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 0, -6, 4, -1.5, 6.5, 1.5, 8, 8, -8, 8)
|
||||
14:4/0 = 0
|
||||
14:4/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8)
|
||||
14:4/0/custom_data_0 = &"Inventory"
|
||||
15:4/0 = 0
|
||||
16:4/0 = 0
|
||||
8:5/0 = 0
|
||||
9:5/0 = 0
|
||||
10:5/0 = 0
|
||||
11:5/0 = 0
|
||||
11:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:5/0 = 0
|
||||
12:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:5/0 = 0
|
||||
13:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:5/0 = 0
|
||||
15:5/0 = 0
|
||||
16:5/0 = 0
|
||||
8:6/0 = 0
|
||||
9:6/0 = 0
|
||||
10:6/0 = 0
|
||||
11:6/0 = 0
|
||||
11:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, 1, 6.5, -3, 3, -6.5, -1.5)
|
||||
12:6/0 = 0
|
||||
12:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:6/0 = 0
|
||||
13:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 6, -0.5, 3, 3.5, -1.5, 6.5, -8, 8)
|
||||
14:6/0 = 0
|
||||
15:6/0 = 0
|
||||
16:6/0 = 0
|
||||
|
||||
[sub_resource type="TileSet" id="TileSet_eyojy"]
|
||||
physics_layer_0/collision_layer = 1
|
||||
physics_layer_1/collision_layer = 2
|
||||
physics_layer_1/collision_mask = 2
|
||||
custom_data_layer_0/name = "Type"
|
||||
custom_data_layer_0/type = 21
|
||||
sources/0 = SubResource("TileSetAtlasSource_nivvc")
|
||||
|
||||
[sub_resource type="Curve2D" id="Curve2D_usrhf"]
|
||||
_data = {
|
||||
"points": PackedVector2Array(-96.4111, 42.3785, 0, 0, 222, 0, 0, 0, 0, 0, 1580.53, 0)
|
||||
}
|
||||
point_count = 2
|
||||
|
||||
[node name="Root" type="Node2D"]
|
||||
|
||||
[node name="Background" type="CanvasLayer" parent="."]
|
||||
layer = -3
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Background"]
|
||||
auto_translate_mode = 2
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -311.0
|
||||
offset_top = -173.0
|
||||
offset_right = 981.0
|
||||
offset_bottom = 548.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
localize_numeral_system = false
|
||||
color = Color(0.137255, 0.14902, 0.196078, 1)
|
||||
|
||||
[node name="Pillar" type="TileMapLayer" parent="."]
|
||||
use_parent_material = true
|
||||
scale = Vector2(3, 3)
|
||||
tile_map_data = PackedByteArray("AAAAAPr/AAAKAAIAAAAAAPv/AAAKAAMAAAAAAPz/AAAKAAMAAAAAAP3/AAAKAAMAAAAAAP7/AAAKAAMAAAAAAP//AAAKAAMAAAABAPr/AAALAAIAAAABAPv/AAALAAEAAAABAPz/AAALAAEAAAABAP3/AAALAAEAAAABAP7/AAALAAEAAAABAP//AAALAAEAAAACAPr/AAAMAAIAAAACAPv/AAAMAAMAAAACAPz/AAAMAAMAAAACAP3/AAAMAAMAAAACAP7/AAAMAAMAAAACAP//AAAMAAMAAAA=")
|
||||
tile_set = SubResource("TileSet_eyojy")
|
||||
collision_enabled = false
|
||||
navigation_enabled = false
|
||||
|
||||
[node name="Terrain" type="TileMapLayer" parent="."]
|
||||
use_parent_material = true
|
||||
scale = Vector2(3, 3)
|
||||
tile_map_data = PackedByteArray("AAABAAAAAAALAAAAAAACAAAAAAALAAAAAAADAAAAAAALAAAAAAAEAAAAAAALAAAAAAAFAAAAAAALAAAAAAAGAAAAAAALAAAAAAAHAAAAAAALAAAAAAAIAAAAAAALAAAAAAAJAAAAAAAMAAAAAAAJAAEAAAAMAAEAAAAJA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AUAAAD8//3/AAAMAAUAAAD8//7/AAAMAAUAAAARAAcAAAALAAUAAAARAAgAAAALAAYAAAAXAAcAAAAMAAUAAAAWAAcAAAAMAAUAAAAVAAcAAAAMAAUAAAAUAAcAAAAMAAUAAAATAAcAAAAMAAUAAAASAAcAAAAMAAUAAAASAAgAAAAMAAYAAAATAAgAAAAMAAYAAAAUAAgAAAAMAAYAAAAVAAgAAAAMAAYAAAAWAAgAAAAMAAYAAAAXAAgAAAAMAAYAAAAKAAUAAAALAAEAAAAKAAYAAAALAAEAAAAKAAcAAAALAAEAAAAKAAgAAAALAAEAAAALAAUAAAALAAEAAAALAAYAAAALAAEAAAALAAcAAAALAAEAAAALAAgAAAALAAEAAAAMAAUAAAALAAEAAAAMAAYAAAALAAEAAAAMAAcAAAALAAEAAAAMAALine truncated
|
||||
tile_set = SubResource("TileSet_eyojy")
|
||||
|
||||
[node name="UI" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="UIInventory" parent="UI" instance=ExtResource("2_4ncqd")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="UISign" parent="UI" instance=ExtResource("3_tpji3")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
physics_interpolation_mode = 1
|
||||
position = Vector2(374, -190)
|
||||
zoom = Vector2(1.5, 1.5)
|
||||
process_callback = 0
|
||||
editor_draw_limits = true
|
||||
|
||||
[node name="PhantomCameraHost" type="Node" parent="Camera2D"]
|
||||
process_priority = 300
|
||||
process_physics_priority = 300
|
||||
script = ExtResource("4_w0rat")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
offset_left = 167.0
|
||||
offset_top = -133.0
|
||||
offset_right = 332.0
|
||||
offset_bottom = -69.0
|
||||
theme_override_colors/font_color = Color(0.294118, 1, 0.631373, 1)
|
||||
theme_override_fonts/font = ExtResource("5_q77r4")
|
||||
text = "[WASD] to move
|
||||
[Space] to jump"
|
||||
|
||||
[node name="Player" type="Node" parent="."]
|
||||
|
||||
[node name="Label" type="Label" parent="Player"]
|
||||
visible = false
|
||||
offset_left = 167.0
|
||||
offset_top = -145.0
|
||||
offset_right = 332.0
|
||||
offset_bottom = -81.0
|
||||
theme_override_colors/font_color = Color(0.294118, 1, 0.631373, 1)
|
||||
theme_override_fonts/font = ExtResource("5_q77r4")
|
||||
text = "[WASD] to move
|
||||
[Space] to jump"
|
||||
|
||||
[node name="PlayerPhantomCamera2D" type="Node2D" parent="." node_paths=PackedStringArray("follow_target", "follow_path")]
|
||||
unique_name_in_owner = true
|
||||
top_level = true
|
||||
position = Vector2(374, -190)
|
||||
script = ExtResource("6_y6hoa")
|
||||
priority = 10
|
||||
follow_mode = 4
|
||||
follow_target = NodePath("../CharacterBody2D")
|
||||
follow_path = NodePath("../Path2D")
|
||||
zoom = Vector2(1.5, 1.5)
|
||||
tween_resource = ExtResource("7_wd55r")
|
||||
tween_on_load = false
|
||||
follow_damping = true
|
||||
draw_limits = true
|
||||
|
||||
[node name="Path2D" type="Path2D" parent="."]
|
||||
position = Vector2(152, -190)
|
||||
curve = SubResource("Curve2D_usrhf")
|
||||
|
||||
[node name="CharacterBody2D" parent="." instance=ExtResource("8_fy81j")]
|
||||
position = Vector2(225, -28)
|
||||
script = ExtResource("9_u6ygl")
|
||||
@@ -0,0 +1,315 @@
|
||||
[gd_scene load_steps=16 format=4 uid="uid://0ox7hgdpwpqp"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c5yewe1hewu7j" path="res://addons/phantom_camera/examples/scripts/2D/2d_room_limit_tween.gd" id="1_dg5yo"]
|
||||
[ext_resource type="Texture2D" uid="uid://c77npili4pel4" path="res://addons/phantom_camera/examples/textures/2D/level_spritesheet.png" id="2_f03of"]
|
||||
[ext_resource type="PackedScene" uid="uid://dg7rhrymsrrrm" path="res://addons/phantom_camera/examples/ui/ui_inventory.tscn" id="3_cysy4"]
|
||||
[ext_resource type="PackedScene" uid="uid://iq5xd1ob1res" path="res://addons/phantom_camera/examples/ui/ui_sign.tscn" id="4_qqut6"]
|
||||
[ext_resource type="PackedScene" uid="uid://7kh0xydx0b1o" path="res://addons/phantom_camera/examples/example_scenes/2D/sub_scenes/playable_character_2d.tscn" id="5_yv8tn"]
|
||||
[ext_resource type="Script" uid="uid://bhexx6mj1xv3q" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd" id="6_2n5r1"]
|
||||
[ext_resource type="Script" uid="uid://8umksf8e80fw" path="res://addons/phantom_camera/scripts/resources/tween_resource.gd" id="7_ne05h"]
|
||||
[ext_resource type="Script" uid="uid://bd046eokvcnu2" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="8_hulu3"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_easgx"]
|
||||
texture = ExtResource("2_f03of")
|
||||
0:0/0 = 0
|
||||
1:0/0 = 0
|
||||
2:0/0 = 0
|
||||
3:0/0 = 0
|
||||
4:0/0 = 0
|
||||
5:0/0 = 0
|
||||
6:0/0 = 0
|
||||
7:0/0 = 0
|
||||
7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:1/0 = 0
|
||||
1:1/0 = 0
|
||||
2:1/0 = 0
|
||||
3:1/0 = 0
|
||||
4:1/0 = 0
|
||||
5:1/0 = 0
|
||||
7:1/0 = 0
|
||||
7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
2:2/0 = 0
|
||||
3:2/0 = 0
|
||||
4:2/0 = 0
|
||||
7:2/0 = 0
|
||||
7:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:3/0 = 0
|
||||
4:3/0 = 0
|
||||
5:3/0 = 0
|
||||
7:3/0 = 0
|
||||
7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:4/0 = 0
|
||||
4:4/0 = 0
|
||||
5:4/0 = 0
|
||||
7:4/0 = 0
|
||||
3:5/0 = 0
|
||||
4:5/0 = 0
|
||||
7:5/0 = 0
|
||||
3:6/0 = 0
|
||||
4:6/0 = 0
|
||||
7:6/0 = 0
|
||||
2:7/0 = 0
|
||||
3:7/0 = 0
|
||||
4:7/0 = 0
|
||||
5:7/0 = 0
|
||||
8:0/0 = 0
|
||||
8:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:0/0 = 0
|
||||
9:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:0/0 = 0
|
||||
10:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:0/0 = 0
|
||||
11:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:0/0 = 0
|
||||
12:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:0/0 = 0
|
||||
13:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:0/0 = 0
|
||||
14:0/0/physics_layer_1/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -8, 8)
|
||||
14:0/0/custom_data_0 = &"Sign"
|
||||
15:0/0 = 0
|
||||
16:0/0 = 0
|
||||
8:1/0 = 0
|
||||
8:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:1/0 = 0
|
||||
9:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:1/0 = 0
|
||||
10:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:1/0 = 0
|
||||
11:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:1/0 = 0
|
||||
12:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:1/0 = 0
|
||||
13:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:1/0 = 0
|
||||
15:1/0 = 0
|
||||
16:1/0 = 0
|
||||
8:2/0 = 0
|
||||
8:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:2/0 = 0
|
||||
9:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:2/0 = 0
|
||||
10:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:2/0 = 0
|
||||
11:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:2/0 = 0
|
||||
12:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:2/0 = 0
|
||||
13:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:2/0 = 0
|
||||
15:2/0 = 0
|
||||
16:2/0 = 0
|
||||
8:3/0 = 0
|
||||
8:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:3/0 = 0
|
||||
9:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:3/0 = 0
|
||||
10:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:3/0 = 0
|
||||
12:3/0 = 0
|
||||
12:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:3/0 = 0
|
||||
13:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:3/0 = 0
|
||||
15:3/0 = 0
|
||||
16:3/0 = 0
|
||||
8:4/0 = 0
|
||||
9:4/0 = 0
|
||||
10:4/0 = 0
|
||||
11:4/0 = 0
|
||||
11:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-7, 2.5, -5, -2, -2.5, -5, 2, -7, 8, -8, 8, 8, -8, 8)
|
||||
12:4/0 = 0
|
||||
12:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:4/0 = 0
|
||||
13:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 0, -6, 4, -1.5, 6.5, 1.5, 8, 8, -8, 8)
|
||||
14:4/0 = 0
|
||||
14:4/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8)
|
||||
14:4/0/custom_data_0 = &"Inventory"
|
||||
15:4/0 = 0
|
||||
16:4/0 = 0
|
||||
8:5/0 = 0
|
||||
9:5/0 = 0
|
||||
10:5/0 = 0
|
||||
11:5/0 = 0
|
||||
11:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:5/0 = 0
|
||||
12:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:5/0 = 0
|
||||
13:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:5/0 = 0
|
||||
15:5/0 = 0
|
||||
16:5/0 = 0
|
||||
8:6/0 = 0
|
||||
9:6/0 = 0
|
||||
10:6/0 = 0
|
||||
11:6/0 = 0
|
||||
11:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, 1, 6.5, -3, 3, -6.5, -1.5)
|
||||
12:6/0 = 0
|
||||
12:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:6/0 = 0
|
||||
13:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 6, -0.5, 3, 3.5, -1.5, 6.5, -8, 8)
|
||||
14:6/0 = 0
|
||||
15:6/0 = 0
|
||||
16:6/0 = 0
|
||||
|
||||
[sub_resource type="TileSet" id="TileSet_kf7eg"]
|
||||
physics_layer_0/collision_layer = 1
|
||||
physics_layer_1/collision_layer = 2
|
||||
physics_layer_1/collision_mask = 2
|
||||
custom_data_layer_0/name = "Type"
|
||||
custom_data_layer_0/type = 21
|
||||
sources/0 = SubResource("TileSetAtlasSource_easgx")
|
||||
|
||||
[sub_resource type="Resource" id="Resource_ct1eh"]
|
||||
script = ExtResource("7_ne05h")
|
||||
duration = 0.9
|
||||
transition = 2
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xmxri"]
|
||||
size = Vector2(790, 410)
|
||||
|
||||
[sub_resource type="Resource" id="Resource_exr3j"]
|
||||
script = ExtResource("7_ne05h")
|
||||
duration = 0.9
|
||||
transition = 2
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_wtfjw"]
|
||||
size = Vector2(1530, 700)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_daeuh"]
|
||||
size = Vector2(1027.5, 610.5)
|
||||
|
||||
[node name="ExampleScene2D" type="Node2D"]
|
||||
script = ExtResource("1_dg5yo")
|
||||
|
||||
[node name="Background" type="CanvasLayer" parent="."]
|
||||
layer = -3
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Background"]
|
||||
auto_translate_mode = 2
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -311.0
|
||||
offset_top = -173.0
|
||||
offset_right = 981.0
|
||||
offset_bottom = 548.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
localize_numeral_system = false
|
||||
color = Color(0.137255, 0.14902, 0.196078, 1)
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="StartingTerrain" type="TileMapLayer" parent="."]
|
||||
z_index = 1
|
||||
use_parent_material = true
|
||||
position = Vector2(-97, 0)
|
||||
scale = Vector2(3, 3)
|
||||
tile_map_data = PackedByteArray("AAD9/wAAAAALAAAAAAD+/wAAAAALAAAAAAD//wAAAAALAAAAAAAAAAAAAAALAAAAAAABAAAAAAALAAAAAAACAAAAAAALAAAAAAADAAAAAAALAAAAAAAEAAAAAAALAAAAAAAFAAAAAAALAAAAAAAGAAAAAAALAAAAAAAHAAAAAAALAAAAAAAIAAAAAAALAAAAAAAJAAAAAAAMAAAAAAD8/wAAAAALAAAAAAD7/wAAAAAKAAAAAAD7/wEAAAAKAAEAAAD7/wIAAAAKAAEAAAD7/wMAAAAKAAEAAAD7/wQAAAAKAAEAAAD7/wUAAAAKAAEAAAD8/wEAAAALAAEAAAD8/wIAAAALAAEAAAD8/wMAAAALAAEAAAD8/wQAAAALAAEAAAD8/wUAAAALAAEAAAD9/wEAAAALAAEAAAD9/wIAAAALAAEAAAD9/wMAAAALAAEAAAD9/wQAAAALAAEAAAD9/wUAAAALAAEAAAD+/wEAAAALAAEAAAD+/wIAAAALAAEAAAD+/wMAAAALAAEAAAD+/wQAAAALAAEAAAD+/wUAAAALAAEAAAD//wEAAAALAAEAAAD//wIAAAALAAEAAAD//wMAAAALAAEAAAD//wQAAAALAAEAAAD//wUAAAALAAEAAAAAAAEAAAALAAEAAAAAAAIAAAALAAEAAAAAAAMAAAALAAEAAAAAAAQAAAALAAEAAAAAAAUAAAALAAEAAAABAAEAAAALAAEAAAABAAIAAAALAAEAAAABAAMAAAALAAEAAAABAAQAAAALAAEAAAABAAUA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AAAGAPX/AAAMAAQAAAAHAPX/AAAMAAQAAAAIAPX/AAAMAAQAAAAJAPX/AAANAAQAAAAJAPb/AAANAAUAAAAJAPf/AAANAAUAAAAJAPj/AAANAAUAAAAJAPn/AAANAAYAAAD8//b/AAAMAAUAAAD8//f/AAAMAAUAAAD8//j/AAAMAAUAAAD9//b/AAAMAAUAAAD9//f/AAAMAAUAAAD9//j/AAAMAAUAAAD+//b/AAAMAAUAAAD+//f/AAAMAAUAAAD+//j/AAAMAAUAAAD///b/AAAMAAUAAAD///f/AAAMAAUAAAD///j/AAAMAAUAAAAAAPb/AAAMAAUAAAAAAPf/AAAMAAUAAAAAAPj/AAAMAAUAAAABAPb/AAAMAAUAAAABAPf/AAAMAAUAAAABAPj/AAAMAAUAAAACAPb/AAAMAAUAAAACAPf/AAAMAAUAAAACAPj/AAAMAAUAAAADAPb/AAAMAAUAAAADAPf/AAAMAAUAAAADAPj/AAAMAAUAAAAEAPb/AAAMAAUAAAAEAPf/AAAMAAUAAAAEAPj/AAAMAAUAAAAFAPb/AAAMAAUAAAAFAPf/AAAMAAUAAAAFAPj/AAAMAAUAAAAGAPb/AAAMAAUAAAAGAPf/AAAMAAUAAAAGAPj/AAAMAAUAAAAHAPb/AAAMAAUAAAAHAPf/AAAMAAUAAAAHAPj/AAAMAAUAAAAIAPb/AAAMAAUAAAAIAPf/AAAMAAUAAAAIAPj/AAAMAAUAAAA=")
|
||||
tile_set = SubResource("TileSet_kf7eg")
|
||||
|
||||
[node name="OtherTerrain" type="TileMapLayer" parent="."]
|
||||
z_index = 1
|
||||
use_parent_material = true
|
||||
scale = Vector2(3, 3)
|
||||
tile_map_data = PackedByteArray("AAAIAAAAAAAMAAQAAAAJAAAAAAAMAAQAAAAKAAAAAAAMAAQAAAALAAAAAAAMAAQAAAAMAAAAAAAMAAQAAAANAAAAAAAMAAQAAAAOAAAAAAAMAAQAAAD4/wAAAAANAAUAAAD3/wAAAAAMAAUAAAD2/wAAAAAMAAUAAAD1/wAA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AAEAAAAMAAUAAAAQAAIAAAAMAAUAAAAQAAMAAAAMAAUAAAAQAAQAAAAMAAUAAAAQAAUAAAAMAAUAAAATAAAAAAAMAAQAAAATAAEAAAAMAAUAAAATAAIAAAAMAAUAAAATAAMAAAAMAAUAAAATAAQAAAAMAAUAAAATAAUAAAAMAAUAAADv//j/AAALAAUAAADv//n/AAALAAUAAADw//j/AAAMAAUAAADw//n/AAAMAAUAAADx//j/AAAMAAUAAADx//n/AAAMAAUAAADy//j/AAAMAAUAAADy//n/AAAMAAUAAADz//j/AAAMAAUAAADz//n/AAAMAAUAAAD0//j/AAAMAAUAAAD0//n/AAAMAAUAAAD1//j/AAAMAAUAAAD1//n/AAAMAAUAAAD2//j/AAAMAAUAAAD2//n/AAAMAAUAAAD3//j/AAAMAAUAAAD3//n/AAAMAAUAAAD4//j/AAANAAUAAAD4//n/AAANAAUAAADv//X/AAALAAQAAADv//b/AAALAAUAAADv//f/AAALAAUAAADw//X/AAAMAAQAAADw//b/AAAMAAUAAADw//f/AAAMAAUAAADx//X/AAAMAAQAAADx//b/AAAMAAUAAADx//f/AAAMAAUAAADy//X/AAAMAAQAAADy//b/AAAMAAUAAADy//f/AAAMAAUAAADz//X/AAAMAAQAAADz//b/AAAMAAUAAADz//f/AAAMAAUAAAD0//X/AAAMAAQAAAD0//b/AAAMAAUAAAD0//f/AAAMAAUAAAD1//X/AAAMAAQAAAD1//b/AAAMAAUAAAD1//f/AAAMAAUAAAD2//X/AAAMAAQAAAD2//b/AAAMAAUAAAD2//f/AAAMAAUAAAD3//X/AAAMAAQAAAD3//b/AAAMAAUAAAD3//f/AAAMAAUAAAD4//X/AAANAAQAAAD4//b/AAANAAUAAAD4//f/AAANAAUAAADv//r/AAALAAUAAADw//r/AAAMAAUAAADx//r/AAAMAAUAAADy//r/AAAMAAUAAADz//r/AAAMAAUAAAD0//r/AAAMAAUAAAD1//r/AAAMAAUAAAD2//r/AAAMAAUAAAD3//r/AAAMAAUAAAD4//r/AAANAAUA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AbAAQAAAAMAAUAAAAbAAUAAAAMAAUAAAAmAAAAAAAMAAQAAAAmAAEAAAAMAAUAAAAmAAIAAAAMAAUAAAAmAAMAAAAMAAUAAAAmAAQAAAAMAAUAAAAmAAUAAAAMAAUAAAAnAAAAAAAMAAQAAAAnAAEAAAAMAAUAAAAnAAIAAAAMAAUAAAAnAAMAAAAMAAUAAAAnAAQAAAAMAAUAAAAnAAUAAAAMAAUAAAAoAAAAAAAMAAQAAAAoAAEAAAAMAAUAAAAoAAIAAAAMAAUAAAAoAAMAAAAMAAUAAAAoAAQAAAAMAAUAAAAoAAUAAAAMAAUAAAApAAAAAAAMAAQAAAApAAEAAAAMAAUAAAApAAIAAAAMAAUAAAApAAMAAAAMAAUAAAApAAQAAAAMAAUAAAApAAUAAAAMAAUAAAAqAAAAAAAMAAQAAAAqAALine truncated
|
||||
tile_set = SubResource("TileSet_kf7eg")
|
||||
|
||||
[node name="UI" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="UIInventory" parent="UI" instance=ExtResource("3_cysy4")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="UISign" parent="UI" instance=ExtResource("4_qqut6")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="CharacterBody2D" parent="." instance=ExtResource("5_yv8tn")]
|
||||
unique_name_in_owner = true
|
||||
z_index = 1
|
||||
position = Vector2(66, -28)
|
||||
|
||||
[node name="RoomLeftPhantomCamera2D" type="Node2D" parent="." node_paths=PackedStringArray("follow_target")]
|
||||
unique_name_in_owner = true
|
||||
top_level = true
|
||||
position = Vector2(66, -91.205)
|
||||
script = ExtResource("6_2n5r1")
|
||||
priority = 5
|
||||
follow_mode = 2
|
||||
follow_target = NodePath("../CharacterBody2D")
|
||||
zoom = Vector2(2, 2)
|
||||
tween_resource = SubResource("Resource_ct1eh")
|
||||
follow_offset = Vector2(0, -63.205)
|
||||
follow_damping = true
|
||||
draw_limits = true
|
||||
limit_target = NodePath("../StartingTerrain")
|
||||
limit_margin = Vector4i(-50, 0, -50, 0)
|
||||
|
||||
[node name="RoomLeftArea2D" type="Area2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(117, -174)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomLeftArea2D"]
|
||||
position = Vector2(-79, 43)
|
||||
shape = SubResource("RectangleShape2D_xmxri")
|
||||
debug_color = Color(0, 0.6, 0.701961, 0.0313726)
|
||||
|
||||
[node name="RoomCentrePhantomCamera2D" type="Node2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
top_level = true
|
||||
position = Vector2(1218, -217)
|
||||
script = ExtResource("6_2n5r1")
|
||||
follow_mode = 2
|
||||
zoom = Vector2(1.5, 1.5)
|
||||
tween_resource = SubResource("Resource_exr3j")
|
||||
follow_damping = true
|
||||
draw_limits = true
|
||||
limit_target = NodePath("../RoomCentreArea2D/CollisionShape2D")
|
||||
|
||||
[node name="RoomCentreArea2D" type="Area2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(755, -179)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomCentreArea2D"]
|
||||
position = Vector2(338, -28)
|
||||
shape = SubResource("RectangleShape2D_wtfjw")
|
||||
debug_color = Color(0, 0.6, 0.701961, 0)
|
||||
|
||||
[node name="RoomRightArea2D" type="Area2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(2065, -160)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RoomRightArea2D"]
|
||||
position = Vector2(255.75, -3.25)
|
||||
shape = SubResource("RectangleShape2D_daeuh")
|
||||
debug_color = Color(0, 0.6, 0.701961, 0)
|
||||
|
||||
[node name="RoomRightPhantomCamera2D" type="Node2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
top_level = true
|
||||
position = Vector2(2347, -156)
|
||||
scale = Vector2(1.0024, 1)
|
||||
script = ExtResource("6_2n5r1")
|
||||
follow_mode = 2
|
||||
zoom = Vector2(2, 2)
|
||||
tween_resource = SubResource("Resource_exr3j")
|
||||
follow_damping = true
|
||||
draw_limits = true
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
physics_interpolation_mode = 1
|
||||
position = Vector2(66, -91.205)
|
||||
zoom = Vector2(2, 2)
|
||||
process_callback = 0
|
||||
limit_left = -387
|
||||
limit_top = -528
|
||||
limit_right = 433
|
||||
limit_bottom = 288
|
||||
position_smoothing_speed = 10.0
|
||||
editor_draw_limits = true
|
||||
|
||||
[node name="PhantomCameraHost" type="Node" parent="Camera2D"]
|
||||
process_priority = 300
|
||||
process_physics_priority = 300
|
||||
script = ExtResource("8_hulu3")
|
||||
@@ -0,0 +1,276 @@
|
||||
[gd_scene load_steps=15 format=4 uid="uid://chw6g32u86uve"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c77npili4pel4" path="res://addons/phantom_camera/examples/textures/2D/level_spritesheet.png" id="1_2m0x8"]
|
||||
[ext_resource type="PackedScene" uid="uid://dg7rhrymsrrrm" path="res://addons/phantom_camera/examples/ui/ui_inventory.tscn" id="2_4bfy0"]
|
||||
[ext_resource type="PackedScene" uid="uid://iq5xd1ob1res" path="res://addons/phantom_camera/examples/ui/ui_sign.tscn" id="3_vdqsb"]
|
||||
[ext_resource type="FontFile" uid="uid://c4mm3of2mc8o5" path="res://addons/phantom_camera/fonts/Nunito-Black.ttf" id="4_w2gh7"]
|
||||
[ext_resource type="Script" uid="uid://bd046eokvcnu2" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="5_d6fcf"]
|
||||
[ext_resource type="Script" uid="uid://bhexx6mj1xv3q" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd" id="6_bdmii"]
|
||||
[ext_resource type="Resource" uid="uid://euybd2w0bax" path="res://addons/phantom_camera/examples/resources/tween/player_phantom_camera_2d_tween.tres" id="7_dpnkg"]
|
||||
[ext_resource type="PackedScene" uid="uid://7kh0xydx0b1o" path="res://addons/phantom_camera/examples/example_scenes/2D/sub_scenes/playable_character_2d.tscn" id="8_u5o87"]
|
||||
[ext_resource type="Script" uid="uid://bhd4nuiu23e7l" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_noise_emitter_2d.gd" id="10_p43w0"]
|
||||
[ext_resource type="Script" uid="uid://dimvdouy8g0sv" path="res://addons/phantom_camera/scripts/resources/phantom_camera_noise_2d.gd" id="11_d6abr"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_lvmak"]
|
||||
texture = ExtResource("1_2m0x8")
|
||||
0:0/0 = 0
|
||||
1:0/0 = 0
|
||||
2:0/0 = 0
|
||||
3:0/0 = 0
|
||||
4:0/0 = 0
|
||||
5:0/0 = 0
|
||||
6:0/0 = 0
|
||||
7:0/0 = 0
|
||||
7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:1/0 = 0
|
||||
1:1/0 = 0
|
||||
2:1/0 = 0
|
||||
3:1/0 = 0
|
||||
4:1/0 = 0
|
||||
5:1/0 = 0
|
||||
7:1/0 = 0
|
||||
7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
2:2/0 = 0
|
||||
3:2/0 = 0
|
||||
4:2/0 = 0
|
||||
7:2/0 = 0
|
||||
7:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:3/0 = 0
|
||||
4:3/0 = 0
|
||||
5:3/0 = 0
|
||||
7:3/0 = 0
|
||||
7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:4/0 = 0
|
||||
4:4/0 = 0
|
||||
5:4/0 = 0
|
||||
7:4/0 = 0
|
||||
3:5/0 = 0
|
||||
4:5/0 = 0
|
||||
7:5/0 = 0
|
||||
3:6/0 = 0
|
||||
4:6/0 = 0
|
||||
7:6/0 = 0
|
||||
2:7/0 = 0
|
||||
3:7/0 = 0
|
||||
4:7/0 = 0
|
||||
5:7/0 = 0
|
||||
8:0/0 = 0
|
||||
8:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:0/0 = 0
|
||||
9:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:0/0 = 0
|
||||
10:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:0/0 = 0
|
||||
11:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:0/0 = 0
|
||||
12:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:0/0 = 0
|
||||
13:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:0/0 = 0
|
||||
14:0/0/physics_layer_1/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -8, 8)
|
||||
14:0/0/custom_data_0 = &"Sign"
|
||||
15:0/0 = 0
|
||||
16:0/0 = 0
|
||||
8:1/0 = 0
|
||||
8:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:1/0 = 0
|
||||
9:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:1/0 = 0
|
||||
10:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:1/0 = 0
|
||||
11:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:1/0 = 0
|
||||
12:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:1/0 = 0
|
||||
13:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:1/0 = 0
|
||||
15:1/0 = 0
|
||||
16:1/0 = 0
|
||||
8:2/0 = 0
|
||||
8:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:2/0 = 0
|
||||
9:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:2/0 = 0
|
||||
10:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:2/0 = 0
|
||||
11:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:2/0 = 0
|
||||
12:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:2/0 = 0
|
||||
13:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:2/0 = 0
|
||||
15:2/0 = 0
|
||||
16:2/0 = 0
|
||||
8:3/0 = 0
|
||||
8:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:3/0 = 0
|
||||
9:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:3/0 = 0
|
||||
10:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:3/0 = 0
|
||||
12:3/0 = 0
|
||||
12:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:3/0 = 0
|
||||
13:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:3/0 = 0
|
||||
15:3/0 = 0
|
||||
16:3/0 = 0
|
||||
8:4/0 = 0
|
||||
9:4/0 = 0
|
||||
10:4/0 = 0
|
||||
11:4/0 = 0
|
||||
11:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-7, 2.5, -5, -2, -2.5, -5, 2, -7, 8, -8, 8, 8, -8, 8)
|
||||
12:4/0 = 0
|
||||
12:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:4/0 = 0
|
||||
13:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 0, -6, 4, -1.5, 6.5, 1.5, 8, 8, -8, 8)
|
||||
14:4/0 = 0
|
||||
14:4/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8)
|
||||
14:4/0/custom_data_0 = &"Inventory"
|
||||
15:4/0 = 0
|
||||
16:4/0 = 0
|
||||
8:5/0 = 0
|
||||
9:5/0 = 0
|
||||
10:5/0 = 0
|
||||
11:5/0 = 0
|
||||
11:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:5/0 = 0
|
||||
12:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:5/0 = 0
|
||||
13:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:5/0 = 0
|
||||
15:5/0 = 0
|
||||
16:5/0 = 0
|
||||
8:6/0 = 0
|
||||
9:6/0 = 0
|
||||
10:6/0 = 0
|
||||
11:6/0 = 0
|
||||
11:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, 1, 6.5, -3, 3, -6.5, -1.5)
|
||||
12:6/0 = 0
|
||||
12:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:6/0 = 0
|
||||
13:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 6, -0.5, 3, 3.5, -1.5, 6.5, -8, 8)
|
||||
14:6/0 = 0
|
||||
15:6/0 = 0
|
||||
16:6/0 = 0
|
||||
|
||||
[sub_resource type="TileSet" id="TileSet_kf7eg"]
|
||||
physics_layer_0/collision_layer = 1
|
||||
physics_layer_1/collision_layer = 2
|
||||
physics_layer_1/collision_mask = 2
|
||||
custom_data_layer_0/name = "Type"
|
||||
custom_data_layer_0/type = 21
|
||||
sources/0 = SubResource("TileSetAtlasSource_lvmak")
|
||||
|
||||
[sub_resource type="Resource" id="Resource_87ddr"]
|
||||
script = ExtResource("11_d6abr")
|
||||
amplitude = 30.0
|
||||
randomize_noise_seed = 1
|
||||
|
||||
[sub_resource type="Resource" id="Resource_rmnw1"]
|
||||
script = ExtResource("11_d6abr")
|
||||
amplitude = 40.0
|
||||
frequency = 30.0
|
||||
randomize_noise_seed = 1
|
||||
noise_seed = 96
|
||||
rotational_noise = true
|
||||
|
||||
[node name="Root" type="Node2D"]
|
||||
|
||||
[node name="Background" type="CanvasLayer" parent="."]
|
||||
layer = -3
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Background"]
|
||||
auto_translate_mode = 2
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -311.0
|
||||
offset_top = -173.0
|
||||
offset_right = 981.0
|
||||
offset_bottom = 548.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
localize_numeral_system = false
|
||||
color = Color(0.137255, 0.14902, 0.196078, 1)
|
||||
|
||||
[node name="Pillar" type="TileMapLayer" parent="."]
|
||||
use_parent_material = true
|
||||
scale = Vector2(3, 3)
|
||||
tile_map_data = PackedByteArray("AAAAAPr/AAAKAAIAAAAAAPv/AAAKAAMAAAAAAPz/AAAKAAMAAAAAAP3/AAAKAAMAAAAAAP7/AAAKAAMAAAAAAP//AAAKAAMAAAABAPr/AAALAAIAAAABAPv/AAALAAEAAAABAPz/AAALAAEAAAABAP3/AAALAAEAAAABAP7/AAALAAEAAAABAP//AAALAAEAAAACAPr/AAAMAAIAAAACAPv/AAAMAAMAAAACAPz/AAAMAAMAAAACAP3/AAAMAAMAAAACAP7/AAAMAAMAAAACAP//AAAMAAMAAAA=")
|
||||
tile_set = SubResource("TileSet_kf7eg")
|
||||
collision_enabled = false
|
||||
navigation_enabled = false
|
||||
|
||||
[node name="Terrain" type="TileMapLayer" parent="."]
|
||||
z_index = 1
|
||||
use_parent_material = true
|
||||
scale = Vector2(3, 3)
|
||||
tile_map_data = PackedByteArray("AAABAAAAAAALAAAAAAACAAAAAAALAAAAAAADAAAAAAALAAAAAAAEAAAAAAALAAAAAAAFAAAAAAALAAAAAAAGAAAAAAALAAAAAAAHAAAAAAALAAAAAAAIAAAAAAALAAAAAAAJAAAAAAAMAAAAAAAJAAEAAAAMAAEAAAAJAAIAAAAMAAEAAAAJAAMAAAAMAAEAAAAJAAQAAAAMAAEAAAAJAAUAAAAMAAEAAAAJAAYAAAAMAAEAAAABAAEAAAALAAEAAAABAAIAAAALAAEAAAABAAMAAAALAAEAAAABAAQAAAAHAAEAAAABAAUAAAALAAEAAAABAAYAAAALAAEAAAACAAEAAAALAAEAAAACAAIAAAALAAEAAAACAAMAAAALAAEAAAACAAQAAAALAAEAAAACAAUAAAALAAEAAAACAAYAAAALAAEAAAADAAEAAAALAAEAAAADAAIAAAALAAEAAAADAAMAAAALAAEAAAADAAQAAAALAAEAAAADAAUAAAALAAEAAAADAAYAAAALAAEAAAAEAAEAAAAHAAEAAAAEAAIAAAALAAEAAAAEAAMAAAALAAEAAAAEAAQAAAALAAEAAAAEAAUAAAALAAEAAAAEAAYAAAALAAEAAAAFAAEAAAALAAEAAAAFAAIAAAALAAEAAAAFAAMAAAALAAEAAAAFAAQAAAAHAAEAAAAFAAUAAAALAAEAAAAFAAYAAA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AAMAAUAAAD6/wYAAAAMAAUAAAD6/wUAAAAMAAUAAAD6/wQAAAAMAAUAAAD5////AAALAAUAAAD5/wEAAAALAAUAAAD5/wIAAAALAAUAAAD5/wMAAAALAAUAAAD5/wQAAAALAAUAAAD5/wUAAAALAAUAAAD5/wYAAAALAAUAAAD8//r/AAALAAMAAAAOAP3/AAALAAMAAAALAP3/AAALAAMAAAASAP//AAALAAMAAAAUAP//AAALAAMAAAD6//r/AAAQAAUAAAD7//r/AAALAAMAAAANAP3/AAAOAAYAAAAWAP//AAAPAAYAAAD9//r/AAAPAAUAAAAXAP//AAAQAAUAAAD5//v/AAALAAQAAAD5//z/AAALAAUAAAD5//3/AAALAAUAAAD5//7/AAALAAUAAAD6//v/AAAMAAQAAAD6//z/AAAKAAYAAAD6//3/AAAMAAUAAAD6//7/AAAMAAUAAAD7//v/AAAMAAQAAAD7//z/AAAMAAUAAAD7//3/AAAMAAUAAAD7//7/AAAMAAUAAAD8//v/AAAMAAQAAAD8//z/AAAMAAUAAAD8//3/AAAMAAUAAAD8//7/AAAMAAUAAAARAAcAAAALAAUAAAARAAgAAAALAAYAAAAXAAcAAAAMAAUAAAAWAAcAAAAMAAUAAAAVAAcAAAAMAAUAAAAUAAcAAAAMAAUAAAATAAcAAAAMAAUAAAASAAcAAAAMAAUAAAASAAgAAAAMAAYAAAATAAgAAAAMAAYAAAAUAAgAAAAMAAYAAAAVAAgAAAAMAAYAAAAWAAgAAAAMAAYAAAAXAAgAAAAMAAYAAAAKAAUAAAALAAEAAAAKAAYAAAALAAEAAAAKAAcAAAALAAEAAAAKAAgAAAALAAEAAAALAAUAAAALAAEAAAALAAYAAAALAAEAAAALAAcAAAALAAEAAAALAAgAAAALAAEAAAAMAAUAAAALAAEAAAAMAAYAAAALAAEAAAAMAAcAAAALAAEAAAAMAALine truncated
|
||||
tile_set = SubResource("TileSet_kf7eg")
|
||||
|
||||
[node name="UI" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="UIInventory" parent="UI" instance=ExtResource("2_4bfy0")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="UISign" parent="UI" instance=ExtResource("3_vdqsb")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="Controls" type="Label" parent="."]
|
||||
offset_left = 167.0
|
||||
offset_top = -145.0
|
||||
offset_right = 332.0
|
||||
offset_bottom = -81.0
|
||||
theme_override_colors/font_color = Color(0.294118, 1, 0.631373, 1)
|
||||
theme_override_fonts/font = ExtResource("4_w2gh7")
|
||||
text = "[WASD] to move
|
||||
[Space] to jump
|
||||
[Q] to trigger Noise Emitter"
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
physics_interpolation_mode = 1
|
||||
position = Vector2(227, -28)
|
||||
offset = Vector2(0.9638121, 13.818371)
|
||||
ignore_rotation = false
|
||||
zoom = Vector2(1.5, 1.5)
|
||||
process_callback = 0
|
||||
editor_draw_limits = true
|
||||
|
||||
[node name="PhantomCameraHost" type="Node" parent="Camera2D"]
|
||||
process_priority = 300
|
||||
process_physics_priority = 300
|
||||
script = ExtResource("5_d6fcf")
|
||||
|
||||
[node name="Player" type="Node" parent="."]
|
||||
|
||||
[node name="PlayerPhantomCamera2D" type="Node2D" parent="Player" node_paths=PackedStringArray("follow_target")]
|
||||
unique_name_in_owner = true
|
||||
process_priority = -1
|
||||
top_level = true
|
||||
position = Vector2(227, -28)
|
||||
script = ExtResource("6_bdmii")
|
||||
priority = 10
|
||||
follow_mode = 2
|
||||
follow_target = NodePath("../CharacterBody2D")
|
||||
zoom = Vector2(1.5, 1.5)
|
||||
frame_preview = false
|
||||
tween_resource = ExtResource("7_dpnkg")
|
||||
tween_on_load = false
|
||||
follow_damping = true
|
||||
draw_limits = true
|
||||
noise = SubResource("Resource_87ddr")
|
||||
noise_emitter_layer = 1
|
||||
|
||||
[node name="PlayerPhantomCameraNoiseEmitter2D" type="Node2D" parent="Player"]
|
||||
unique_name_in_owner = true
|
||||
script = ExtResource("10_p43w0")
|
||||
noise = SubResource("Resource_rmnw1")
|
||||
duration = 0.1
|
||||
decay_time = 0.1
|
||||
|
||||
[node name="CharacterBody2D" parent="Player" instance=ExtResource("8_u5o87")]
|
||||
z_index = 2
|
||||
position = Vector2(227, -28)
|
||||
@@ -0,0 +1,399 @@
|
||||
[gd_scene load_steps=20 format=4 uid="uid://cpyb3ucwcqj8l"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c77npili4pel4" path="res://addons/phantom_camera/examples/textures/2D/level_spritesheet.png" id="1_h1rbo"]
|
||||
[ext_resource type="PackedScene" uid="uid://dg7rhrymsrrrm" path="res://addons/phantom_camera/examples/ui/ui_inventory.tscn" id="2_1f2t2"]
|
||||
[ext_resource type="PackedScene" uid="uid://iq5xd1ob1res" path="res://addons/phantom_camera/examples/ui/ui_sign.tscn" id="3_o6nri"]
|
||||
[ext_resource type="Script" uid="uid://bd046eokvcnu2" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="4_j7670"]
|
||||
[ext_resource type="Script" uid="uid://bhexx6mj1xv3q" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd" id="5_gvv7r"]
|
||||
[ext_resource type="Resource" uid="uid://euybd2w0bax" path="res://addons/phantom_camera/examples/resources/tween/player_phantom_camera_2d_tween.tres" id="6_rwobr"]
|
||||
[ext_resource type="FontFile" uid="uid://c4mm3of2mc8o5" path="res://addons/phantom_camera/fonts/Nunito-Black.ttf" id="7_ylx0h"]
|
||||
[ext_resource type="PackedScene" uid="uid://7kh0xydx0b1o" path="res://addons/phantom_camera/examples/example_scenes/2D/sub_scenes/playable_character_2d.tscn" id="8_ytsgf"]
|
||||
[ext_resource type="Script" uid="uid://t8wa4e5y5hcf" path="res://addons/phantom_camera/examples/scripts/2D/2d_trigger_area.gd" id="9_3r1pw"]
|
||||
[ext_resource type="Script" uid="uid://cnnaky2ns2pn4" path="res://addons/phantom_camera/examples/scripts/2D/player_character_body_2d_4.3.gd" id="9_5jy5e"]
|
||||
[ext_resource type="Script" uid="uid://8umksf8e80fw" path="res://addons/phantom_camera/scripts/resources/tween_resource.gd" id="10_guf2v"]
|
||||
|
||||
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_cvmao"]
|
||||
texture = ExtResource("1_h1rbo")
|
||||
0:0/0 = 0
|
||||
1:0/0 = 0
|
||||
2:0/0 = 0
|
||||
3:0/0 = 0
|
||||
4:0/0 = 0
|
||||
5:0/0 = 0
|
||||
6:0/0 = 0
|
||||
7:0/0 = 0
|
||||
7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
0:1/0 = 0
|
||||
1:1/0 = 0
|
||||
2:1/0 = 0
|
||||
3:1/0 = 0
|
||||
4:1/0 = 0
|
||||
5:1/0 = 0
|
||||
7:1/0 = 0
|
||||
7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
2:2/0 = 0
|
||||
3:2/0 = 0
|
||||
4:2/0 = 0
|
||||
7:2/0 = 0
|
||||
7:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:3/0 = 0
|
||||
4:3/0 = 0
|
||||
5:3/0 = 0
|
||||
7:3/0 = 0
|
||||
7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
3:4/0 = 0
|
||||
4:4/0 = 0
|
||||
5:4/0 = 0
|
||||
7:4/0 = 0
|
||||
3:5/0 = 0
|
||||
4:5/0 = 0
|
||||
7:5/0 = 0
|
||||
3:6/0 = 0
|
||||
4:6/0 = 0
|
||||
7:6/0 = 0
|
||||
2:7/0 = 0
|
||||
3:7/0 = 0
|
||||
4:7/0 = 0
|
||||
5:7/0 = 0
|
||||
8:0/0 = 0
|
||||
8:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:0/0 = 0
|
||||
9:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:0/0 = 0
|
||||
10:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:0/0 = 0
|
||||
11:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:0/0 = 0
|
||||
12:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:0/0 = 0
|
||||
13:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:0/0 = 0
|
||||
14:0/0/physics_layer_1/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -8, 8)
|
||||
14:0/0/custom_data_0 = &"Sign"
|
||||
15:0/0 = 0
|
||||
16:0/0 = 0
|
||||
8:1/0 = 0
|
||||
8:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:1/0 = 0
|
||||
9:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:1/0 = 0
|
||||
10:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:1/0 = 0
|
||||
11:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:1/0 = 0
|
||||
12:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:1/0 = 0
|
||||
13:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:1/0 = 0
|
||||
15:1/0 = 0
|
||||
16:1/0 = 0
|
||||
8:2/0 = 0
|
||||
8:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:2/0 = 0
|
||||
9:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:2/0 = 0
|
||||
10:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:2/0 = 0
|
||||
11:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:2/0 = 0
|
||||
12:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:2/0 = 0
|
||||
13:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:2/0 = 0
|
||||
15:2/0 = 0
|
||||
16:2/0 = 0
|
||||
8:3/0 = 0
|
||||
8:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
9:3/0 = 0
|
||||
9:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
10:3/0 = 0
|
||||
10:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
11:3/0 = 0
|
||||
12:3/0 = 0
|
||||
12:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:3/0 = 0
|
||||
13:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:3/0 = 0
|
||||
15:3/0 = 0
|
||||
16:3/0 = 0
|
||||
8:4/0 = 0
|
||||
9:4/0 = 0
|
||||
10:4/0 = 0
|
||||
11:4/0 = 0
|
||||
11:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-7, 2.5, -5, -2, -2.5, -5, 2, -7, 8, -8, 8, 8, -8, 8)
|
||||
12:4/0 = 0
|
||||
12:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:4/0 = 0
|
||||
13:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 0, -6, 4, -1.5, 6.5, 1.5, 8, 8, -8, 8)
|
||||
14:4/0 = 0
|
||||
14:4/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8)
|
||||
14:4/0/custom_data_0 = &"Inventory"
|
||||
15:4/0 = 0
|
||||
16:4/0 = 0
|
||||
8:5/0 = 0
|
||||
9:5/0 = 0
|
||||
10:5/0 = 0
|
||||
11:5/0 = 0
|
||||
11:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
12:5/0 = 0
|
||||
12:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:5/0 = 0
|
||||
13:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
14:5/0 = 0
|
||||
15:5/0 = 0
|
||||
16:5/0 = 0
|
||||
8:6/0 = 0
|
||||
9:6/0 = 0
|
||||
10:6/0 = 0
|
||||
11:6/0 = 0
|
||||
11:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, 1, 6.5, -3, 3, -6.5, -1.5)
|
||||
12:6/0 = 0
|
||||
12:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||
13:6/0 = 0
|
||||
13:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 6, -0.5, 3, 3.5, -1.5, 6.5, -8, 8)
|
||||
14:6/0 = 0
|
||||
15:6/0 = 0
|
||||
16:6/0 = 0
|
||||
|
||||
[sub_resource type="TileSet" id="TileSet_na7gm"]
|
||||
physics_layer_0/collision_layer = 1
|
||||
physics_layer_1/collision_layer = 2
|
||||
physics_layer_1/collision_mask = 2
|
||||
custom_data_layer_0/name = "Type"
|
||||
custom_data_layer_0/type = 21
|
||||
sources/0 = SubResource("TileSetAtlasSource_cvmao")
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_tgk1y"]
|
||||
size = Vector2(140, 160)
|
||||
|
||||
[sub_resource type="Resource" id="Resource_mtp70"]
|
||||
script = ExtResource("10_guf2v")
|
||||
duration = 0.6
|
||||
transition = 1
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_clm0y"]
|
||||
size = Vector2(104, 160)
|
||||
|
||||
[sub_resource type="Resource" id="Resource_8jg5c"]
|
||||
script = ExtResource("10_guf2v")
|
||||
duration = 0.3
|
||||
transition = 8
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uka0w"]
|
||||
size = Vector2(560, 160)
|
||||
|
||||
[sub_resource type="Resource" id="Resource_e4e41"]
|
||||
script = ExtResource("10_guf2v")
|
||||
duration = 1.2
|
||||
transition = 10
|
||||
|
||||
[node name="Root" type="Node2D"]
|
||||
|
||||
[node name="Background" type="CanvasLayer" parent="."]
|
||||
layer = -3
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Background"]
|
||||
auto_translate_mode = 2
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -311.0
|
||||
offset_top = -173.0
|
||||
offset_right = 981.0
|
||||
offset_bottom = 548.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
localize_numeral_system = false
|
||||
color = Color(0.137255, 0.14902, 0.196078, 1)
|
||||
|
||||
[node name="Pillar" type="TileMapLayer" parent="."]
|
||||
use_parent_material = true
|
||||
scale = Vector2(3, 3)
|
||||
tile_map_data = PackedByteArray("AAAAAPr/AAAKAAIAAAAAAPv/AAAKAAMAAAAAAPz/AAAKAAMAAAAAAP3/AAAKAAMAAAAAAP7/AAAKAAMAAAAAAP//AAAKAAMAAAABAPr/AAALAAIAAAABAPv/AAALAAEAAAABAPz/AAALAAEAAAABAP3/AAALAAEAAAABAP7/AAALAAEAAAABAP//AAALAAEAAAACAPr/AAAMAAIAAAACAPv/AAAMAAMAAAACAPz/AAAMAAMAAAACAP3/AAAMAAMAAAACAP7/AAAMAAMAAAACAP//AAAMAAMAAAA=")
|
||||
tile_set = SubResource("TileSet_na7gm")
|
||||
collision_enabled = false
|
||||
navigation_enabled = false
|
||||
|
||||
[node name="Terrain" type="TileMapLayer" parent="."]
|
||||
use_parent_material = true
|
||||
scale = Vector2(3, 3)
|
||||
tile_map_data = PackedByteArray("AAABAAAAAAALAAAAAAACAAAAAAALAAAAAAADAAAAAAALAAAAAAAEAAAAAAALAAAAAAAFAAAAAAALAAAAAAAGAAAAAAALAAAAAAAHAAAAAAALAAAAAAAIAAAAAAALAAAAAAAJAAAAAAAMAAAAAAAJAAEAAAAMAAEAAAAJAAIAAAAMAAEAAAAJAAMAAAAMAAEAAAAJAAQAAAAMAAEAAAAJAAUAAAAMAAEAAAAJAAYAAAAMAAEAAAABAAEAAAALAAEAAAABAAIAAAALAAEAAAABAAMAAAALAAEAAAABAAQAAAAHAAEAAAABAAUAAAALAAEAAAABAAYAAAALAAEAAAACAAEAAAALAAEAAAACAAIAAAALAAEAAAACAAMAAAALAAEAAAACAAQAAAALAAEAAAACAAUAAAALAAEAAAACAAYAAAALAAEAAAADAAEAAAALAAEAAAADAAIAAAALAAEAAAADAAMAAAALAAEAAAADAAQAAAALAAEAAAADAAUAAAALAAEAAAADAAYAAAALAAEAAAAEAAEAAAAHAAEAAAAEAAIAAAALAAEAAAAEAAMAAAALAAEAAAAEAAQAAAALAAEAAAAEAAUAAAALAAEAAAAEAAYAAAALAAEAAAAFAAEAAAALAAEAAAAFAAIAAAALAAEAAAAFAAMAA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AMAAUAAAD7/wIAAAAJAAYAAAD7/wYAAAAMAAUAAAD6/wYAAAAMAAUAAAD6/wUAAAAMAAUAAAD6/wQAAAAMAAUAAAD5////AAALAAUAAAD5/wEAAAALAAUAAAD5/wIAAAALAAUAAAD5/wMAAAALAAUAAAD5/wQAAAALAAUAAAD5/wUAAAALAAUAAAD5/wYAAAALAAUAAAD8//r/AAALAAMAAAAOAP3/AAALAAMAAAALAP3/AAALAAMAAAASAP//AAALAAMAAAAUAP//AAALAAMAAAD6//r/AAAQAAUAAAD7//r/AAALAAMAAAANAP3/AAAOAAYAAAAWAP//AAAPAAYAAAD9//r/AAAPAAUAAAAXAP//AAAQAAUAAAD5//v/AAALAAQAAAD5//z/AAALAAUAAAD5//3/AAALAAUAAAD5//7/AAALAAUAAAD6//v/AAAMAAQAAAD6//z/AAAKAAYAAAD6//3/AAAMAAUAAAD6//7/AAAMAAUAAAD7//v/AAAMAAQAAAD7//z/AAAMAAUAAAD7//3/AAAMAAUAAAD7//7/AAAMAAUAAAD8//v/AAAMAAQAAAD8//z/AAAMAAUAAAD8//3/AAAMAAUAAAD8//7/AAAMAAUAAAARAAcAAAALAAUAAAARAAgAAAALAAYAAAAXAAcAAAAMAAUAAAAWAAcAAAAMAAUAAAAVAAcAAAAMAAUAAAAUAAcAAAAMAAUAAAATAAcAAAAMAAUAAAASAAcAAAAMAAUAAAASAAgAAAAMAAYAAAATAAgAAAAMAAYAAAAUAAgAAAAMAAYAAAAVAAgAAAAMAAYAAAAWAAgAAAAMAAYAAAAXAAgAAAAMAAYAAAAKAAUAAAALAAEAAAAKAAYAAAALAAEAAAAKAAcAAAALAAEAAAAKAAgAAAALAAEAAAALAAUAAAALAAEAAAALAAYAAAALAAEAAAALAAcAAAALAAEAAAALAAgAAAALAAEAAAAMAAUAAAALAAEAAAAMAAYAAAALAAEAAAAMAAcAAAALAAEAAAAMAAgAAAALAAEAAAANAALine truncated
|
||||
tile_set = SubResource("TileSet_na7gm")
|
||||
|
||||
[node name="UI" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="UIInventory" parent="UI" instance=ExtResource("2_1f2t2")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="UISign" parent="UI" instance=ExtResource("3_o6nri")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
physics_interpolation_mode = 1
|
||||
position = Vector2(227, -28)
|
||||
process_callback = 0
|
||||
position_smoothing_speed = 10.0
|
||||
editor_draw_limits = true
|
||||
|
||||
[node name="PhantomCameraHost" type="Node" parent="Camera2D"]
|
||||
process_priority = 300
|
||||
process_physics_priority = 300
|
||||
script = ExtResource("4_j7670")
|
||||
|
||||
[node name="Player" type="Node" parent="."]
|
||||
|
||||
[node name="PlayerPhantomCamera2D" type="Node2D" parent="Player" node_paths=PackedStringArray("follow_target")]
|
||||
unique_name_in_owner = true
|
||||
top_level = true
|
||||
position = Vector2(227, -28)
|
||||
script = ExtResource("5_gvv7r")
|
||||
priority = 5
|
||||
follow_mode = 2
|
||||
follow_target = NodePath("../CharacterBody2D")
|
||||
tween_resource = ExtResource("6_rwobr")
|
||||
tween_on_load = false
|
||||
follow_damping = true
|
||||
draw_limits = true
|
||||
|
||||
[node name="Label" type="Label" parent="Player"]
|
||||
offset_left = 167.0
|
||||
offset_top = -132.0
|
||||
offset_right = 332.0
|
||||
offset_bottom = -68.0
|
||||
theme_override_colors/font_color = Color(0.294118, 1, 0.631373, 1)
|
||||
theme_override_fonts/font = ExtResource("7_ylx0h")
|
||||
text = "[WASD] to move
|
||||
[Space] to jump"
|
||||
|
||||
[node name="CharacterBody2D" parent="Player" instance=ExtResource("8_ytsgf")]
|
||||
position = Vector2(227, -28)
|
||||
script = ExtResource("9_5jy5e")
|
||||
|
||||
[node name="WideArea" type="Area2D" parent="." node_paths=PackedStringArray("area_pcam")]
|
||||
position = Vector2(393, -40)
|
||||
collision_layer = 2
|
||||
collision_mask = 2
|
||||
script = ExtResource("9_3r1pw")
|
||||
area_pcam = NodePath("PhantomCamera2D")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="WideArea"]
|
||||
position = Vector2(0, -40)
|
||||
shape = SubResource("RectangleShape2D_tgk1y")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="WideArea"]
|
||||
offset_left = -70.0
|
||||
offset_top = -120.0
|
||||
offset_right = 70.0
|
||||
offset_bottom = 40.0
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
color = Color(0.556863, 0.447059, 0.545098, 0.698039)
|
||||
|
||||
[node name="Label" type="Label" parent="WideArea"]
|
||||
offset_left = -77.0
|
||||
offset_top = -250.0
|
||||
offset_right = 76.0
|
||||
offset_bottom = -120.0
|
||||
theme_override_colors/font_color = Color(0.294118, 1, 0.631373, 1)
|
||||
theme_override_fonts/font = ExtResource("7_ylx0h")
|
||||
text = "Transition Type:
|
||||
Sine
|
||||
|
||||
Duration:
|
||||
0.6s"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="PhantomCamera2D" type="Node2D" parent="WideArea"]
|
||||
position = Vector2(4, -100)
|
||||
script = ExtResource("5_gvv7r")
|
||||
zoom = Vector2(0.8, 0.8)
|
||||
tween_resource = SubResource("Resource_mtp70")
|
||||
draw_limits = true
|
||||
|
||||
[node name="UpperZoomArea" type="Area2D" parent="." node_paths=PackedStringArray("area_pcam")]
|
||||
position = Vector2(649, -135)
|
||||
collision_layer = 2
|
||||
collision_mask = 2
|
||||
script = ExtResource("9_3r1pw")
|
||||
area_pcam = NodePath("PhantomCamera2D")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="UpperZoomArea"]
|
||||
position = Vector2(0, -40)
|
||||
shape = SubResource("RectangleShape2D_clm0y")
|
||||
|
||||
[node name="CollisionShape2D2" type="CollisionShape2D" parent="UpperZoomArea"]
|
||||
position = Vector2(0, -40)
|
||||
shape = SubResource("RectangleShape2D_clm0y")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="UpperZoomArea"]
|
||||
offset_left = -52.0
|
||||
offset_top = -120.0
|
||||
offset_right = 52.0
|
||||
offset_bottom = 40.0
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
color = Color(0.556863, 0.447059, 0.545098, 0.698039)
|
||||
|
||||
[node name="Label" type="Label" parent="UpperZoomArea"]
|
||||
offset_left = -74.0
|
||||
offset_top = -251.0
|
||||
offset_right = 79.0
|
||||
offset_bottom = -121.0
|
||||
theme_override_colors/font_color = Color(0.294118, 1, 0.631373, 1)
|
||||
theme_override_fonts/font = ExtResource("7_ylx0h")
|
||||
text = "Transition Type:
|
||||
Circ
|
||||
|
||||
Duration:
|
||||
0.3s"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="PhantomCamera2D" type="Node2D" parent="UpperZoomArea"]
|
||||
position = Vector2(2, -83)
|
||||
script = ExtResource("5_gvv7r")
|
||||
zoom = Vector2(2, 2)
|
||||
tween_resource = SubResource("Resource_8jg5c")
|
||||
draw_limits = true
|
||||
|
||||
[node name="ForwardArea" type="Area2D" parent="." node_paths=PackedStringArray("area_pcam")]
|
||||
position = Vector2(1136, -38)
|
||||
collision_layer = 2
|
||||
collision_mask = 2
|
||||
script = ExtResource("9_3r1pw")
|
||||
area_pcam = NodePath("PhantomCamera2D")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="ForwardArea"]
|
||||
position = Vector2(0, -42)
|
||||
shape = SubResource("RectangleShape2D_uka0w")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="ForwardArea"]
|
||||
offset_left = -280.0
|
||||
offset_top = -122.0
|
||||
offset_right = 280.0
|
||||
offset_bottom = 38.0
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
color = Color(0.556863, 0.447059, 0.545098, 0.698039)
|
||||
|
||||
[node name="Label" type="Label" parent="ForwardArea"]
|
||||
offset_left = -76.0
|
||||
offset_top = -252.0
|
||||
offset_right = 77.0
|
||||
offset_bottom = -122.0
|
||||
theme_override_colors/font_color = Color(0.294118, 1, 0.631373, 1)
|
||||
theme_override_fonts/font = ExtResource("7_ylx0h")
|
||||
text = "Transition Type:
|
||||
Back
|
||||
|
||||
Duration:
|
||||
1.2s"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="PhantomCamera2D" type="Node2D" parent="ForwardArea"]
|
||||
position = Vector2(344, -46)
|
||||
script = ExtResource("5_gvv7r")
|
||||
zoom = Vector2(0.9, 0.9)
|
||||
tween_resource = SubResource("Resource_e4e41")
|
||||
draw_limits = true
|
||||
+120
@@ -0,0 +1,120 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://7kh0xydx0b1o"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cnnaky2ns2pn4" path="res://addons/phantom_camera/examples/scripts/2D/player_character_body_2d.gd" id="1_jnc14"]
|
||||
[ext_resource type="FontFile" uid="uid://c4mm3of2mc8o5" path="res://addons/phantom_camera/fonts/Nunito-Black.ttf" id="2_62b2n"]
|
||||
[ext_resource type="Texture2D" uid="uid://cscjjt55iw2cu" path="res://addons/phantom_camera/examples/textures/2D/player_sprite.svg" id="2_yr8cm"]
|
||||
[ext_resource type="Script" uid="uid://bhexx6mj1xv3q" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd" id="4_rloon"]
|
||||
[ext_resource type="Resource" uid="uid://cecrnq0wnkexh" path="res://addons/phantom_camera/examples/resources/tween/item_focus_phantom_camera_2d_tween.tres" id="5_4iyk1"]
|
||||
[ext_resource type="Resource" uid="uid://cllveybboaqk5" path="res://addons/phantom_camera/examples/resources/tween/inventory_phantom_camera_2d_tween.tres" id="6_2h6fv"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5hryl"]
|
||||
bg_color = Color(0.85098, 0.894118, 0.937255, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.113725, 0.113725, 0.113725, 1)
|
||||
corner_radius_top_left = 7
|
||||
corner_radius_top_right = 7
|
||||
corner_radius_bottom_right = 7
|
||||
corner_radius_bottom_left = 7
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xj4ar"]
|
||||
size = Vector2(64, 57)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_18i13"]
|
||||
size = Vector2(64, 57)
|
||||
|
||||
[node name="CharacterBody2D" type="CharacterBody2D"]
|
||||
script = ExtResource("1_jnc14")
|
||||
|
||||
[node name="DarkOverlay" type="ColorRect" parent="."]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -1000.0
|
||||
offset_top = -1000.0
|
||||
offset_right = 1000.0
|
||||
offset_bottom = 1000.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0, 0, 0, 0.615686)
|
||||
|
||||
[node name="PlayerVisuals" type="Node2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="PlayerSprite" type="Sprite2D" parent="PlayerVisuals"]
|
||||
unique_name_in_owner = true
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("2_yr8cm")
|
||||
|
||||
[node name="InteractionPrompt" type="Panel" parent="PlayerVisuals"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -16.0
|
||||
offset_top = -66.0
|
||||
offset_right = 16.0
|
||||
offset_bottom = -34.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
size_flags_vertical = 0
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_5hryl")
|
||||
|
||||
[node name="Label" type="Label" parent="PlayerVisuals/InteractionPrompt"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -3.0
|
||||
offset_bottom = 5.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_fonts/font = ExtResource("2_62b2n")
|
||||
theme_override_font_sizes/font_size = 26
|
||||
text = "F"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, -0.5)
|
||||
shape = SubResource("RectangleShape2D_xj4ar")
|
||||
|
||||
[node name="PlayerArea2D" type="Area2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
collision_layer = 2
|
||||
collision_mask = 2
|
||||
priority = 20
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerArea2D"]
|
||||
position = Vector2(0, -0.5)
|
||||
shape = SubResource("RectangleShape2D_18i13")
|
||||
|
||||
[node name="ItemFocusPhantomCamera2D" type="Node2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(0, -122)
|
||||
script = ExtResource("4_rloon")
|
||||
zoom = Vector2(2, 2)
|
||||
frame_preview = false
|
||||
tween_resource = ExtResource("5_4iyk1")
|
||||
follow_damping_value = Vector2(0, 0)
|
||||
draw_limits = true
|
||||
|
||||
[node name="InventoryPhantomCamera2D" type="Node2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(-183, -5)
|
||||
script = ExtResource("4_rloon")
|
||||
zoom = Vector2(2.5, 2.5)
|
||||
frame_preview = false
|
||||
tween_resource = ExtResource("6_2h6fv")
|
||||
follow_damping_value = Vector2(0, 0)
|
||||
draw_limits = true
|
||||
Reference in new issue
Block a user