repl.it
Pyxel

save the homes dude.

fork
loading
Files
  • main.py
  • nohup.out
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import pyxel

class App:
    def __init__(self):
        pyxel.init(160, 120, caption="THIS IS THE WAY!!!!!!")
        pyxel.run(self.update, self.draw)

    def update(self):
        if pyxel.btnp(pyxel.KEY_Q):
            pyxel.quit()

    def draw(self):
        pyxel.cls(0)
        pyxel.text(55, 41, "THIS IS THE WAY!!!!!!!", pyxel.frame_count % 27)
        pyxel.blt(61, 66, 0, 0, 0, 38, 16)

App()
?