ソースを参照

:tada: Add a new level

For simple scale testing.
DricomDragon 2 年 前
コミット
1a3e23c759

+ 3 - 3
godot/component/entity/line/Line.tscn

@@ -4,10 +4,10 @@
 
 [sub_resource type="Curve2D" id="Curve2D_dtvs1"]
 _data = {
-"points": PackedVector2Array(0, 0, 0, 0, 246, 1065, 0, 0, 0, 0, 469, 582, 0, 0, 0, 0, 116, 294, 0, 0, 0, 0, 33, 85, 0, 0, 0, 0, 645, 6, 0, 0, 0, 0, 1881, 227, 0, 0, 0, 0, 979, 300, 0, 0, 0, 0, 138, 895, 0, 0, 0, 0, 1489, 609, 0, 0, 0, 0, 1892, 766, 0, 0, 0, 0, 923, 1018, 0, 0, 0, 0, 338, 1044)
+"points": PackedVector2Array(0, 0, 0, 0, 1856, 64, 0, 0, 0, 0, 64, 64, 0, 0, 0, 0, 1856, 1024, 0, 0, 0, 0, 64, 1024, 0, 0, 0, 0, 1856, 64)
 }
-point_count = 12
+point_count = 5
 
-[node name="BassLine2" type="Path2D"]
+[node name="Line" type="Path2D"]
 curve = SubResource("Curve2D_dtvs1")
 script = ExtResource("1_8tuj7")

+ 2 - 0
godot/component/entity/star/Star.tscn

@@ -7,6 +7,8 @@
 [sub_resource type="CircleShape2D" id="CircleShape2D_6ypex"]
 
 [node name="Star" type="PathFollow2D"]
+rotates = false
+lookahead = 1.0
 script = ExtResource("1_bl1jp")
 
 [node name="Sound" type="AudioStreamPlayer2D" parent="."]

+ 46 - 0
godot/levels/simple_scales.tscn

@@ -0,0 +1,46 @@
+[gd_scene load_steps=4 format=3 uid="uid://bwvywnh4itqg3"]
+
+[ext_resource type="PackedScene" uid="uid://bw4uy776cvn5o" path="res://component/entity/line/Line.tscn" id="1_bt0a1"]
+[ext_resource type="PackedScene" uid="uid://bs4hylgxwbr8y" path="res://component/entity/star/Star.tscn" id="2_k3r0g"]
+[ext_resource type="PackedScene" uid="uid://dkltla4rn3vgv" path="res://component/entity/trigger/Trigger.tscn" id="3_81otn"]
+
+[node name="Root" type="Node2D"]
+
+[node name="MainLine" parent="." instance=ExtResource("1_bt0a1")]
+
+[node name="Do" parent="MainLine" instance=ExtResource("2_k3r0g")]
+position = Vector2(749.599, 1028.94)
+progress = 3858.41
+note = 4
+
+[node name="Re" parent="MainLine" instance=ExtResource("2_k3r0g")]
+position = Vector2(1300.8, 1026.48)
+progress = 3307.21
+note = 6
+
+[node name="Mi" parent="MainLine" instance=ExtResource("2_k3r0g")]
+position = Vector2(1852.07, 1024.04)
+progress = 2756.01
+note = 8
+
+[node name="Fa" parent="MainLine" instance=ExtResource("2_k3r0g")]
+position = Vector2(1856, 476.805)
+progress = 2204.81
+note = 9
+
+[node name="Sol" parent="MainLine" instance=ExtResource("2_k3r0g")]
+position = Vector2(1717.6, 64)
+progress = 1653.6
+note = 11
+
+[node name="La" parent="MainLine" instance=ExtResource("2_k3r0g")]
+position = Vector2(1166.4, 64)
+progress = 1102.4
+
+[node name="Si" parent="MainLine" instance=ExtResource("2_k3r0g")]
+position = Vector2(615.204, 64)
+progress = 551.202
+note = 3
+
+[node name="Trigger" parent="." instance=ExtResource("3_81otn")]
+position = Vector2(960, 544)

+ 2 - 6
godot/world.tscn

@@ -26,12 +26,10 @@ curve = SubResource("Curve2D_i8apf")
 
 [node name="ProtoStar" parent="Lines/BassLine" instance=ExtResource("1_wa4bn")]
 position = Vector2(64, 64)
-rotates = false
 
 [node name="SecondStar" parent="Lines/BassLine" instance=ExtResource("1_wa4bn")]
-position = Vector2(167.134, 729.784)
+position = Vector2(167.137, 729.784)
 progress = 4210.26
-rotates = false
 note = 3
 
 [node name="NiceLine" parent="Lines" instance=ExtResource("3_l2vrj")]
@@ -40,13 +38,11 @@ curve = SubResource("Curve2D_yypd3")
 
 [node name="ElioStar" parent="Lines/NiceLine" instance=ExtResource("1_wa4bn")]
 position = Vector2(1856, 320)
-rotates = false
 note = 4
 
 [node name="MiniStar" parent="Lines/NiceLine" instance=ExtResource("1_wa4bn")]
-position = Vector2(1354.87, 64)
+position = Vector2(1354.86, 64)
 progress = 4210.26
-rotates = false
 note = 6
 
 [node name="Triggers" type="Node2D" parent="."]

+ 1 - 1
godot/project.godot

@@ -21,7 +21,7 @@ _global_script_class_icons={
 [application]
 
 config/name="StarKiss"
-run/main_scene="res://world.tscn"
+run/main_scene="res://levels/world.tscn"
 config/features=PackedStringArray("4.0", "Mobile")
 config/icon="res://icon.svg"