Commit 13d1890d by BellCodeEditor

auto save

parent d88eb16b
Showing with 16 additions and 0 deletions
#include<iostream>
using namespace std;
int main()
{
int a;
cin>>a;
int b;
cin>>b;
int c;
cin>>c;
cout<<a+b+c<<endl;
}
File added
...@@ -13,10 +13,14 @@ next_img = pygame.image.load('next.png') # 下一曲按钮 ...@@ -13,10 +13,14 @@ next_img = pygame.image.load('next.png') # 下一曲按钮
logo_img = pygame.image.load('logo.png') # 中间logo logo_img = pygame.image.load('logo.png') # 中间logo
pygame.mixer.music.load('鱿鱼游戏123木头人.mp3') pygame.mixer.music.load('鱿鱼游戏123木头人.mp3')
volume = 0.5
pygame.mixer.music.set_volune(volume)
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
exit() exit()
if event.type == locals.KEDOWM:
if event.key == K_UP
if pygame.mixer.music.get_busy() == False: if pygame.mixer.music.get_busy() == False:
pygame.mixer.music.play() pygame.mixer.music.play()
# 绘制画面 # 绘制画面
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment