Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
scos
scos.projects
2PSnake
Commits
0ab94a3b
Commit
0ab94a3b
authored
Aug 31, 2020
by
Julian Rudolf
Browse files
button changes
parent
7c84a163
Changes
1
Hide whitespace changes
Inline
Side-by-side
Game/main.py
View file @
0ab94a3b
...
...
@@ -747,7 +747,7 @@ def game_intro():
message_screen
(
"without crashing!"
,
black
,
10
,
"small"
)
button
(
"Controls"
,
(
int
(
res_x
/
2
-
60
),
res_y
-
150
,
120
,
50
),
yellow
,
light_yellow
,
action
=
"controls"
)
button
(
"Quit"
,
(
int
(
res_x
/
2
+
120
),
res_y
-
150
,
100
,
50
),
red
,
light_red
,
action
=
"quit"
)
intro
=
button
(
"Play"
,
(
int
(
res_x
/
2
-
220
),
res_y
-
3
50
,
100
,
50
),
green
,
light_green
,
action
=
"select"
)
intro
=
button
(
"Play"
,
(
int
(
res_x
/
2
-
220
),
res_y
-
1
50
,
100
,
50
),
green
,
light_green
,
action
=
"select"
)
clock
.
tick
(
60
)
pygame
.
display
.
update
()
...
...
Write
Preview
Supports
Markdown
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