Open ThePuzzledDev opened 10 months ago
What error did you see in the developer tool?
Hey, sorry it took me a while to get back. I got the error, Error: Go program has already exited
So the program exited. Please tell me which part was reached.
I found this is an issue in wasmserve. Specifying a minor version of Go doesn't work with wasmserve.
module foo
go 1.21.4
Try
go run github.com/hajimehoshi/wasmserve@1931e79578ff16bae62005d0b6bec4c77ad43ed9 .
instead of
wasmserve .
. I'll tag a new wasmserve version few days later.
It's still giving me the exact same error
Unfortunately I couldn't reproduce your issue. I've already succeeded to run your game on browsers.
I found a minor issue in wasmserve, but I am not sure this was relevant. Could you try
go run github.com/hajimehoshi/wasmserve@acaa4bbab21790876675f069f3e01e916df4173b .
?
Super sorry about my lack of replies. I'm really busy, and forget to check GitHub. No that did nothing.
Does wasmserve work with other games?
No, it still gives me the same error
I'm afraid I have no idea what was going on.
Ebitengine Version
2
Operating System
Go Version (
go version
)go version go1.21.4 linux/amd64
What steps will reproduce the problem?
Run EBiten + WASM on Librewolf
What is the expected result?
A working game
What happens instead?
An indefinite black screen
Anything else you feel useful to add?
I tried using the
go run github.com/hajimehoshi/wasmserve@latest .
as well as manually compiling it, and neither work. Also here's the code: https://codeberg.org/Puzzled/gopong-ebiten