Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
pygame_lesson4_diy4
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
94ecc1f8
authored
2 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
b44791ab
c115040l1367p256a14056/wx753870
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
my_music.py
my_music.py
View file @
94ecc1f8
...
@@ -79,6 +79,14 @@ while True:
...
@@ -79,6 +79,14 @@ while True:
pygame
.
mixer
.
music
.
load
(
d
+
"//"
+
c
[
num
])
pygame
.
mixer
.
music
.
load
(
d
+
"//"
+
c
[
num
])
pygame
.
mixer
.
music
.
play
()
pygame
.
mixer
.
music
.
play
()
s
=
pygame
.
mixer
.
music
.
get_pos
()
s
=
int
(
s
//
1000
)
i
=
s
//
60
j
=
s
%
60
k
=
str
(
i
)
+
":"
+
str
(
j
)
print
(
k
)
if
b
==
stop_img
:
if
b
==
stop_img
:
angle
+=
1
angle
+=
1
w
=
pygame
.
transform
.
rotate
(
logo_img
,
angle
)
w
=
pygame
.
transform
.
rotate
(
logo_img
,
angle
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment