reset scores; fast blit temporary code; pgfw temp local location
This commit is contained in:
parent
f8064c4d0b
commit
6c375afe34
|
@ -1,3 +1,3 @@
|
||||||
[submodule "lib/pgfw"]
|
[submodule "lib/pgfw"]
|
||||||
path = lib/pgfw
|
path = lib/pgfw
|
||||||
url = http://git.shampoo.ooo/pgfw
|
url = /home/pi/projects/scrapeboard_copy/lib/pgfw
|
||||||
|
|
4
NS.py
4
NS.py
|
@ -427,10 +427,14 @@ class Video(Sprite):
|
||||||
frame = smoothscale(
|
frame = smoothscale(
|
||||||
fromstring(self.gif.convert("RGBA").tobytes(), self.gif.size, "RGBA"),
|
fromstring(self.gif.convert("RGBA").tobytes(), self.gif.size, "RGBA"),
|
||||||
(self.mask.get_width(), int(self.gif.width * self.gif.height / self.mask.get_width())))
|
(self.mask.get_width(), int(self.gif.width * self.gif.height / self.mask.get_width())))
|
||||||
|
# frame = scale(
|
||||||
|
# fromstring(self.gif.convert("RGBA").tobytes(), self.gif.size, "RGBA"),
|
||||||
|
# (self.mask.get_width(), int(self.gif.width * self.gif.height / self.mask.get_width())))
|
||||||
copy = self.mask.copy()
|
copy = self.mask.copy()
|
||||||
rect = frame.get_rect()
|
rect = frame.get_rect()
|
||||||
rect.bottom = copy.get_rect().bottom
|
rect.bottom = copy.get_rect().bottom
|
||||||
copy.blit(frame, rect, None, BLEND_RGBA_MIN)
|
copy.blit(frame, rect, None, BLEND_RGBA_MIN)
|
||||||
|
# copy.blit(frame, rect)
|
||||||
self.clear_frames()
|
self.clear_frames()
|
||||||
self.add_frame(copy)
|
self.add_frame(copy)
|
||||||
|
|
||||||
|
|
|
@ -8,15 +8,13 @@
|
||||||
5999999
|
5999999
|
||||||
5999999
|
5999999
|
||||||
5999999
|
5999999
|
||||||
178557
|
242000
|
||||||
242121
|
242000
|
||||||
236951
|
242000
|
||||||
234102
|
242000
|
||||||
171204
|
242000
|
||||||
256769
|
242000
|
||||||
312561
|
242000
|
||||||
173960
|
242000
|
||||||
237842
|
242000
|
||||||
171298
|
242000
|
||||||
198296
|
|
||||||
152352
|
|
||||||
|
|
Loading…
Reference in New Issue