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
+41
-3
@@ -3,6 +3,10 @@
|
||||
[ext_resource type="Script" uid="uid://2ig5okof0vaa" path="res://scripts/UltimatePlatformerController.gd" id="1_3vyb7"]
|
||||
[ext_resource type="FontFile" uid="uid://ddm6ojsaiq20b" path="res://assets/fonts/PixelOperator8-Bold.ttf" id="2_g2els"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://cownh0u8kqwb7" path="res://assets/sprites/character.tres" id="3_qhqgy"]
|
||||
[ext_resource type="Script" uid="uid://bhexx6mj1xv3q" path="res://addons/phantom_camera/scripts/phantom_camera/phantom_camera_2d.gd" id="3_qlg0r"]
|
||||
[ext_resource type="Script" uid="uid://bd046eokvcnu2" path="res://addons/phantom_camera/scripts/phantom_camera_host/phantom_camera_host.gd" id="4_fjrip"]
|
||||
[ext_resource type="Script" uid="uid://8umksf8e80fw" path="res://addons/phantom_camera/scripts/resources/tween_resource.gd" id="4_tuyoq"]
|
||||
[ext_resource type="Script" uid="uid://dimvdouy8g0sv" path="res://addons/phantom_camera/scripts/resources/phantom_camera_noise_2d.gd" id="7_fjrip"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_d2by0"]
|
||||
size = Vector2(77, 141.5)
|
||||
@@ -10,6 +14,13 @@ size = Vector2(77, 141.5)
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aqe1g"]
|
||||
size = Vector2(11.886017, 125.91957)
|
||||
|
||||
[sub_resource type="Resource" id="Resource_smehm"]
|
||||
script = ExtResource("4_tuyoq")
|
||||
|
||||
[sub_resource type="Resource" id="Resource_tuyoq"]
|
||||
script = ExtResource("7_fjrip")
|
||||
metadata/_custom_type_script = "uid://dimvdouy8g0sv"
|
||||
|
||||
[node name="player" type="CharacterBody2D" unique_id=1596338883]
|
||||
position = Vector2(510, 410)
|
||||
collision_mask = 22
|
||||
@@ -30,6 +41,7 @@ offset_top = -73.0
|
||||
offset_right = 28.0
|
||||
offset_bottom = -48.0
|
||||
color = Color(1, 0, 0, 1)
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="ColorRect3" type="ColorRect" parent="." unique_id=261143567]
|
||||
offset_left = 82.0
|
||||
@@ -37,6 +49,7 @@ offset_top = -73.0
|
||||
offset_right = 108.0
|
||||
offset_bottom = -48.0
|
||||
color = Color(1, 0, 0, 1)
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="ColorRect4" type="ColorRect" parent="." unique_id=1858187239]
|
||||
offset_left = 42.0
|
||||
@@ -44,13 +57,11 @@ offset_top = -73.0
|
||||
offset_right = 68.0
|
||||
offset_bottom = -48.0
|
||||
color = Color(1, 0, 0, 1)
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Marker2D" type="Marker2D" parent="." unique_id=1559032825]
|
||||
position = Vector2(112, 38)
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="." unique_id=2084265989]
|
||||
position = Vector2(57, 54)
|
||||
|
||||
[node name="Label" type="Label" parent="." unique_id=519077191]
|
||||
offset_left = -722.0
|
||||
offset_top = -416.0
|
||||
@@ -75,6 +86,7 @@ offset_top = 47.0
|
||||
offset_right = 119.0
|
||||
offset_bottom = 177.0
|
||||
rotation = -2.268928
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="ColorRect5" unique_id=1787254827]
|
||||
|
||||
@@ -91,4 +103,30 @@ position = Vector2(11, 54)
|
||||
[node name="Marker2D3" type="Marker2D" parent="." unique_id=2052549441]
|
||||
position = Vector2(107, 48)
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="." unique_id=1193414966]
|
||||
physics_interpolation_mode = 1
|
||||
top_level = true
|
||||
position = Vector2(515, 415)
|
||||
offset = Vector2(1.6264217, 0.12951264)
|
||||
|
||||
[node name="PhantomCameraHost" type="Node" parent="Camera2D" unique_id=134961787]
|
||||
process_priority = 300
|
||||
process_physics_priority = 300
|
||||
script = ExtResource("4_fjrip")
|
||||
metadata/_custom_type_script = "uid://bd046eokvcnu2"
|
||||
|
||||
[node name="PhantomCamera2D" type="Node2D" parent="Camera2D/PhantomCameraHost" unique_id=408724666 node_paths=PackedStringArray("follow_target")]
|
||||
top_level = true
|
||||
position = Vector2(515, 415)
|
||||
script = ExtResource("3_qlg0r")
|
||||
follow_mode = 5
|
||||
follow_target = NodePath("../../..")
|
||||
tween_resource = SubResource("Resource_smehm")
|
||||
follow_offset = Vector2(5, 5)
|
||||
follow_damping = true
|
||||
rotate_with_target = true
|
||||
lookahead = true
|
||||
noise = SubResource("Resource_tuyoq")
|
||||
metadata/_custom_type_script = "uid://bhexx6mj1xv3q"
|
||||
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
||||
Reference in new issue
Block a user