|
105 | 105 |
|
106 | 106 | <section id="python-bindings-for-raylib-5-0">
|
107 | 107 | <h1>Python Bindings for Raylib 5.0<a class="headerlink" href="#python-bindings-for-raylib-5-0" title="Link to this heading"></a></h1>
|
| 108 | +<iframe src="https://electronstudio.github.io/raylib-python-cffi-pygbag-examples/shapes_bouncing_ball/build/web/" style="border:0px #ffffff none;" name="myiFrame" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="450px" width="800px" allowfullscreen></iframe> |
| 109 | +<p>Chatroom: <a class="reference external" href="https://discord.gg/fKDwt85aX6">Discord</a> or <a class="reference external" href="https://matrix.to/#/#raylib-python-cffi:matrix.org">Matrix</a></p> |
108 | 110 | <p>New CFFI API static bindings.</p>
|
109 | 111 | <ul class="simple">
|
110 | 112 | <li><p>Automatically generated to be as close as possible to
|
@@ -214,14 +216,14 @@ <h1>Running in a web browser<a class="headerlink" href="#running-in-a-web-browse
|
214 | 216 | </pre></div>
|
215 | 217 | </div>
|
216 | 218 | <p>Then to create the web files and launch a web server:</p>
|
217 |
| -<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>python3 -m pip install --user --upgrade git+https://github.com/pygame-web/pygbag |
218 |
| -python3 -m pygbag --git --PYBUILD 3.12 --ume_block 0 --template noctx.tmpl my_project |
| 219 | +<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>python3.12 -m pip install --user --upgrade pygbag |
| 220 | +python3.12 -m pygbag --PYBUILD 3.12 --ume_block 0 --template noctx.tmpl my_project |
219 | 221 | </pre></div>
|
220 | 222 | </div>
|
221 | 223 | <p>Point your browser to http://localhost:8000</p>
|
222 | 224 | <p>This is all done by Pygbag rather than by me, so you should probably contact them with any issues.
|
223 | 225 | Carefully read all their <a class="reference external" href="https://pygame-web.github.io/">documentation</a>.</p>
|
224 |
| -<p>It does work for most of the examples at https://electronstudio.github.io/raylib-python-cffi-pygbag-examples/</p> |
| 226 | +<p>It does work for most of <a class="reference external" href="https://electronstudio.github.io/raylib-python-cffi-pygbag-examples/">these examples</a></p> |
225 | 227 | </section>
|
226 | 228 | <section id="app-showcase">
|
227 | 229 | <h1>App showcase<a class="headerlink" href="#app-showcase" title="Link to this heading"></a></h1>
|
|
0 commit comments