Do Particles2D work with HTML5 export?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By clownshoe

My game runs fine when I build for Windows, when I build for HTML5 everything works except the Particles2D are not shown, and when they are meant to be shown the game locks up for a few seconds. I am using Godot 3.1.1 stable with GLES3.

So do Particles2D work with HTML5 export (and GLES3) ?

There is a TIP in this tutorial for version 3.1 that I was going to try, and go back to GLES2:

“Particles and Particles2D can be converted to their CPU equivalent node with the “Convert to CPUParticles” option in the editor.”

However, I cannot find this option anywhere.

:bust_in_silhouette: Reply From: Ertain

From the looks of it, the issue over Particles2D not properly rendering in HTML5 has been an issue for a while. So using GLES3 render doesn’t look like a viable option ATM. Therefore, you will have to go the CPUParticles2D route.

Click on the Particles2D node and then select “Convert to CPUParticles” in the toolbar at the top of the scene editor.

When isn't it in the toolbar at the top of the scene editor pane?

awesome! thank you very much.

clownshoe | 2019-07-29 22:13

1 Like