mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
add song select, results, config, and asio support
This commit is contained in:
18
scenes/entry.py
Normal file
18
scenes/entry.py
Normal file
@@ -0,0 +1,18 @@
|
||||
import pyray as ray
|
||||
|
||||
from libs.utils import load_texture_from_zip
|
||||
|
||||
|
||||
class EntryScreen:
|
||||
def __init__(self, width, height):
|
||||
self.width = width
|
||||
self.height = height
|
||||
|
||||
self.texture_footer = load_texture_from_zip('Graphics\\lumendata\\entry.zip', 'entry_img00375.png')
|
||||
|
||||
def update(self):
|
||||
if ray.is_key_pressed(ray.KeyboardKey.KEY_ENTER):
|
||||
return "SONG_SELECT"
|
||||
|
||||
def draw(self):
|
||||
ray.draw_texture(self.texture_footer, 0, self.height - 151, ray.WHITE)
|
||||
Reference in New Issue
Block a user