Skip to content

Commit 788d9c3

Browse files
committed
Update webplayground for current Arcade version
1 parent 964d0c8 commit 788d9c3

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

webplayground/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ An http server is provided with the `server.py` file. This file can be run with
55
a local HTTP server on port 8000. From there, any desired example can be accessed in the browser by simply navigating
66
to it's path. For example to view the `basic_renderer` example, you would navigate to `http://localhost:8000/basic_renderer`.
77

8-
There are some pre-requesites to running this server. It assums that you have [this branch](https://github.com/caffeinepills/pyglet/tree/pygodide)
9-
of Pyglet checked out and in a folder named `pyglet` directly next to your Arcade repo directory. You will also need to have
8+
There are some pre-requesites to running this server. It assums that you have the `development` branch of Pyglet
9+
checked out and in a folder named `pyglet` directly next to your Arcade repo directory. You will also need to have
1010
the `build` and `flit` packages from PyPi installed. These are used by Pyglet and Arcade to build wheel files, but are not
1111
generally installed for local development.
1212

webplayground/basic_renderer/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
const micropip = pyodide.pyimport("micropip");
1414
await pyodide.loadPackage("pillow"); // Arcade needs Pillow
1515
await micropip.install("http://localhost:8000/pyglet-3.0.0a1-py3-none-any.whl");
16-
await micropip.install("http://localhost:8000/arcade-3.2.0-py3-none-any.whl");
16+
await micropip.install("http://localhost:8000/arcade-3.3.2-py3-none-any.whl");
1717

1818
let response = await fetch("./package.zip");
1919
let buffer = await response.arrayBuffer();

webplayground/instancing/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
const micropip = pyodide.pyimport("micropip");
1414
await pyodide.loadPackage("pillow"); // Arcade needs Pillow
1515
await micropip.install("http://localhost:8000/pyglet-3.0.0a1-py3-none-any.whl");
16-
await micropip.install("http://localhost:8000/arcade-3.2.0-py3-none-any.whl");
16+
await micropip.install("http://localhost:8000/arcade-3.3.2-py3-none-any.whl");
1717

1818
let response = await fetch("./package.zip");
1919
let buffer = await response.arrayBuffer();

webplayground/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
path_pyglet_wheel = path_pyglet / "dist" / pyglet_wheel_filename
1515

1616
path_arcade = Path("../")
17-
arcade_wheel_filename = "arcade-3.2.0-py3-none-any.whl"
17+
arcade_wheel_filename = "arcade-3.3.2-py3-none-any.whl"
1818
path_arcade_wheel = path_arcade / "dist" / arcade_wheel_filename
1919

2020

webplayground/spritelist_example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
const micropip = pyodide.pyimport("micropip");
1414
await pyodide.loadPackage("pillow"); // Arcade needs Pillow
1515
await micropip.install("http://localhost:8000/pyglet-3.0.0a1-py3-none-any.whl");
16-
await micropip.install("http://localhost:8000/arcade-3.2.0-py3-none-any.whl");
16+
await micropip.install("http://localhost:8000/arcade-3.3.2-py3-none-any.whl");
1717

1818
let response = await fetch("./package.zip");
1919
let buffer = await response.arrayBuffer();

webplayground/ui_example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
const micropip = pyodide.pyimport("micropip");
1414
await pyodide.loadPackage("pillow"); // Arcade needs Pillow
1515
await micropip.install("http://localhost:8000/pyglet-3.0.0a1-py3-none-any.whl");
16-
await micropip.install("http://localhost:8000/arcade-3.2.0-py3-none-any.whl");
16+
await micropip.install("http://localhost:8000/arcade-3.3.2-py3-none-any.whl");
1717

1818
let response = await fetch("./package.zip");
1919
let buffer = await response.arrayBuffer();

0 commit comments

Comments
 (0)