Browse Source

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

magfest_edits
admin 11 months ago
parent
commit
6c375afe34
  1. 2
      .gitmodules
  2. 4
      NS.py
  3. 22
      resource/scores

2
.gitmodules vendored

@ -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

@ -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)

22
resource/scores

@ -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

Loading…
Cancel
Save