jsgo icon indicating copy to clipboard operation
jsgo copied to clipboard

Ebiten requires the latest GopherJS (1.12-2) and Go 1.12

Open hajimehoshi opened this issue 6 years ago • 6 comments

The latest change in GopherJS (https://github.com/gopherjs/gopherjs/issues/899) made it possible to use syscall/js instead of github.com/gopherjs/gopherjs/js, and Ebiten now replaced all the imports. Ebiten requires GopherJS (and Go 1.12 for the latest syscall/js API definition), but it looks like jsgo does not support them yet, and I've confirmed jsgo didn't work for Ebiten now. I'd be happy if you could update them. Thanks!

hajimehoshi avatar May 02 '19 09:05 hajimehoshi

Hey Hajime! I’m taking a break from open source and hiking across Nepal for five months. Unfortunately I won’t have my laptop until September. Today is the first internet I’ve had for over a month! I’ll take a look as soon as I get back to civilisation but it won’t be until September I’m afraid. Sorry!

dave avatar May 27 '19 12:05 dave

Hi, thank you for responding!

I’ll take a look as soon as I get back to civilisation but it won’t be until September I’m afraid. Sorry!

To be honest, that's pretty sad :-/ I'm now looking for a substitution for jsgo.

hajimehoshi avatar May 27 '19 14:05 hajimehoshi

Hey guys, I've upgraded jsgo to the latest GopherJS and I think this is resolved now... Let me know if it's fixed for you...

dave avatar Dec 05 '19 10:12 dave

https://compile.jsgo.io/hajimehoshi/ebiten/examples/2048

image

https://jsgo.io/hajimehoshi/ebiten/examples/2048

image

Looking good so far :D

lucymhdavies avatar Dec 05 '19 10:12 lucymhdavies

Sorry it's taken so long!

dave avatar Dec 05 '19 10:12 dave

No worries! Hope your hiking trip was enjoyable :)

lucymhdavies avatar Dec 05 '19 10:12 lucymhdavies