Plymouth-Anpassung

This commit is contained in:
humocs-man committed 2026-10-03 13:44:38 +02:00
1 parent ca41dbbb35
commit 9d34c0f0e4
2 files changed
+23 -2

No files matched your search

+6 -1
View File
@@ -8,6 +8,7 @@
Window.SetBackgroundTopColor (0.101, 0.105, 0.149);
Window.SetBackgroundBottomColor (0.101, 0.105, 0.149);
logo.sprite = Sprite ();
title.sprite = Sprite ();
status.sprite = Sprite ();
@@ -18,10 +19,14 @@ fun layout () {
global.layout_width = Window.GetWidth ();
global.layout_height = Window.GetHeight ();
logo.image = Image ("logo.png");
logo.sprite.SetImage (logo.image);
logo.sprite.SetPosition (global.layout_width / 2 - logo.image.GetWidth () / 2,
global.layout_height / 2 - logo.image.GetHeight () / 2 - 60, 10);
title.image = Image.Text ("fluffy-pancake", 1, 1, 1);
title.sprite.SetImage (title.image);
title.sprite.SetPosition (global.layout_width / 2 - title.image.GetWidth () / 2,
global.layout_height / 2 - title.image.GetHeight () / 2, 10);
global.layout_height / 2 - title.image.GetHeight () / 2 + 60, 10);
status.sprite.SetPosition (10, global.layout_height - 40, 10000);
}