équilibrage des quota et du jeu, changement du GUI pour rendre les objectifs de quotas plus visibles #72
This commit is contained in:
11
gui/game/announce/scripts/announce.gd
Normal file
11
gui/game/announce/scripts/announce.gd
Normal file
@@ -0,0 +1,11 @@
|
||||
extends Control
|
||||
class_name Announce
|
||||
|
||||
const YELLOW_COLOR = Color("e29f32")
|
||||
const RED_COLOR = Color("f20058")
|
||||
|
||||
func announce(title : String, text : String, band_color : Color = YELLOW_COLOR):
|
||||
%AnnounceTitle.text = title
|
||||
%AnnounceText.text = text
|
||||
%AnnounceTexture.modulate = band_color
|
||||
%AnimationPlayer.play("pass")
|
||||
1
gui/game/announce/scripts/announce.gd.uid
Normal file
1
gui/game/announce/scripts/announce.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bvb4v66bqteuc
|
||||
Reference in New Issue
Block a user