Browse Source

:art: Create a second line

DricomDragon 2 years ago
parent
commit
fbcb06bbee
1 changed files with 27 additions and 1 deletions
  1. 27 1
      godot/world.tscn

+ 27 - 1
godot/world.tscn

@@ -1,14 +1,27 @@
-[gd_scene load_steps=3 format=3 uid="uid://bs8crkburdpjc"]
+[gd_scene load_steps=5 format=3 uid="uid://bs8crkburdpjc"]
 
 [ext_resource type="PackedScene" uid="uid://bs4hylgxwbr8y" path="res://component/entity/star/Star.tscn" id="1_wa4bn"]
 [ext_resource type="PackedScene" uid="uid://bw4uy776cvn5o" path="res://component/entity/line/Line.tscn" id="3_l2vrj"]
 
+[sub_resource type="Curve2D" id="Curve2D_i8apf"]
+_data = {
+"points": PackedVector2Array(0, 0, 0, 0, 64, 64, 0, 0, 0, 0, 640, 64, 0, 0, 0, 0, 640, 640, 0, 0, 0, 0, 1408, 640, 0, 0, 0, 0, 1408, 512, 0, 0, 0, 0, 1664, 512, 0, 0, 0, 0, 1664, 832, 0, 0, 0, 0, 1344, 1024, 0, 0, 0, 0, 64, 704, 0, 0, 0, 0, 64, 64)
+}
+point_count = 10
+
+[sub_resource type="Curve2D" id="Curve2D_yypd3"]
+_data = {
+"points": PackedVector2Array(0, 0, 0, 0, 1856, 320, 0, 0, 0, 0, 1472, 320, 0, 0, 0, 0, 1472, 448, 0, 0, 0, 0, 128, 448, 0, 0, 0, 0, 128, 832, 0, 0, 0, 0, 640, 960, 0, 0, 0, 0, 832, 192, 0, 0, 0, 0, 1152, 192, 0, 0, 0, 0, 1152, 64, 0, 0, 0, 0, 1856, 64, 0, 0, 0, 0, 1856, 320)
+}
+point_count = 11
+
 [node name="World" type="Node2D"]
 
 [node name="Lines" type="Node2D" parent="."]
 
 [node name="BassLine" parent="Lines" instance=ExtResource("3_l2vrj")]
 modulate = Color(1, 0, 1, 1)
+curve = SubResource("Curve2D_i8apf")
 
 [node name="ProtoStar" parent="Lines/BassLine" instance=ExtResource("1_wa4bn")]
 position = Vector2(246, 1065)
@@ -18,3 +31,16 @@ rotates = false
 position = Vector2(799.253, 427.169)
 progress = 4210.26
 rotates = false
+
+[node name="NiceLine" parent="Lines" instance=ExtResource("3_l2vrj")]
+modulate = Color(1, 0, 0, 1)
+curve = SubResource("Curve2D_yypd3")
+
+[node name="ElioStar" parent="Lines/NiceLine" instance=ExtResource("1_wa4bn")]
+position = Vector2(246, 1065)
+rotates = false
+
+[node name="MiniStar" parent="Lines/NiceLine" instance=ExtResource("1_wa4bn")]
+position = Vector2(839.908, 746.409)
+progress = 4210.26
+rotates = false