fix?
This commit is contained in:
parent
2058791388
commit
470a5c9f20
2 changed files with 3 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://cyxifateppwnk"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://dgsu5jn00smc8"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://n06gkookqeml" path="res://scenes/game/windows/Ads.tscn" id="1_g6iem"]
|
||||
[ext_resource type="Script" path="res://scripts/ads/Ads_sexy_robot.gd" id="2_17d4p"]
|
||||
|
@ -30,6 +30,7 @@ scale = Vector2(0.390625, 0.409375)
|
|||
texture = ExtResource("8_buqmw")
|
||||
|
||||
[node name="HSlider" type="HSlider" parent="." index="2"]
|
||||
layout_mode = 0
|
||||
offset_left = 56.0
|
||||
offset_top = 361.0
|
||||
offset_right = 432.0
|
||||
|
|
|
@ -1,19 +1,9 @@
|
|||
extends "res://scripts/ads/ads_default.gd"
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
pass
|
||||
|
||||
func exit_condition():
|
||||
return condition
|
||||
|
||||
func _on_h_slider_value_changed(value):
|
||||
print(value)
|
||||
if (value > 98):
|
||||
if (value >= 98):
|
||||
condition = true
|
||||
|
||||
|
|
Reference in a new issue