implemented lizard boil graphics
This commit is contained in:
parent
465da72ac9
commit
7d1e049614
9
NS.py
9
NS.py
|
@ -1723,11 +1723,10 @@ class Chemtrails(Sprite):
|
|||
|
||||
@param parent PGFW game object that initialized this object
|
||||
"""
|
||||
Sprite.__init__(self, parent)
|
||||
self.load_from_path(self.get_resource("littleSlimeGoop"), True, query="*.png")
|
||||
# one frame for each pad orientation
|
||||
for direction in (NS.N, NS.NE, NS.E, NS.NW, NS.S, NS.W):
|
||||
self.add_frameset([direction], switch=(direction == NS.N))
|
||||
Sprite.__init__(self, parent, 42)
|
||||
for directory in sorted(iglob(join(self.get_resource("littleSlimeGoop"), "[0-9]_*/"))):
|
||||
self.add_frameset(switch=True)
|
||||
self.load_from_path(directory, True)
|
||||
self.life = Life(self)
|
||||
self.boys = Boys(self)
|
||||
self.timer = Timer(self)
|
||||
|
|
Loading…
Reference in New Issue