Skip to content

Commit ffaf05a

Browse files
committed
Remove editable children from code example
Fixes #1272
1 parent 4200bba commit ffaf05a

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

course/lesson-13-conditions/visuals/ExampleHealLimited.tscn

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -67,41 +67,6 @@ gdscript_code = "func heal(amount):
6767
if health > 100:
6868
health = 100"
6969
70-
[node name="PanelContainer" parent="RunnableCodeExample/Frame" parent_id_path=PackedInt32Array(652420169, 1694077977) index="0" unique_id=209141511]
71-
layout_mode = 1
72-
anchors_preset = 15
73-
grow_horizontal = 2
74-
grow_vertical = 2
75-
76-
[node name="Sliders" parent="RunnableCodeExample/Frame" parent_id_path=PackedInt32Array(652420169, 1694077977) index="1" unique_id=133529752]
77-
offset_left = 0.0
78-
offset_top = 0.0
79-
offset_right = 40.0
80-
offset_bottom = 40.0
81-
82-
[node name="HBoxContainer" parent="RunnableCodeExample/Frame" parent_id_path=PackedInt32Array(652420169, 1694077977) index="2" unique_id=1323725507]
83-
anchor_left = 0.0
84-
anchor_top = 0.0
85-
anchor_right = 0.0
86-
anchor_bottom = 0.0
87-
offset_left = 0.0
88-
offset_top = 0.0
89-
offset_right = 168.0
90-
offset_bottom = 40.0
91-
grow_horizontal = 1
92-
grow_vertical = 1
93-
94-
[node name="RunButton" parent="RunnableCodeExample/Frame/HBoxContainer" index="1" unique_id=1248061364]
95-
text = "heal(50)"
96-
97-
[node name="GDScriptCode" parent="RunnableCodeExample" index="1" unique_id=175998401]
98-
visible = true
99-
text = "func heal(amount):
100-
health += amount
101-
if health > 100:
102-
health = 100"
103-
syntax_highlighter = null
104-
10570
[node name="HealRobot" parent="RunnableCodeExample" unique_id=1182116081 node_paths=PackedStringArray("_health_bar") instance=ExtResource("2")]
10671
script = SubResource("1")
10772
_health_bar = NodePath("HealthBar")
@@ -111,5 +76,3 @@ _health_bar = NodePath("HealthBar")
11176
[node name="RunnableCodeExampleDebugger" parent="." unique_id=1312446814 instance=ExtResource("4")]
11277
layout_mode = 2
11378
monitored_variables = ["health"]
114-
115-
[editable path="RunnableCodeExample"]

0 commit comments

Comments
 (0)