Browse Source

:wrench: Add the cancel capture to every level

DricomDragon 2 years ago
parent
commit
7c5a338f5d
2 changed files with 6 additions and 2 deletions
  1. 3 1
      godot/run/levels/simple_scales.tscn
  2. 3 1
      godot/run/levels/world.tscn

+ 3 - 1
godot/run/levels/simple_scales.tscn

@@ -1,10 +1,12 @@
-[gd_scene load_steps=4 format=3 uid="uid://bwvywnh4itqg3"]
+[gd_scene load_steps=5 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="Script" path="res://component/entity/level/Level.gd" id="1_sbrp4"]
 [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"]
+script = ExtResource("1_sbrp4")
 
 [node name="MainLine" parent="." instance=ExtResource("1_bt0a1")]
 

+ 3 - 1
godot/run/levels/world.tscn

@@ -1,6 +1,7 @@
-[gd_scene load_steps=6 format=3 uid="uid://bs8crkburdpjc"]
+[gd_scene load_steps=7 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="Script" path="res://component/entity/level/Level.gd" id="1_xs4im"]
 [ext_resource type="PackedScene" uid="uid://dkltla4rn3vgv" path="res://component/entity/trigger/Trigger.tscn" id="3_h3i8n"]
 [ext_resource type="PackedScene" uid="uid://bw4uy776cvn5o" path="res://component/entity/line/Line.tscn" id="3_l2vrj"]
 
@@ -17,6 +18,7 @@ _data = {
 point_count = 11
 
 [node name="World" type="Node2D"]
+script = ExtResource("1_xs4im")
 
 [node name="Lines" type="Node2D" parent="."]