reset scores; fast blit temporary code; pgfw temp local location

This commit is contained in:
admin 2022-01-05 10:17:34 -05:00
parent f8064c4d0b
commit 6c375afe34
3 changed files with 15 additions and 13 deletions

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "lib/pgfw"]
path = lib/pgfw
url = http://git.shampoo.ooo/pgfw
url = /home/pi/projects/scrapeboard_copy/lib/pgfw

4
NS.py
View File

@ -427,10 +427,14 @@ class Video(Sprite):
frame = smoothscale(
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())))
# 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()
rect = frame.get_rect()
rect.bottom = copy.get_rect().bottom
copy.blit(frame, rect, None, BLEND_RGBA_MIN)
# copy.blit(frame, rect)
self.clear_frames()
self.add_frame(copy)

View File

@ -8,15 +8,13 @@
5999999
5999999
5999999
178557
242121
236951
234102
171204
256769
312561
173960
237842
171298
198296
152352
242000
242000
242000
242000
242000
242000
242000
242000
242000
242000