added animation
This commit is contained in:
@@ -363,6 +363,7 @@ colors2 = [
|
||||
color("#fe4b0f"),
|
||||
]
|
||||
|
||||
|
||||
text_bg = black
|
||||
|
||||
next_board = make_next_board()
|
||||
@@ -511,7 +512,11 @@ for y in range(height):
|
||||
# pixels[x, y] = colors2[next_board[yd>>5][xd>>5]].multiply(sprite_pixels[yd&0b0000000000011111, xd&0b0000000000011111])
|
||||
####################### BG
|
||||
else:
|
||||
pixels[x, y] = ((x+y)>>3,0,0)
|
||||
if (x+y)&1:
|
||||
pixels[x, y] = (0, 0, 255)
|
||||
else:
|
||||
pixels[x, y] = ((x+y)>>3, (((1280+720)>>3)-((x+y)>>3)), 0)
|
||||
|
||||
# offset = 0
|
||||
|
||||
# numbers = [a_s, n0, n1, n2, n3, n4, n5, n6, n7, n8, n9]
|
||||
|
||||
Reference in New Issue
Block a user