dave / jsgo

GopherJS compiler, serving framework and CDN.
https://jsgo.io/<path>
MIT License
268 stars 11 forks source link

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

Open hajimehoshi opened 5 years ago

hajimehoshi commented 5 years ago

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!

dave commented 5 years ago

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!

hajimehoshi commented 5 years ago

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.

dave commented 4 years ago

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...

lucymhdavies commented 4 years ago

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

image

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

image

Looking good so far :D

dave commented 4 years ago

Sorry it's taken so long!

lucymhdavies commented 4 years ago

No worries! Hope your hiking trip was enjoyable :)