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
|
@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)
|
||||||
|
|
Loading…
Reference in New Issue