最后活跃于 1731086631

knox 修订了这个 Gist 1731086631. 跳至此修订

1 file changed, 0 insertions, 0 deletions

Pyxel-6.sh 重命名为 Pyxel-6.py

File renamed without changes

knox 修订了这个 Gist 1731086551. 跳至此修订

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)
更新 更早