-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.kv
49 lines (39 loc) · 1.1 KB
/
game.kv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#:import menu menu
GameWidget:
<GameWidget>:
menu_widget : menu_widget
converging_point_x : self.width / 2
converging_point_y : self.height * .75
canvas.before:
Rectangle:
source: "images/bg1.jpeg"
size: self.size
MenuWidget:
id: menu_widget
Label:
text: root.scores
font_name : 'fonts/Eurostile.ttf'
font_size: dp(30)
size_hint: .2, .2
pos_hint : {'x':0, 'top':1}
Label:
text: root.level
font_name : 'fonts/Eurostile.ttf'
font_size: dp(30)
size_hint: .2, .2
pos_hint : {'x':0.8, 'top':1}
Button:
text: root.pause_button
font_name : 'fonts/Eurostile.ttf'
font_size: root.f_size
background_normal: ''
background_color : 0, .4, .1, .85
pos_hint: {'x':0.05, 'top':.8}
size_hint: .2,.1
on_press : root.pause_resume_control()
Label:
text: "@erastus_nzula"
font_name : 'fonts/Eurostile.ttf'
font_size: dp(20)
size_hint: .25, .1
pos_hint : {'x':0, 'bottom':1}