Skip to content

Commit 11dce77

Browse files
committed
Cleaning testing code
1 parent 31a0f27 commit 11dce77

5 files changed

+2
-77
lines changed
Binary file not shown.

icon.png

-3.23 KB
Binary file not shown.

icon.png.import

-35
This file was deleted.

scenes/Game.tscn

+1-35
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
[gd_scene load_steps=9 format=2]
1+
[gd_scene load_steps=8 format=2]
22

3-
[ext_resource path="res://icon.png" type="Texture" id=1]
43
[ext_resource path="res://scenes/game.gd" type="Script" id=2]
54
[ext_resource path="res://resources/backgrounds/track.png" type="Texture" id=4]
65
[ext_resource path="res://resources/icon/alexei.png" type="Texture" id=5]
@@ -66,37 +65,4 @@ rect_min_size = Vector2( 100, 100 )
6665
texture_normal = ExtResource( 9 )
6766
expand = true
6867

69-
[node name="ScoreBG" type="ColorRect" parent="."]
70-
anchor_left = 1.0
71-
anchor_right = 1.0
72-
margin_left = 1730.0
73-
margin_top = 10.0
74-
margin_right = 1880.0
75-
margin_bottom = 74.0
76-
rect_min_size = Vector2( 150, 64 )
77-
color = Color( 0, 0, 0, 1 )
78-
79-
[node name="ScoreContainer" type="HBoxContainer" parent="ScoreBG"]
80-
anchor_right = 1.0
81-
anchor_bottom = 1.0
82-
grow_horizontal = 0
83-
rect_min_size = Vector2( 150, 0 )
84-
custom_constants/separation = 10
85-
86-
[node name="Score" type="Label" parent="ScoreBG/ScoreContainer"]
87-
unique_name_in_owner = true
88-
margin_right = 76.0
89-
margin_bottom = 64.0
90-
size_flags_horizontal = 3
91-
size_flags_vertical = 7
92-
text = "0"
93-
align = 2
94-
valign = 1
95-
96-
[node name="Icon" type="TextureRect" parent="ScoreBG/ScoreContainer"]
97-
margin_left = 86.0
98-
margin_right = 150.0
99-
margin_bottom = 64.0
100-
texture = ExtResource( 1 )
101-
10268
[connection signal="pressed" from="Academy/Alexei" to="." method="_on_Alexei_pressed"]

scenes/game.gd

+1-7
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,9 @@ func _ready():
77
$Academy.hide()
88
launch_dialog('N01')
99

10-
func update_studies_score() -> void:
11-
get_node("%Score").text = Dialogic.get_variable('pp', study_score)
12-
13-
func _process(delta):
14-
update_studies_score()
15-
1610
func _on_Alexei_pressed():
1711
$Academy.hide()
18-
launch_dialog('alexei_talking_choice')
12+
launch_dialog('A01')
1913

2014
func launch_dialog(timeline_name):
2115
var dialog = Dialogic.start(timeline_name)

0 commit comments

Comments
 (0)