2024-02-15 05:04:26 +00:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://cu03w8wxnkffb"]
|
|
|
|
|
2024-02-16 03:26:01 +00:00
|
|
|
[ext_resource type="Script" path="res://scenes/putt_controller.gd" id="1_rb6v1"]
|
2024-02-15 05:04:26 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://dvr4j6164rphg" path="res://sprites/square.svg" id="2_eblkx"]
|
|
|
|
[ext_resource type="AudioStream" uid="uid://clm7wapsnjjlp" path="res://sounds/putt.wav" id="3_0eren"]
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id="Curve_pq63d"]
|
|
|
|
min_value = -16.0
|
|
|
|
max_value = 0.0
|
|
|
|
_data = [Vector2(0, -16), 0.0, 16.0, 0, 1, Vector2(1, 0), 16.0, 0.0, 1, 0]
|
|
|
|
point_count = 2
|
|
|
|
|
|
|
|
[node name="PuttController" type="Node2D"]
|
|
|
|
visible = false
|
|
|
|
modulate = Color(1, 1, 1, 0.25098)
|
2024-02-16 03:26:01 +00:00
|
|
|
script = ExtResource("1_rb6v1")
|
2024-02-15 05:19:18 +00:00
|
|
|
putt_max_impulse = 333.0
|
2024-02-15 05:04:26 +00:00
|
|
|
putt_drag_scale = 1.0
|
2024-02-15 05:19:18 +00:00
|
|
|
putt_ghost_scale = 0.3
|
2024-02-15 05:04:26 +00:00
|
|
|
putt_volume = SubResource("Curve_pq63d")
|
|
|
|
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
|
|
texture = ExtResource("2_eblkx")
|
|
|
|
|
|
|
|
[node name="Sound" type="AudioStreamPlayer2D" parent="."]
|
|
|
|
stream = ExtResource("3_0eren")
|