extends Node2D
var z = 6
var x = 0
var c = 0
var v = 0
var b = 0
var n = 0
var m = 0
var a = 0
var s = 2
var d = 0
@onready var sup_item =$"СнимокЭкрана2024-09-03153040"
@onready var time = $Timer
var stop = 0
var timer = 0
var min = 0
var pause = 0
func _process(delta: float) -> void:
if n == 1:
if min == x && timer == a:
$AudioStreamPlayer3.play()
if b == 1:
if min == c && timer == m:
$AudioStreamPlayer4.play()
if min == v && timer == m:
$AudioStreamPlayer5.play()
if s == 15:
s = 0
func _on_timer_timeout() -> void:
#$AudioStreamPlayer.play()
timer += 1
if timer == 60:
min += 1
timer = 0
$Timer.start()
if min == z && timer == 40:
возможно узнать код ?
var z = 6
var x = 0
var c = 0
var v = 0
var b = 0
var n = 0
var m = 0
var a = 0
var s = 2
var d = 0
@onready var sup_item =$"СнимокЭкрана2024-09-03153040"
@onready var time = $Timer
var stop = 0
var timer = 0
var min = 0
var pause = 0
func _process(delta: float) -> void:
if n == 1:
if min == x && timer == a:
$AudioStreamPlayer3.play()
if b == 1:
if min == c && timer == m:
$AudioStreamPlayer4.play()
if min == v && timer == m:
$AudioStreamPlayer5.play()
if s == 15:
s = 0
func _on_timer_timeout() -> void:
#$AudioStreamPlayer.play()
timer += 1
if timer == 60:
min += 1
timer = 0
$Timer.start()
if min == z && timer == 40:
возможно узнать код ?