GrappleTest/Player/GrappleHook/GrappleHookProjectile/GrappleHookProjectile.tscn

75 lines
2.1 KiB
Text
Raw Normal View History

2024-02-27 11:27:54 -06:00
[gd_scene load_steps=7 format=3 uid="uid://dmgf8fsvy1wjh"]
2024-02-26 08:28:11 -06:00
[ext_resource type="Script" path="res://Player/GrappleHook/GrappleHookProjectile/GrappleHookProjectile.gd" id="1_nba88"]
[ext_resource type="Texture2D" uid="uid://bncu47o5ynskj" path="res://Player/GrappleHook/GrappleHookProjectile/Grapple.png" id="2_sst4t"]
[ext_resource type="Texture2D" uid="uid://gn347ng3iu02" path="res://Player/GrappleHook/GrappleHookProjectile/GrappleTether.png" id="2_xkdsl"]
2024-02-27 11:27:54 -06:00
[sub_resource type="Curve" id="Curve_qnwwb"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), -2.51429, 0.0, 0, 0]
point_count = 2
2024-02-29 10:38:22 -06:00
[sub_resource type="CurveTexture" id="CurveTexture_h7vvv"]
2024-02-27 11:27:54 -06:00
curve = SubResource("Curve_qnwwb")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_tkwr2"]
particle_flag_align_y = true
particle_flag_disable_z = true
2024-02-29 10:38:22 -06:00
inherit_velocity_ratio = -0.1
direction = Vector3(0, 1, 0)
2024-02-27 11:27:54 -06:00
spread = 180.0
2024-02-29 10:38:22 -06:00
flatness = 1.0
2024-02-27 11:27:54 -06:00
initial_velocity_min = 50.0
initial_velocity_max = 50.0
gravity = Vector3(0, 0, 0)
damping_min = 50.0
damping_max = 50.0
scale_max = 2.0
2024-02-29 10:38:22 -06:00
scale_curve = SubResource("CurveTexture_h7vvv")
2024-02-27 11:27:54 -06:00
2024-02-26 08:28:11 -06:00
[node name="GrappleHook" type="CharacterBody2D"]
top_level = true
disable_mode = 2
collision_layer = 4
collision_mask = 0
motion_mode = 1
platform_floor_layers = 4294967040
script = ExtResource("1_nba88")
[node name="Sprite" type="Sprite2D" parent="."]
2024-03-13 16:15:55 -05:00
z_index = 4
2024-02-26 08:28:11 -06:00
texture = ExtResource("2_sst4t")
[node name="GrappleLine" type="Line2D" parent="."]
top_level = true
2024-02-29 10:38:22 -06:00
z_index = 2
2024-02-26 08:28:11 -06:00
texture_repeat = 2
points = PackedVector2Array(0, 0, 33, 0)
width = 4.0
texture = ExtResource("2_xkdsl")
texture_mode = 1
joint_mode = 2
begin_cap_mode = 2
end_cap_mode = 2
round_precision = 4
[node name="GrappleBord" type="Line2D" parent="."]
modulate = Color(0, 0, 0, 1)
top_level = true
2024-02-29 10:38:22 -06:00
z_index = 1
2024-02-26 08:28:11 -06:00
texture_repeat = 2
points = PackedVector2Array(0, 0, 33, 0)
width = 6.0
texture_mode = 1
joint_mode = 2
begin_cap_mode = 2
end_cap_mode = 2
round_precision = 4
2024-02-27 11:27:54 -06:00
[node name="parti" type="GPUParticles2D" parent="."]
2024-02-29 10:38:22 -06:00
amount = 200
2024-02-27 11:27:54 -06:00
process_material = SubResource("ParticleProcessMaterial_tkwr2")
lifetime = 2.0
fixed_fps = 0
interpolate = false
visibility_rect = Rect2(-12500, -12500, 25000, 25000)