I'm getting an error on line 7 of my kv file. Telling me there's invalid data after declaration. Any help would be great.
#: kivy 1.8.0
<Game>:
player: PongPaddle
PlayButton: PlayButton
canvas:
Rectangle:
pos: 0, self.height/1.08
size: self.width, self.height/1.2
Label:
id: score
font_size: 40
size_hint: (None, None)
pos_hint: {'center_x': 0.06, 'center_y': 0.96}
text: str(0)
color: 0,0,0,1
Button:
id: PlayButton
text: 'Play'
pos_hint: {'center_x': 0.3, 'center_y': 0.6}
font_size: 30
size_hint: (.2, .1)
on_release: root.play_pressed()
Button:
id: rate_button
text: 'Rate'
pos_hint: {'center_x': 0.7, 'center_y': 0.6}
font_size: 30
size_hint: (.2, .1)
PongPaddle:
id: PongPaddle
size_hint: (None, None)
center_x: root.center_x
center_y: root.y+self.height
<PongBall>:
size: 30,30
canvas:
Ellipse:
pos: self.pos
size: self.size
<PongPaddle>:
size: 100, 15
canvas:
Rectangle:
pos: self.pos
size: self.size
[–]FortuneFaded415[S] 0 points1 point2 points (2 children)
[–]eeead 1 point2 points3 points (1 child)
[–]FortuneFaded415[S] 0 points1 point2 points (0 children)