tix
This commit is contained in:
parent
e62c3d9117
commit
5c535c8ea2
2
config
2
config
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue