fix effect toggle for swords
This commit is contained in:
parent
591ff28ebb
commit
e85d8ee74f
2
NS.py
2
NS.py
|
@ -2804,7 +2804,7 @@ class Sword(Animation):
|
||||||
self.spinning_swords.append([[], [], [], [], [], []])
|
self.spinning_swords.append([[], [], [], [], [], []])
|
||||||
base_image_paths = sorted(iglob(join(self.get_resource(root), "*.png")))
|
base_image_paths = sorted(iglob(join(self.get_resource(root), "*.png")))
|
||||||
# If fast load is requested, use a single frame
|
# If fast load is requested, use a single frame
|
||||||
if not self.get_configuration("system", "minimize-load-time"):
|
if self.get_configuration("system", "minimize-load-time"):
|
||||||
base_image_paths = [base_image_paths[0]]
|
base_image_paths = [base_image_paths[0]]
|
||||||
# Create a square surface that can be used to blit the rotated sword centered so each frame is the same size
|
# Create a square surface that can be used to blit the rotated sword centered so each frame is the same size
|
||||||
size = max(*load(self.get_resource(base_image_paths[0])).get_size())
|
size = max(*load(self.get_resource(base_image_paths[0])).get_size())
|
||||||
|
|
2
config
2
config
|
@ -26,7 +26,7 @@ show-framerate = no
|
||||||
dimensions = 800, 450
|
dimensions = 800, 450
|
||||||
fullscreen = no
|
fullscreen = no
|
||||||
attract-gif-alpha = 0.95
|
attract-gif-alpha = 0.95
|
||||||
effects = True
|
effects = False
|
||||||
|
|
||||||
[system]
|
[system]
|
||||||
# will force set display->effects to off
|
# will force set display->effects to off
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
42263 0
|
42263 0
|
||||||
53560 0
|
53560 0
|
||||||
|
54265 0
|
||||||
|
64714 2
|
||||||
72005 2
|
72005 2
|
||||||
|
|
Loading…
Reference in New Issue