2024-02-26 08:28:11 -06:00
|
|
|
[gd_scene load_steps=11 format=3 uid="uid://cqcjan67wgkc1"]
|
2024-02-22 00:10:13 -06:00
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dvx8lliqdi3dv" path="res://Player/Skins/Square/Square.png" id="1_3vfyw"]
|
|
|
|
[ext_resource type="Script" path="res://Player/BasicCharacter/CharacterController.gd" id="1_c5ycp"]
|
2024-02-26 08:28:11 -06:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cjjrxtvufk35a" path="res://Player/Camera/camera.tscn" id="2_oahgu"]
|
2024-02-22 00:10:13 -06:00
|
|
|
[ext_resource type="Script" path="res://Player/BasicCharacter/AnimationController.gd" id="3_6plye"]
|
2024-02-26 08:28:11 -06:00
|
|
|
[ext_resource type="Script" path="res://Player/GrappleHook/GrappleHook.gd" id="5_sv1u0"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bi5ofgcvid5qk" path="res://Player/GrappleHook/GrappleCenter.png" id="6_ismrc"]
|
2024-02-22 00:10:13 -06:00
|
|
|
|
2024-02-24 12:12:57 -06:00
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_jbiem"]
|
|
|
|
radius = 8.0
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id="Curve_ky2t4"]
|
|
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.738916, 0), -1.78462, 0.0, 0, 0]
|
|
|
|
point_count = 2
|
|
|
|
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_d404m"]
|
|
|
|
curve = SubResource("Curve_ky2t4")
|
|
|
|
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_65t6y"]
|
|
|
|
particle_flag_align_y = true
|
|
|
|
particle_flag_disable_z = true
|
|
|
|
particle_flag_damping_as_friction = true
|
|
|
|
direction = Vector3(0, -1, 0)
|
|
|
|
initial_velocity_min = 34.78
|
|
|
|
initial_velocity_max = 34.78
|
|
|
|
gravity = Vector3(0, 250, 0)
|
|
|
|
scale_min = 2.0
|
|
|
|
scale_max = 2.0
|
|
|
|
scale_curve = SubResource("CurveTexture_d404m")
|
2024-02-22 00:10:13 -06:00
|
|
|
|
|
|
|
[node name="Character" type="CharacterBody2D"]
|
2024-02-26 08:28:11 -06:00
|
|
|
collision_mask = 7
|
|
|
|
floor_stop_on_slope = false
|
2024-02-24 12:12:57 -06:00
|
|
|
floor_snap_length = 3.0
|
2024-02-22 00:10:13 -06:00
|
|
|
script = ExtResource("1_c5ycp")
|
|
|
|
|
2024-02-26 08:28:11 -06:00
|
|
|
[node name="Camera" parent="." instance=ExtResource("2_oahgu")]
|
|
|
|
position_smoothing_speed = 20.0
|
2024-02-22 00:10:13 -06:00
|
|
|
|
2024-02-24 12:12:57 -06:00
|
|
|
[node name="BoxCollider" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource("CircleShape2D_jbiem")
|
|
|
|
|
2024-02-22 00:10:13 -06:00
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
2024-02-26 08:28:11 -06:00
|
|
|
self_modulate = Color(0.678431, 0.298039, 1, 1)
|
|
|
|
visibility_layer = 257
|
2024-02-24 12:12:57 -06:00
|
|
|
rotation = 0.0123838
|
2024-02-22 00:10:13 -06:00
|
|
|
texture = ExtResource("1_3vfyw")
|
|
|
|
script = ExtResource("3_6plye")
|
2024-02-24 12:12:57 -06:00
|
|
|
|
2024-02-26 08:28:11 -06:00
|
|
|
[node name="WallslidingUp" type="GPUParticles2D" parent="Sprite"]
|
2024-02-24 12:12:57 -06:00
|
|
|
show_behind_parent = true
|
|
|
|
top_level = true
|
|
|
|
position = Vector2(-7.79423, 4.5)
|
2024-02-26 08:28:11 -06:00
|
|
|
emitting = false
|
2024-02-24 12:12:57 -06:00
|
|
|
process_material = SubResource("ParticleProcessMaterial_65t6y")
|
2024-02-26 08:28:11 -06:00
|
|
|
|
|
|
|
[node name="WallslidingNeutral" type="GPUParticles2D" parent="Sprite"]
|
|
|
|
show_behind_parent = true
|
|
|
|
top_level = true
|
|
|
|
position = Vector2(-7.79423, 4.5)
|
|
|
|
emitting = false
|
|
|
|
amount = 16
|
|
|
|
process_material = SubResource("ParticleProcessMaterial_65t6y")
|
|
|
|
|
|
|
|
[node name="WallslidingDown" type="GPUParticles2D" parent="Sprite"]
|
|
|
|
show_behind_parent = true
|
|
|
|
top_level = true
|
|
|
|
position = Vector2(-7.79423, 4.5)
|
|
|
|
emitting = false
|
|
|
|
amount = 24
|
|
|
|
process_material = SubResource("ParticleProcessMaterial_65t6y")
|
|
|
|
|
|
|
|
[node name="Grapple" type="Node2D" parent="Sprite"]
|
|
|
|
script = ExtResource("5_sv1u0")
|
|
|
|
|
|
|
|
[node name="GrappleCore" type="Sprite2D" parent="Sprite"]
|
|
|
|
modulate = Color(0.513726, 1, 0.482353, 1)
|
|
|
|
texture = ExtResource("6_ismrc")
|
|
|
|
|
|
|
|
[connection signal="Jumped" from="." to="Sprite" method="_on_character_jumped"]
|