Remove outline
This commit is contained in:
@@ -32,7 +32,6 @@ var blink_random: int = 3
|
||||
@onready var right_stars: RightStarsFX = %Right_Stars
|
||||
@onready var wrong_fx: WrongFX = %WrongFX
|
||||
@onready var audio_stream_player: AudioStreamPlayer = $AudioStreamPlayer
|
||||
@onready var text_outline: Sprite2D = %TextBox_Outline_Sprite2D
|
||||
@onready var text_box_sprite_2d: Sprite2D = %TextBox_Sprite2D
|
||||
|
||||
|
||||
@@ -72,8 +71,6 @@ func right() -> void:
|
||||
label.label_settings = label.label_settings.duplicate()
|
||||
label.label_settings.font_color = Color("#e6f3e0")
|
||||
text_box_sprite_2d.self_modulate = Color("#009344")
|
||||
text_outline.self_modulate = Color("#009344")
|
||||
text_outline.show()
|
||||
animated_sprite.play("right")
|
||||
right_fx.play()
|
||||
right_stars.play()
|
||||
@@ -84,8 +81,6 @@ func wrong() -> void:
|
||||
label.label_settings = label.label_settings.duplicate()
|
||||
label.label_settings.font_color = Color("#fce6e6")
|
||||
text_box_sprite_2d.self_modulate = Color("#be1e2d")
|
||||
text_outline.self_modulate = Color("#be1e2d")
|
||||
text_outline.show()
|
||||
animated_sprite.play("wrong")
|
||||
wrong_fx.play()
|
||||
await wrong_fx.finished
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=18 format=3 uid="uid://bwe3fp0vkpufb"]
|
||||
[gd_scene load_steps=17 format=3 uid="uid://bwe3fp0vkpufb"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dsv0728uv1y5l" path="res://sources/minigames/crabs/crab/crab.gd" id="1_5hgg8"]
|
||||
[ext_resource type="AudioStream" uid="uid://1ibmtydnewa8" path="res://assets/minigames/crabs/audio/sfx/crab_random_6.mp3" id="2_gc7a0"]
|
||||
@@ -10,7 +10,6 @@
|
||||
[ext_resource type="LabelSettings" uid="uid://bguqnhiblwick" path="res://resources/themes/minigames_label_settings.tres" id="8_c4r2k"]
|
||||
[ext_resource type="PackedScene" uid="uid://bgio7muqck2bu" path="res://sources/utils/auto_size_label.tscn" id="9_3nie6"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://n1ydrtdfm4p3" path="res://sources/minigames/crabs/crab/crab_animations.tres" id="10_c4r2k"]
|
||||
[ext_resource type="Texture2D" uid="uid://bbtr0cyiapi3g" path="res://assets/minigames/minigame_ui/graphic/primary_text_box_outline.png" id="11_mgkmu"]
|
||||
[ext_resource type="PackedScene" uid="uid://cs6g7fhc0bjvh" path="res://sources/utils/fx/right_stars.tscn" id="12_2ax6s"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_tnp5x"]
|
||||
@@ -131,18 +130,14 @@ theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
text = ""
|
||||
label_settings = ExtResource("8_c4r2k")
|
||||
|
||||
[node name="TextBox_Outline_Sprite2D" type="Sprite2D" parent="Body/TextBox_Sprite2D"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
texture = ExtResource("11_mgkmu")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Body"]
|
||||
unique_name_in_owner = true
|
||||
scale = Vector2(1.8, 1.8)
|
||||
sprite_frames = ExtResource("10_c4r2k")
|
||||
animation = &"idle"
|
||||
autoplay = "idle"
|
||||
frame_progress = 0.16246976
|
||||
frame = 7
|
||||
frame_progress = 1.0
|
||||
centered = false
|
||||
|
||||
[node name="FrontFX" type="Control" parent="."]
|
||||
|
||||
@@ -57,7 +57,6 @@ var stimulus: Dictionary = {}:
|
||||
@onready var right_stars: RightStarsFX = %Right_Stars
|
||||
@onready var wrong_fx: WrongFX = %WrongFX
|
||||
@onready var text_box_sprite_2d: Sprite2D = %TextBox_Sprite2D
|
||||
@onready var text_box_outline_sprite_2d: Sprite2D = %TextBox_Outline_Sprite2D
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
@@ -104,8 +103,6 @@ func right() -> void:
|
||||
label.label_settings = label.label_settings.duplicate()
|
||||
label.label_settings.font_color = Color("#e6f3e0")
|
||||
text_box_sprite_2d.self_modulate = Color("#009344")
|
||||
text_box_outline_sprite_2d.self_modulate = Color("#009344")
|
||||
text_box_outline_sprite_2d.show()
|
||||
right_fx.play()
|
||||
right_stars.play()
|
||||
await right_fx.finished
|
||||
@@ -115,8 +112,6 @@ func wrong() -> void:
|
||||
label.label_settings = label.label_settings.duplicate()
|
||||
label.label_settings.font_color = Color("#fce6e6")
|
||||
text_box_sprite_2d.self_modulate = Color("#be1e2d")
|
||||
text_box_outline_sprite_2d.self_modulate = Color("#be1e2d")
|
||||
text_box_outline_sprite_2d.show()
|
||||
wrong_fx.play()
|
||||
await wrong_fx.finished
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=14 format=3 uid="uid://cpkwyypyikpfc"]
|
||||
[gd_scene load_steps=13 format=3 uid="uid://cpkwyypyikpfc"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bk5oyj8r6aw2h" path="res://sources/utils/sprite_control.gd" id="1_1b85n"]
|
||||
[ext_resource type="Script" uid="uid://b1lfi4hen3e7" path="res://sources/minigames/jellyfish/jellyfish.gd" id="1_06uwq"]
|
||||
@@ -11,8 +11,7 @@
|
||||
[ext_resource type="SpriteFrames" uid="uid://cyllu3lpjcxej" path="res://sources/minigames/jellyfish/blue_jellyfish_animations_body.tres" id="6_p6hdi"]
|
||||
[ext_resource type="PackedScene" uid="uid://dlmbxcgiv8tpr" path="res://sources/utils/fx/wrong.tscn" id="6_w1tlu"]
|
||||
[ext_resource type="LabelSettings" uid="uid://bguqnhiblwick" path="res://resources/themes/minigames_label_settings.tres" id="9_ah5ir"]
|
||||
[ext_resource type="Texture2D" uid="uid://bbtr0cyiapi3g" path="res://assets/minigames/minigame_ui/graphic/primary_text_box_outline.png" id="10_jfr88"]
|
||||
[ext_resource type="PackedScene" uid="uid://br6yhq4w7b420" path="res://sources/utils/fx/right_stars.tscn" id="13_jfr88"]
|
||||
[ext_resource type="PackedScene" uid="uid://cs6g7fhc0bjvh" path="res://sources/utils/fx/right_stars.tscn" id="13_jfr88"]
|
||||
|
||||
[node name="Jellyfish" type="Control"]
|
||||
custom_minimum_size = Vector2(400, 400)
|
||||
@@ -20,7 +19,7 @@ layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 400.0
|
||||
offset_bottom = 400.0
|
||||
scale = Vector2(1.0191087, 1.0191087)
|
||||
scale = Vector2(1.0699297, 1.0699297)
|
||||
script = ExtResource("1_06uwq")
|
||||
|
||||
[node name="BackFX" type="Control" parent="."]
|
||||
@@ -85,7 +84,7 @@ unique_name_in_owner = true
|
||||
scale = Vector2(0.5, 0.5)
|
||||
sprite_frames = ExtResource("6_p6hdi")
|
||||
animation = &"idle"
|
||||
frame_progress = 0.058146853
|
||||
frame_progress = 0.594087
|
||||
centered = false
|
||||
offset = Vector2(-0.000205994, 0.00019455)
|
||||
|
||||
@@ -123,17 +122,12 @@ theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
text = ""
|
||||
label_settings = ExtResource("9_ah5ir")
|
||||
|
||||
[node name="TextBox_Outline_Sprite2D" type="Sprite2D" parent="SpriteControl/TextBox_Sprite2D"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
texture = ExtResource("10_jfr88")
|
||||
|
||||
[node name="AnimatedSprite2D_Arms" type="AnimatedSprite2D" parent="SpriteControl"]
|
||||
unique_name_in_owner = true
|
||||
scale = Vector2(0.5, 0.5)
|
||||
sprite_frames = ExtResource("6_i86t4")
|
||||
animation = &"idle"
|
||||
frame_progress = 0.058146853
|
||||
frame_progress = 0.594087
|
||||
centered = false
|
||||
offset = Vector2(-0.000205994, 0.00019455)
|
||||
|
||||
|
||||
@@ -48,7 +48,6 @@ var original_text_box_color: Color
|
||||
@onready var right_stars: RightStarsFX = $Right_Stars
|
||||
@onready var wrong_fx: WrongFX = $WrongFX
|
||||
@onready var text_box_sprite_2d: Sprite2D = %TextBox_Sprite2D
|
||||
@onready var text_box_outline_sprite_2d: Sprite2D = %TextBox_Outline_Sprite2D
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
@@ -109,7 +108,6 @@ func sad() -> void:
|
||||
await get_tree().create_timer(sad_duration).timeout
|
||||
label.label_settings = original_label_settings
|
||||
text_box_sprite_2d.self_modulate = original_text_box_color
|
||||
text_box_outline_sprite_2d.visible = false
|
||||
call_deferred("_hide_feathers")
|
||||
|
||||
|
||||
@@ -126,8 +124,6 @@ func right() -> void:
|
||||
label.label_settings = label.label_settings.duplicate()
|
||||
label.label_settings.font_color = Color("#009444")
|
||||
text_box_sprite_2d.self_modulate = Color("#e6f3e0")
|
||||
text_box_outline_sprite_2d.self_modulate = Color("#009344")
|
||||
text_box_outline_sprite_2d.visible = true
|
||||
right_stars.play()
|
||||
right_fx.play()
|
||||
await right_fx.finished
|
||||
@@ -137,7 +133,5 @@ func wrong() -> void:
|
||||
label.label_settings = label.label_settings.duplicate()
|
||||
label.label_settings.font_color = Color("#be1e2d")
|
||||
text_box_sprite_2d.self_modulate = Color("#fce6e6")
|
||||
text_box_outline_sprite_2d.self_modulate = Color("#be1e2d")
|
||||
text_box_outline_sprite_2d.visible = true
|
||||
wrong_fx.play()
|
||||
await wrong_fx.finished
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=19 format=3 uid="uid://cmoeum0oc0p2"]
|
||||
[gd_scene load_steps=18 format=3 uid="uid://cmoeum0oc0p2"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cir1ejxole7pu" path="res://sources/minigames/parakeets/parakeet.gd" id="1_p0nqk"]
|
||||
[ext_resource type="PackedScene" uid="uid://cn2rw06pltyiu" path="res://sources/utils/fx/right.tscn" id="2_afmcm"]
|
||||
@@ -9,7 +9,6 @@
|
||||
[ext_resource type="PackedScene" uid="uid://bgio7muqck2bu" path="res://sources/utils/auto_size_label.tscn" id="5_q71gb"]
|
||||
[ext_resource type="LabelSettings" uid="uid://c7aoyw5gjrrnp" path="res://resources/themes/minigames_label_settings_parakeet.tres" id="5_xdkkw"]
|
||||
[ext_resource type="PackedScene" uid="uid://dlmbxcgiv8tpr" path="res://sources/utils/fx/wrong.tscn" id="6_7mdw2"]
|
||||
[ext_resource type="Texture2D" uid="uid://bbtr0cyiapi3g" path="res://assets/minigames/minigame_ui/graphic/primary_text_box_outline.png" id="7_erv6y"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://bortxskacy6vx" path="res://sources/minigames/parakeets/red_parakeet_feathers_animations.tres" id="9_oc4sp"]
|
||||
[ext_resource type="PackedScene" uid="uid://cs6g7fhc0bjvh" path="res://sources/utils/fx/right_stars.tscn" id="12_q71gb"]
|
||||
|
||||
@@ -77,11 +76,6 @@ theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
text = ""
|
||||
label_settings = SubResource("LabelSettings_thibt")
|
||||
|
||||
[node name="TextBox_Outline_Sprite2D" type="Sprite2D" parent="TextBox_Sprite2D"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
texture = ExtResource("7_erv6y")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
scale = Vector2(2, 2)
|
||||
sprite_frames = ExtResource("2_k0dcm")
|
||||
|
||||
Reference in New Issue
Block a user