Godot4 on Itch.io
Pong » Devlog
To run Godot 4 games in the web just enableSharedArrayBuffer
support.
To run it locally just make and run the following Python script:
from http import server # Python 3 class MyHTTPRequestHandler(server.SimpleHTTPRequestHandler): def end_headers(self): self.send_my_headers() server.SimpleHTTPRequestHandler.end_headers(self) def send_my_headers(self): self.send_header("Access-Control-Allow-Origin", "*") self.send_header("Cross-Origin-Embedder-Policy", "require-corp") self.send_header("Cross-Origin-Opener-Policy", "same-origin") if __name__ == '__main__': server.test(HandlerClass=MyHTTPRequestHandler
More details can be found on the documentation.
Files
web.zip Play in browser
Feb 15, 2024
Get Pong
Download NowName your own price
Leave a comment
Log in with itch.io to leave a comment.