splishy splashy
This commit is contained in:
+2
-4
@@ -5,16 +5,14 @@ const SIZE = 5
|
||||
enum Direction {UP, RIGHT, DOWN, LEFT}
|
||||
var sequence = []
|
||||
|
||||
var arrow = preload("res://Images/arrow.png")
|
||||
|
||||
func _ready():
|
||||
randomize()
|
||||
|
||||
var arrow = Image.load_from_file("res://Images/arrow.png")
|
||||
arrow.convert(Image.FORMAT_RG8)
|
||||
|
||||
var painting = Image.create(128*SIZE, 128*SIZE, false, Image.FORMAT_RG8)
|
||||
var painting_em = Image.create(128*SIZE, 128*SIZE, false, Image.FORMAT_RG8)
|
||||
painting_em.fill(Color.BLACK)
|
||||
painting.fill(Color.YELLOW_GREEN)
|
||||
|
||||
for x in range(SIZE):
|
||||
for y in range(SIZE):
|
||||
|
||||
Reference in New Issue
Block a user