@@ -81,15 +81,15 @@ def update_song_info():
81
81
mouse_particle_list .append ((pygame .time .get_ticks (),(xp , yp )))
82
82
83
83
if abs (xp - option_key_x_level ) < big_text * 6 :
84
- if abs (yp - (option_key_y_level )) < big_text * 2 :
84
+ if abs (yp - (option_key_y_level )) < big_text :
85
85
print ('option clicked!' )
86
86
run = False
87
87
stage_speed , offset , judgement_shown , guide_line_shown , high_quality_verifying_graphics = option_screen (screen ,clock ,stage_speed , offset , judgement_shown , guide_line_shown , high_quality_verifying_graphics )
88
88
#print(stage_speed, offset, judgement_shown, guide_line_shown, high_quality_verifying_graphics)
89
89
break
90
90
91
91
if abs (xp - song_selection_key_x_level ) < big_text * 6 :
92
- if abs (yp - (song_selection_key_y_level )) < big_text * 2 :
92
+ if abs (yp - (song_selection_key_y_level )) < big_text :
93
93
print ('song selection clicked!' )
94
94
run = False
95
95
music_list , music_pointer , song_name = song_selection_screen (screen ,clock ,stage_speed , offset , judgement_shown , guide_line_shown , high_quality_verifying_graphics )
@@ -116,11 +116,11 @@ def update_song_info():
116
116
117
117
write_text (screen , width // 2 , height // 8 , 'A rhythm game in pygame' , big_text , background_color [0 ], highlight_text_color )
118
118
119
- write_text (screen , option_key_x_level , option_key_y_level + big_text ,
119
+ write_text (screen , option_key_x_level , option_key_y_level ,
120
120
'[ Options ]' , big_text , background_color [0 ],
121
121
highlight_text_color )
122
122
123
- write_text (screen , song_selection_key_x_level , song_selection_key_y_level + big_text ,
123
+ write_text (screen , song_selection_key_x_level , song_selection_key_y_level ,
124
124
'[ Song selection ]' , big_text , background_color [0 ],
125
125
highlight_text_color )
126
126
0 commit comments