mirror of
https://github.com/csd4ni3l/notifplayground.git
synced 2026-01-01 04:23:47 +01:00
First version on Github
This commit is contained in:
7
utils/preload.py
Normal file
7
utils/preload.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import arcade.gui, arcade
|
||||
|
||||
button_texture = arcade.gui.NinePatchTexture(64 // 4, 64 // 4, 64 // 4, 64 // 4, arcade.load_texture("assets/graphics/button.png"))
|
||||
button_hovered_texture = arcade.gui.NinePatchTexture(64 // 4, 64 // 4, 64 // 4, 64 // 4, arcade.load_texture("assets/graphics/button_hovered.png"))
|
||||
|
||||
with open("assets/mit_wordlist.txt", "r") as file:
|
||||
words = [word.strip() for word in file.readlines()]
|
||||
Reference in New Issue
Block a user