This commit is contained in:
Frank DeMarco 2014-04-26 03:13:04 +09:00
parent e62c3d9117
commit 5c535c8ea2
2 changed files with 9 additions and 1 deletions

2
config
View File

@ -5,4 +5,4 @@ dimensions = 420, 700
quit = K_ESCAPE
[interpolate]
scale = C 0 10, 680 20, 1000 40
scale = C 0 10, 1000 80

View File

@ -53,5 +53,13 @@ class Sieve(Strip):
pixel_arrays[1][x][y] = background_colors[(y + x + 1) % 2]
for pixels in pixel_arrays:
del pixels
x = 0
nodeset = self.get_game().interpolator.get_nodeset("scale")
while x < surface.get_width():
for ii, frame in enumerate(frames):
frame.fill(divider_colors[ii], (x, 0, 3, surface.get_height()))
frame.fill(divider_colors[ii - 1], (x + 1, 1, 1,
surface.get_height() - 2))
x += nodeset.get_y(x)
for frame in frames:
self.add_frame(frame)