|
1 | | -[gd_scene load_steps=6 format=2] |
| 1 | +[gd_scene load_steps=6 format=3 uid="uid://n0h8fmj0t58s"] |
2 | 2 |
|
3 | | -[ext_resource path="res://addons/ropesim/RopeRendererLine2D.gd" type="Script" id=1] |
4 | | -[ext_resource path="res://addons/ropesim/RopeHandle.gd" type="Script" id=2] |
5 | | -[ext_resource path="res://addons/ropesim/RopeAnchor.gd" type="Script" id=3] |
6 | | -[ext_resource path="res://addons/ropesim/Rope.gd" type="Script" id=4] |
7 | | -[ext_resource path="res://icon.png" type="Texture" id=5] |
| 3 | +[ext_resource type="Script" path="res://addons/ropesim/RopeRendererLine2D.gd" id="1"] |
| 4 | +[ext_resource type="Script" path="res://addons/ropesim/RopeHandle.gd" id="2"] |
| 5 | +[ext_resource type="Script" path="res://addons/ropesim/RopeAnchor.gd" id="3"] |
| 6 | +[ext_resource type="Script" path="res://addons/ropesim/Rope.gd" id="4"] |
| 7 | +[ext_resource type="Texture2D" uid="uid://ckk8c7brnrgwa" path="res://icon.png" id="5"] |
8 | 8 |
|
9 | 9 | [node name="main" type="Node2D"] |
10 | 10 |
|
| 11 | +[node name="RopeHandle" type="Marker2D" parent="."] |
| 12 | +position = Vector2(306, 27) |
| 13 | +script = ExtResource("2") |
| 14 | +rope_path = NodePath("../Rope") |
| 15 | + |
| 16 | +[node name="RopeAnchor" type="Marker2D" parent="."] |
| 17 | +position = Vector2(218.663, 126.848) |
| 18 | +script = ExtResource("3") |
| 19 | +rope_path = NodePath("../Rope") |
| 20 | +rope_position = 0.5 |
| 21 | + |
| 22 | +[node name="Icon" type="Sprite2D" parent="RopeAnchor"] |
| 23 | +position = Vector2(0, 32) |
| 24 | +texture = ExtResource("5") |
| 25 | + |
11 | 26 | [node name="Rope" type="Node2D" parent="."] |
12 | | -position = Vector2( 196, 141 ) |
13 | | -script = ExtResource( 4 ) |
14 | | -__meta__ = { |
15 | | -"_edit_group_": true |
16 | | -} |
| 27 | +texture_repeat = 2 |
| 28 | +position = Vector2(160, 51) |
| 29 | +script = ExtResource("4") |
17 | 30 | rope_length = 200.0 |
18 | 31 | stiffness = 10.0 |
19 | 32 | damping = 10.0 |
20 | 33 | render_line = false |
| 34 | +metadata/_edit_group_ = true |
21 | 35 |
|
22 | 36 | [node name="RopeRendererLine2D" type="Line2D" parent="Rope"] |
23 | 37 | show_behind_parent = true |
24 | | -position = Vector2( 154, 21 ) |
25 | | -points = PoolVector2Array( -154, -21, -143.112, -3.3578, -129.393, 12.1636, -112.785, 24.5154, -93.8317, 32.7495, -73.4055, 35.5385, -53.1455, 32.0919, -34.7684, 23.1087, -19.0121, 10.2769, -5.66467, -4.83215, 5.8414, -21.1909 ) |
26 | | -default_color = Color( 1, 1, 1, 1 ) |
27 | | -texture = ExtResource( 5 ) |
| 38 | +points = PackedVector2Array(0, 0, 5.20265, 20.1047, 12.2637, 39.6164, 22.829, 57.4394, 38.508, 70.9481, 58.6628, 75.848, 78.8497, 70.8331, 96.0613, 59.2695, 110.211, 44.3839, 122.031, 27.9181, 132.2, 10.6962) |
| 39 | +texture = ExtResource("5") |
28 | 40 | texture_mode = 1 |
29 | | -script = ExtResource( 1 ) |
30 | | - |
31 | | -[node name="RopeAnchor" type="Position2D" parent="Rope"] |
32 | | -position = Vector2( 80.5945, 56.5385 ) |
33 | | -script = ExtResource( 3 ) |
34 | | -rope_path = NodePath("..") |
35 | | -rope_position = 0.5 |
36 | | - |
37 | | -[node name="Icon" type="Sprite" parent="Rope/RopeAnchor"] |
38 | | -position = Vector2( 0, 32 ) |
39 | | -texture = ExtResource( 5 ) |
40 | | - |
41 | | -[node name="RopeHandle" type="Position2D" parent="."] |
42 | | -position = Vector2( 362, 129 ) |
43 | | -script = ExtResource( 2 ) |
44 | | -rope_path = NodePath("../Rope") |
| 41 | +script = ExtResource("1") |
0 commit comments