knox / Pyxel-13.sh
0 likes
0 forks
1 files
Last active
1 | pyxel package APP_DIR STARTUP_SCRIPT_FILE |
knox / Pyxel-12.sh
0 likes
0 forks
1 files
Last active
1 | pyxel edit PYXEL_RESOURCE_FILE |
knox / Pyxel-11.sh
0 likes
0 forks
1 files
Last active
1 | pyxel watch WATCH_DIR PYTHON_SCRIPT_FILE |
knox / Pyxel-10.sh
0 likes
0 forks
1 files
Last active
1 | pyxel run PYTHON_SCRIPT_FILE |
knox / Pyxel-9.sh
0 likes
0 forks
1 files
Last active
1 | python PYTHON_SCRIPT_FILE |
knox / Pyxel-8.py
0 likes
0 forks
1 files
Last active
1 | import pyxel |
2 | |
3 | pyxel.init(120, 120) |
4 | pyxel.cls(1) |
5 | pyxel.circb(60, 60, 40, 7) |
6 | pyxel.show() |
knox / Pyxel-7.py
0 likes
0 forks
1 files
Last active
1 | import pyxel |
2 | |
3 | class App: |
4 | def __init__(self): |
5 | pyxel.init(160, 120) |
6 | self.x = 0 |
7 | pyxel.run(self.update, self.draw) |
8 | |
9 | def update(self): |
10 | self.x = (self.x + 1) % pyxel.width |
knox / Pyxel-6.sh
0 likes
0 forks
1 files
Last active
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) |
knox / Pyxel-5.sh
0 likes
0 forks
1 files
Last active
1 | cd pyxel_examples |
2 | pyxel run 01_hello_pyxel.py |
3 | pyxel play 30sec_of_daylight.pyxapp |
knox / Pyxel-3.sh
0 likes
0 forks
1 files
Last active
1 | pyxel copy_examples |