repl.it
@Dablux/

Tile Map

Python (with Turtle)

No description

fork
loading
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from turtle import *
screen = Screen()

v = 0

def f():
  print('ok')
  v += 1

#def b():
  

screen.onkey(f, 'Up')
#screen.onkey(b, 'Down')

#if vel is not 0:
 # print(vel)
fd(v)

screen.listen()
mainloop()
result
console
?