mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:27:45 +00:00
MasterWord: Display messages in a statusbar
In the "inspiration" for this game, messages are displayed on top of the game area in case an invalid guess is inputted. After a few seconds, they disappear. In a similar fashion, a statusbar is created on the game window and similar messages are outputted there.
This commit is contained in:
parent
d3588a9a2b
commit
cc5ea3aa4c
5 changed files with 94 additions and 19 deletions
13
Userland/Games/MasterWord/MasterWord.gml
Normal file
13
Userland/Games/MasterWord/MasterWord.gml
Normal file
|
@ -0,0 +1,13 @@
|
|||
@GUI::Widget {
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
spacing: 0
|
||||
}
|
||||
|
||||
@MasterWord::WordGame {
|
||||
name: "word_game"
|
||||
}
|
||||
|
||||
@GUI::Statusbar {
|
||||
name: "statusbar"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue