Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def hp_bar(self) -> None:
- up = self.bottom+(self.height*(self.cur_health / self.max_health))
- arcade.draw_line(self.left-3, self.bottom, self.left-3, self.bottom+self.height, arcade.color.RED, 4)
- arcade.draw_line(self.left-3, self.bottom, self.left-3, up, arcade.color.GREEN, 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement