-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRayman.kv
More file actions
100 lines (76 loc) · 1.85 KB
/
Rayman.kv
File metadata and controls
100 lines (76 loc) · 1.85 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#:kivy 1.0.9
<PongBall>:
size: 102, 100
canvas:
Rectangle:
source: 'Rayman.png'
pos: self.pos
size: self.size
<PongBall1>:
size: 50, 50
canvas:
Ellipse:
source: 'lum.png'
pos: self.pos
size: self.size
<PongBallr>:
size: 50, 50
canvas:
Ellipse:
source: 'vrag.png'
pos: self.pos
size: self.size
<PongPaddle>:
size: 180, 100
canvas:
Rectangle:
source: 'globax.png'
pos: self.pos
size: self.size
<PongGame>:
ball: pong_ball
ball1: pong_ball1
ballr: pong_ballr
player1: player_right
canvas:
Rectangle:
pos: self.center_x - 5, 0
size: 10, self.height
Image:
source: 'fon.jpg'
size: 1000, 1000
center_x: 500
center_y: root.height / 2
Label:
font_size: 70
center_x: root.width / 4
top: root.top - 50
text: str(root.player1.score) + '/' + str(root.record)
PongBall:
id: pong_ball
center: self.parent.center
PongBall1:
id: pong_ball1
center: self.parent.center
PongBallr:
id: pong_ballr
center: -10, -6
PongPaddle:
id: player_right
x: root.center_x
center_y: self.height
<PongPob>:
canvas:
Rectangle:
pos: self.center_x - 5, 0
size: 10, self.height
Image:
source: 'r.jpg'
size: 1000, 1000
center_x: 500
center_y: root.height / 2
Label:
font_size: 70
center_x: root.width / 4
top: root.top - 50
text: str(root.player1.score) + '/' + str(root.record)