Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Godot 3 or 4 on itch.io as WebGL

A topic by mle_ii created Sep 16, 2023 Views: 175 Replies: 2
Viewing posts 1 to 2
Submitted

I decided to try to use Godot for the first time, so learning it during this Jam, but does anyone know which version I should start with that would support WebGL on Itch.io for most devices?  I want to learn Godot 4 since it's the latest, but not sure it's going to work as WebGL and any gotchas there.

I've done some searching and it's not clear to me and since I'm not as familiar with the engine yet I'm not sure I understand the terminology they use when describing the WebGL versions that Godot supports.

I know how to make games for Unity and upload them here but for reasons I decided I wanted to learn Godot.  :)

Any resources that I can quickly come up to speed on how that works?  I know in general how to do it with the Export and the contents of the zip and at least one setting if I use Godot 4, but unsure of specifics and don't want to do a bunch of learning and work in one version and have to scramble to get it ported to the other version.

Thank you,
Mike

Submitted(+1)

When I used Godot 4.0 a few months ago for a game jam I did have some issues on Itch io with the WebGL but I think it has since been fixed. To get it working I you just need to make sure you use the "Compatibility" Renderer (it is an option when you make a new project). Also when you export, make sure you use the name "index.html" for the web build (Godot will use the project name by default when exporting). And when you submit to Itch io make sure you check the box that says "SharedArrayBuffer support — (Experimental) This may break parts of the page or your project. Only enable if you know you need it"

I am using Godot 4.1 and tested it earlier today and it worked correctly for me with very little problems. It is always good to test that your builds are working on Itch io early in the jam (I do it as soon as I get something on screen), to avoid the stress closer to the deadline.

Submitted

Thank you r0ckems0ckem!  That helps a lot.  Mostly worried about the compatibility with various browsers but sounds like the Compatibility render would get me what I need.  And definitely would experiment but really wanted to learn the newer version instead of having to the older Engine.  Guessing most things would be transferable, but I don't know what I don't know yet.  LOL

All the beset on your Jam!