Advertisement
Guest User

Untitled

a guest
Mar 8th, 2021
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. def hp_bar(self) -> None:
  2.         up = self.bottom+(self.height*(self.cur_health / self.max_health))
  3.         arcade.draw_line(self.left-3, self.bottom, self.left-3, self.bottom+self.height, arcade.color.RED, 4)
  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