ESCAPE NOW!
Press Arrow Key to move
Press WASD to shot the bullet
Find the Secret Key to escape!
[[fetch]]
files = ["./main.py",
"./Player.py",
"./Mushroom.py",
"./Toxic.py",
"./MagicBottle.py",
"./Bullet.py",
"./Stone.py",
"./Key.py",
"./Door.py"]
from pyodide.ffi import create_proxy
from main import *
def run(*args):
draw()
p5.requestAnimationFrame(create_proxy(run))
setup()
run()
p5.keyPressed = create_proxy(keyPressed)
p5.keyReleased = create_proxy(keyReleased)
p5.mousePressed = create_proxy(mousePressed)
p5.mouseReleased = create_proxy(mouseReleased)