implemented lizard boil graphics

This commit is contained in:
frank 2022-03-10 00:27:25 -05:00
parent 465da72ac9
commit 7d1e049614
1 changed files with 4 additions and 5 deletions

9
NS.py
View File

@ -1723,11 +1723,10 @@ class Chemtrails(Sprite):
@param parent PGFW game object that initialized this object @param parent PGFW game object that initialized this object
""" """
Sprite.__init__(self, parent) Sprite.__init__(self, parent, 42)
self.load_from_path(self.get_resource("littleSlimeGoop"), True, query="*.png") for directory in sorted(iglob(join(self.get_resource("littleSlimeGoop"), "[0-9]_*/"))):
# one frame for each pad orientation self.add_frameset(switch=True)
for direction in (NS.N, NS.NE, NS.E, NS.NW, NS.S, NS.W): self.load_from_path(directory, True)
self.add_frameset([direction], switch=(direction == NS.N))
self.life = Life(self) self.life = Life(self)
self.boys = Boys(self) self.boys = Boys(self)
self.timer = Timer(self) self.timer = Timer(self)