Files
wgj26/scenes/player.tscn
T
bigmstone 2c6a395938 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
2026-10-04 02:21:46 -06:00

133 lines
4.8 KiB
Plaintext

[gd_scene format=3 uid="uid://cmtdq6tedv1mm"]
[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)
[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
script = ExtResource("1_3vyb7")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1624841443]
position = Vector2(53, 36.00006)
sprite_frames = ExtResource("3_qhqgy")
animation = &"jump"
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1496788104]
position = Vector2(57.5, 33.75)
shape = SubResource("RectangleShape2D_d2by0")
[node name="ColorRect2" type="ColorRect" parent="." unique_id=1595777933]
offset_left = 2.0
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
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
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="Label" type="Label" parent="." unique_id=519077191]
offset_left = -722.0
offset_top = -416.0
offset_right = -689.0
offset_bottom = -382.0
theme_override_fonts/font = ExtResource("2_g2els")
theme_override_font_sizes/font_size = 25
text = "0"
[node name="Label2" type="Label" parent="." unique_id=1907510281]
offset_left = -924.0
offset_top = -417.0
offset_right = -672.0
offset_bottom = -383.0
theme_override_fonts/font = ExtResource("2_g2els")
theme_override_font_sizes/font_size = 25
text = "cassets:"
[node name="ColorRect5" type="ColorRect" parent="." unique_id=823301403]
offset_left = 107.0
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]
[node name="CollisionShape2D" type="CollisionShape2D" parent="ColorRect5/Area2D" unique_id=1167506979]
position = Vector2(5.6205444, 65.769745)
shape = SubResource("RectangleShape2D_aqe1g")
[node name="Timer" type="Timer" parent="." unique_id=331042830]
wait_time = 0.1
[node name="Marker2D2" type="Marker2D" parent="." unique_id=354625466]
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"]