Skip to content

Commit 0876683

Browse files
committed
Fix minimum version and update demo project
1 parent 024d6b5 commit 0876683

6 files changed

Lines changed: 29 additions & 13 deletions

File tree

demo/addons/ropesim/libropesim.gdextension

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[configuration]
22

33
entry_symbol = "libropesim_init"
4-
compatibility_minimum = "4.1"
4+
compatibility_minimum = "4.2"
55

66
[libraries]
77

demo/addons/ropesim/plugin.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
name="Godot Ropesim"
44
description="Fast verlet integration based rope simulation for Godot."
55
author="Marvin Ewald"
6-
version="1.1.0"
6+
version="1.1.1"
77
script="plugin.gd"

demo/icon.png

-3.23 KB
Binary file not shown.

demo/icon.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
importer="texture"
44
type="CompressedTexture2D"
5-
uid="uid://ckk8c7brnrgwa"
6-
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
5+
uid="uid://criwv6nuivcxy"
6+
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
77
metadata={
88
"vram_texture": false
99
}
1010

1111
[deps]
1212

13-
source_file="res://icon.png"
14-
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"]
13+
source_file="res://icon.svg"
14+
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"]
1515

1616
[params]
1717

@@ -32,3 +32,6 @@ process/hdr_as_srgb=false
3232
process/hdr_clamp_exposure=false
3333
process/size_limit=0
3434
detect_3d/compress_to=1
35+
svg/scale=1.0
36+
editor/scale_with_editor_scale=false
37+
editor/convert_colors_with_editor_theme=false

demo/ropesim_demo.tscn

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,52 @@
22

33
[ext_resource type="Script" path="res://addons/ropesim/RopeHandle.gd" id="1_3v13b"]
44
[ext_resource type="Script" path="res://addons/ropesim/RopeAnchor.gd" id="2_60osf"]
5-
[ext_resource type="Texture2D" uid="uid://ckk8c7brnrgwa" path="res://icon.png" id="3_t3x7v"]
5+
[ext_resource type="Texture2D" uid="uid://criwv6nuivcxy" path="res://icon.svg" id="3_t3x7v"]
66
[ext_resource type="Script" path="res://addons/ropesim/Rope.gd" id="4_ytdbs"]
77
[ext_resource type="Script" path="res://addons/ropesim/RopeRendererLine2D.gd" id="5_8a6rj"]
88

99
[node name="main" type="Node2D"]
1010

1111
[node name="RopeHandle" type="Marker2D" parent="."]
12-
position = Vector2(306, 27)
12+
position = Vector2(161, 15)
1313
script = ExtResource("1_3v13b")
1414
rope_path = NodePath("../Rope")
15+
rope_position = 0.62
1516

1617
[node name="RopeAnchor" type="Marker2D" parent="."]
17-
position = Vector2(218.659, 126.848)
18+
position = Vector2(93.0733, 72.1881)
1819
script = ExtResource("2_60osf")
1920
rope_path = NodePath("../Rope")
20-
rope_position = 0.5
21+
rope_position = 0.25
2122

2223
[node name="Icon" type="Sprite2D" parent="RopeAnchor"]
2324
position = Vector2(0, 32)
25+
scale = Vector2(0.5, 0.5)
26+
texture = ExtResource("3_t3x7v")
27+
28+
[node name="RopeAnchor2" type="Marker2D" parent="."]
29+
position = Vector2(155.257, 122.217)
30+
script = ExtResource("2_60osf")
31+
rope_path = NodePath("../Rope")
32+
33+
[node name="Icon" type="Sprite2D" parent="RopeAnchor2"]
34+
position = Vector2(0, 32)
35+
scale = Vector2(0.5, 0.5)
2436
texture = ExtResource("3_t3x7v")
2537

2638
[node name="Rope" type="Node2D" parent="."]
2739
texture_repeat = 2
28-
position = Vector2(160, 51)
40+
position = Vector2(51, 42)
2941
script = ExtResource("4_ytdbs")
42+
num_segments = 20
3043
rope_length = 200.0
31-
stiffness = 10.0
3244
damping = 10.0
3345
render_line = false
3446
metadata/_edit_group_ = true
3547

3648
[node name="RopeRendererLine2D" type="Line2D" parent="Rope"]
3749
show_behind_parent = true
38-
points = PackedVector2Array(0, 0, 5.20099, 20.105, 12.2605, 39.6173, 22.8247, 57.4408, 38.5036, 70.9496, 58.6586, 75.8485, 78.8454, 70.8324, 96.057, 59.2686, 110.207, 44.3834, 122.028, 27.9181, 132.197, 10.6967)
50+
points = PackedVector2Array(0, 0, 6.71648, 8.31234, 14.071, 16.0065, 22.3896, 22.6058, 31.7818, 27.5522, 42.0733, 30.1881, 52.6983, 30.0319, 62.8985, 27.1567, 72.1514, 22.1537, 80.3221, 15.7348, 87.5358, 8.48028, 94.2058, 0.946163, 103.726, -1.96891, 104.262, 8.33314, 104.286, 18.7328, 104.269, 29.1566, 104.252, 39.5521, 104.24, 49.8774, 104.236, 60.1039, 104.241, 70.2171, 104.257, 80.2171)
3951
texture = ExtResource("3_t3x7v")
4052
texture_mode = 1
4153
script = ExtResource("5_8a6rj")

0 commit comments

Comments
 (0)