Son aktif 1731086631

knox revised this gist 1731086631. Go to revision

1 file changed, 0 insertions, 0 deletions

Pyxel-6.sh renamed to Pyxel-6.py

File renamed without changes

knox revised this gist 1731086551. Go to revision

1 file changed, 13 insertions

Pyxel-6.sh(file created)

@@ -0,0 +1,13 @@
1 + import pyxel
2 +
3 + pyxel.init(160, 120)
4 +
5 + def update():
6 + if pyxel.btnp(pyxel.KEY_Q):
7 + pyxel.quit()
8 +
9 + def draw():
10 + pyxel.cls(0)
11 + pyxel.rect(10, 10, 20, 20, 11)
12 +
13 + pyxel.run(update, draw)
Newer Older