Awesome man. My question is, does it work on mobiles? my mission is to make a game that runs on the web with my own server, but only for mobiles. Let me know
did oyu find a fix for getting it to work in mobile browsers? i hear some androids work but ios is more problems because no real suppoirt for web assemblies or wasm
@@mrb5391 I stopped development on this months ago, but I do remember it working when I set it up on a web server. it worked on my Iphone, I did not test it on Android :))
Mine says "Error The following features required to run Godot projects on the Web are missing: Cross Origin Isolation - Check web server configuration (send correct headers) SharedArrayBuffer - Check web server configuration (send correct headers)"
Where are you trying to upload it to? where does the error print out? Like in the browser or in console somewhere? I found these threads that talk about similar problems, but I'd really have to experience this issue to understand it I feel like. github.com/godotengine/godot/issues/69020 www.reddit.com/r/godot/comments/yuzeqq/running_godot_4_html_exports_will_require/ It sounds like whatever application you are using to host the Godot project doesn't support it. Hence the check web surfer configuration warnings. Hers a video on the the cross isolation concept from google: th-cam.com/video/D5DLVo_TlEA/w-d-xo.html I would try hosting it somewhere else just as a test. That would tell you if its the Godot project or the browser environment possibly.
Fix i found was create a .htaccess file in the folder with the following code: Header set Cross-Origin-Opener-Policy "same-origin" Header set Cross-Origin-Embedder-Policy "require-corp"
godot is already a complete exportation method, just export your game in html5 and you will have the necessary files and follow along this video on how to upload the game to your website.
These are some lines from a Python server used to locally host a web game, might help. 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-Opender-Policy", "same-origin")
you are a beautiful human being thanks sending wishes and luck
Thanks this is exactly the workflow I was planning on using good to see it works
For you who have succeeded, leave the links that we play!!
Awesome man. My question is, does it work on mobiles? my mission is to make a game that runs on the web with my own server, but only for mobiles. Let me know
did oyu find a fix for getting it to work in mobile browsers? i hear some androids work but ios is more problems because no real suppoirt for web assemblies or wasm
@@mrb5391 I stopped development on this months ago, but I do remember it working when I set it up on a web server. it worked on my Iphone, I did not test it on Android :))
Mine says "Error
The following features required to run Godot projects on the Web are missing:
Cross Origin Isolation - Check web server configuration (send correct headers)
SharedArrayBuffer - Check web server configuration (send correct headers)"
Where are you trying to upload it to?
where does the error print out? Like in the browser or in console somewhere?
I found these threads that talk about similar problems, but I'd really have to experience this issue to understand it I feel like.
github.com/godotengine/godot/issues/69020
www.reddit.com/r/godot/comments/yuzeqq/running_godot_4_html_exports_will_require/
It sounds like whatever application you are using to host the Godot project doesn't support it. Hence the check web surfer configuration warnings.
Hers a video on the the cross isolation concept from google:
th-cam.com/video/D5DLVo_TlEA/w-d-xo.html
I would try hosting it somewhere else just as a test.
That would tell you if its the Godot project or the browser environment possibly.
That's because the newest version of Godot does not support this
oh damn thanks for posting that i haven't tried 4.2 yet@@riverblack123
@@riverblack123 Oh That's sad
Fix i found was create a .htaccess file in the folder with the following code:
Header set Cross-Origin-Opener-Policy "same-origin"
Header set Cross-Origin-Embedder-Policy "require-corp"
Do you need a nodeJS framework or something like that to make a web based game? or just need vanilla JS and HTML/CSS?
no nodejs required for this type of deployment
godot is already a complete exportation method, just export your game in html5 and you will have the necessary files and follow along this video on how to upload the game to your website.
Can you please make a video how to publish godot game on Facebook instant game
These are some lines from a Python server used to locally host a web game, might help.
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-Opender-Policy", "same-origin")
@@jujuandjesus I'm not very good at web dev but that looks right.
GIGACHAD