Use Roboto instead of Protest Strike, fix display mode crash, add file

loading
This commit is contained in:
csd4ni3l
2025-06-22 18:37:17 +02:00
parent 81e65daae8
commit f109d8d268
10 changed files with 284 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
import arcade, arcade.gui, asyncio, pypresence, time, json, copy
from utils.preload import button_texture, button_hovered_texture, theme_sound
from utils.preload import button_texture, button_hovered_texture
from utils.constants import button_style, discord_presence_id
from utils.utils import FakePyPresence
@@ -51,7 +51,7 @@ class Main(arcade.gui.UIView):
def on_show_view(self):
super().on_show_view()
self.title_label = self.box.add(arcade.gui.UILabel(text="Game Of Life", font_name="Protest Strike", font_size=48))
self.title_label = self.box.add(arcade.gui.UILabel(text="Game Of Life", font_name="Roboto", font_size=48))
self.play_button = self.box.add(arcade.gui.UITextureButton(text="Play", texture=button_texture, texture_hovered=button_hovered_texture, width=self.window.width / 2, height=150, style=button_style))
self.play_button.on_click = lambda event: self.play()