はじめに
公式のサンプル集から ebiten のBest practiceを学ぼうと思っていろいろ触ってみることにした。
まずは examplesのREADME を読むべし。
動かしてみる
gopherjs
gopherjs使ったことないので、とりあえずインストール。そして実行。
gopherjs serve --tags=example
ぐぬぬ、なんかエラーが。。(´・ω・`)
$ gopherjs.exe serve --tags=example serving at http://localhost:8080 and on port 8080 of any available addresses /src/syscall/syscall_nonlinux.go:5:18: undeclared name: SYS_EXIT /src/syscall/syscall.go:53:39: too few arguments in call to Syscall /src/syscall/syscall_nonlinux.go:5:18: undeclared name: SYS_EXIT /src/syscall/syscall.go:53:39: too few arguments in call to Syscall /src/syscall/syscall_nonlinux.go:5:18: undeclared name: SYS_EXIT /src/syscall/syscall.go:53:39: too few arguments in call to Syscall