このコミットが含まれているのは:
2023-12-03 07:16:44 +09:00
コミット 4d38bc1926
+7
ファイルの表示
@@ -26,6 +26,8 @@ class Main:
live_chat = pytchat.create (video_id = YOUTUBE_ID) live_chat = pytchat.create (video_id = YOUTUBE_ID)
system_font = pygame.font.SysFont ('notosanscjkjp', 24) system_font = pygame.font.SysFont ('notosanscjkjp', 24)
system_font_outline = pygame.font.SysFont ('notosanscjkjp', 24,
bold = True)
user_font = pygame.font.SysFont ('notosanscjkjp', 32, user_font = pygame.font.SysFont ('notosanscjkjp', 32,
italic = True) italic = True)
nizika_font = pygame.font.SysFont ('07nikumarufont', 50) nizika_font = pygame.font.SysFont ('07nikumarufont', 50)
@@ -64,6 +66,11 @@ class Main:
time.sleep (10) time.sleep (10)
screen.blit (
system_font_outline.render (
f'live_chat.is_alive () == {live_chat.is_alive ()}',
True, (255, 255, 255)),
(0, 0))
screen.blit ( screen.blit (
system_font.render ( system_font.render (
f'live_chat.is_alive () == {live_chat.is_alive ()}', f'live_chat.is_alive () == {live_chat.is_alive ()}',