Upload files to "/"
This commit is contained in:
parent
09e02cf42a
commit
e938077850
6
MeniuGameOver.gd
Normal file
6
MeniuGameOver.gd
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
extends CanvasLayer
|
||||||
|
signal restart
|
||||||
|
|
||||||
|
func _on_buton_restart_pressed():
|
||||||
|
restart.emit()
|
||||||
|
|
47
MeniuGameOver.tscn
Normal file
47
MeniuGameOver.tscn
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
[gd_scene load_steps=3 format=3 uid="uid://b8ij84rebg5qv"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://MeniuGameOver.gd" id="1_l32sj"]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xriu3"]
|
||||||
|
bg_color = Color(0.704192, 0.569313, 0.477543, 1)
|
||||||
|
|
||||||
|
[node name="MeniuGameOver" type="CanvasLayer"]
|
||||||
|
script = ExtResource("1_l32sj")
|
||||||
|
|
||||||
|
[node name="PanouGameOver" type="Panel" parent="."]
|
||||||
|
anchors_preset = 8
|
||||||
|
anchor_left = 0.5
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 0.5
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
offset_left = -213.0
|
||||||
|
offset_top = -139.0
|
||||||
|
offset_right = 194.0
|
||||||
|
offset_bottom = 180.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
theme_override_styles/panel = SubResource("StyleBoxFlat_xriu3")
|
||||||
|
|
||||||
|
[node name="LabelCastigator" type="Label" parent="."]
|
||||||
|
anchors_preset = -1
|
||||||
|
anchor_left = 0.229
|
||||||
|
anchor_top = 0.326
|
||||||
|
anchor_right = 0.229
|
||||||
|
anchor_bottom = 0.326
|
||||||
|
offset_left = 30.548
|
||||||
|
offset_top = 62.112
|
||||||
|
offset_right = 385.548
|
||||||
|
offset_bottom = 113.112
|
||||||
|
theme_override_font_sizes/font_size = 27
|
||||||
|
text = "Text antrenament"
|
||||||
|
horizontal_alignment = 1
|
||||||
|
vertical_alignment = 1
|
||||||
|
|
||||||
|
[node name="Button" type="Button" parent="."]
|
||||||
|
offset_left = 294.0
|
||||||
|
offset_top = 438.0
|
||||||
|
offset_right = 441.0
|
||||||
|
offset_bottom = 501.0
|
||||||
|
text = "Restart"
|
||||||
|
|
||||||
|
[connection signal="pressed" from="Button" to="." method="_on_buton_restart_pressed"]
|
7
cal_negru.tscn
Normal file
7
cal_negru.tscn
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[gd_scene load_steps=2 format=3 uid="uid://xdp45v64r68w"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://6mjd1ho10a3h" path="res://Asset/cal_negru.jpg" id="1_ooyot"]
|
||||||
|
|
||||||
|
[node name="Sprite2D" type="Sprite2D"]
|
||||||
|
scale = Vector2(0.6, 0.6)
|
||||||
|
texture = ExtResource("1_ooyot")
|
18
casuta.tscn
Normal file
18
casuta.tscn
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
[gd_scene load_steps=2 format=3 uid="uid://dnowl17kc1jld"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://căsuță.gd" id="1_k8awj"]
|
||||||
|
|
||||||
|
[node name="Căsuță" type="ColorRect"]
|
||||||
|
custom_minimum_size = Vector2(95, 95)
|
||||||
|
size_flags_horizontal = 0
|
||||||
|
color = Color(0.427451, 0.0588235, 0.0666667, 1)
|
||||||
|
script = ExtResource("1_k8awj")
|
||||||
|
|
||||||
|
[node name="ColorRect" type="ColorRect" parent="."]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
color = Color(1, 1, 1, 0)
|
43
main.tscn
Normal file
43
main.tscn
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
[gd_scene load_steps=18 format=3 uid="uid://d3fe3x8i4thex"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://Node.gd" id="1_ox6fu"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dsgf3iy1cj7vd" path="res://pion_alb.tscn" id="2_xv60o"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dwmjduf28jj5n" path="res://cadran_negru.tscn" id="3_j77pi"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dkt75q4kxr7p8" path="res://cadran_alb.tscn" id="4_b62p5"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cxfkk8jsqfxmd" path="res://pion_negru.tscn" id="5_5yycy"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://8obda0sgowyv" path="res://tabla.tscn" id="5_f6dqy"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://gmt78c6d81ji" path="res://tura_neagra.tscn" id="6_yq2py"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://xdp45v64r68w" path="res://cal_negru.tscn" id="7_j0xno"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cyfend41hs8ql" path="res://nebun_negru.tscn" id="8_2exk2"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://o3bg6map6qiy" path="res://regina_neagra.tscn" id="9_0yaaj"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dk20l6un5j1js" path="res://rege_negru.tscn" id="10_8ujrs"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://c1r5wv0y8qcgw" path="res://tura_alba.tscn" id="11_6mmtq"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://4v5ydw026gft" path="res://cal_alb.tscn" id="12_0dsso"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://c5i7opo0wjkko" path="res://nebun_alb.tscn" id="13_40iom"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bpd3bavr13asa" path="res://regina_alba.tscn" id="14_cfknb"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://d2kf2x8c3ill8" path="res://rege_alb.tscn" id="15_dxfeq"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b8ij84rebg5qv" path="res://MeniuGameOver.tscn" id="17_4l0x0"]
|
||||||
|
|
||||||
|
[node name="Main" type="Node"]
|
||||||
|
script = ExtResource("1_ox6fu")
|
||||||
|
pion_alb_scene = ExtResource("2_xv60o")
|
||||||
|
pion_negru_scene = ExtResource("5_5yycy")
|
||||||
|
cadran_negru_scene = ExtResource("3_j77pi")
|
||||||
|
cadran_alb_scene = ExtResource("4_b62p5")
|
||||||
|
tura_neagra_scene = ExtResource("6_yq2py")
|
||||||
|
cal_negru_scene = ExtResource("7_j0xno")
|
||||||
|
nebun_negru_scene = ExtResource("8_2exk2")
|
||||||
|
regina_neagra_scene = ExtResource("9_0yaaj")
|
||||||
|
rege_negru_scene = ExtResource("10_8ujrs")
|
||||||
|
tura_alba_scene = ExtResource("11_6mmtq")
|
||||||
|
cal_alb_scene = ExtResource("12_0dsso")
|
||||||
|
nebun_alb_scene = ExtResource("13_40iom")
|
||||||
|
regina_alba_scene = ExtResource("14_cfknb")
|
||||||
|
rege_alb_scene = ExtResource("15_dxfeq")
|
||||||
|
|
||||||
|
[node name="Randuri" parent="." instance=ExtResource("5_f6dqy")]
|
||||||
|
|
||||||
|
[node name="MeniuGameOver" parent="." instance=ExtResource("17_4l0x0")]
|
||||||
|
process_mode = 2
|
||||||
|
|
||||||
|
[connection signal="restart" from="MeniuGameOver" to="." method="_on_meniu_game_over_restart"]
|
Loading…
Reference in New Issue
Block a user