Lines Matching refs:pos_y
108 self.pos_y = self.fbY // 2
132 self.old_pos_y = self.pos_y
135 self.pos_y = int(self.pos_y + (self.dir_y * self.speed_y))
137 if self.pos_y < 0:
138 self.pos_y = 0
141 elif self.pos_y > (self.fbY - self.bar_size):
142 self.pos_y = self.fbY - self.bar_size
154 pos_y = self.pos_y
155 pykms.draw_rect(fb, 0, pos_y, self.fbX, 5, self.color3)
156 pos_y += 5
157 pykms.draw_rect(fb, 0, pos_y, self.fbX, 10, self.color2)
158 pos_y += 10
159 pykms.draw_rect(fb, 0, pos_y, self.fbX, 15, self.color)
160 pos_y += 15
161 pykms.draw_rect(fb, 0, pos_y, self.fbX, 10, self.color2)
162 pos_y += 10
163 pykms.draw_rect(fb, 0, pos_y, self.fbX, 5, self.color3)