[BUG]only using last defined colors

[BUG]print(str,x,y) never reached 0
This commit is contained in:
2021-12-03 20:07:46 +01:00
parent a21b66f12a
commit 72412a01bd
2 changed files with 15 additions and 6 deletions

View File

@@ -5,6 +5,7 @@ function init()
end
function update()
paper(COLOR_BLACK)
cls()
x = x + dx
y = y + dy
@@ -14,6 +15,13 @@ function update()
if y == 29 or y == 0 then
dy = -dy
end
locate(x, y)
print("\224")
locate(2, 2)
paper(COLOR_GREEN)
ink(COLOR_BLACK)
print("HOLA!")
--locate(x, y)
ink(COLOR_RED)
paper(COLOR_YELLOW)
print("\224", x, y)
end