diff --git a/FAQ.md b/FAQ.md index 6d53901..3d3254d 100644 --- a/FAQ.md +++ b/FAQ.md @@ -16,6 +16,14 @@ With the build tag, `go get -u github.com/hajimehoshi/ebiten/...` doesn't instal Such build tags are an idiom you can find e.g. in `golang.org/x/exp/shiny/example`. +## My app built with Ebiten creates an unknown process `Console Window Host`. What is this? + +This is because your app is still an console app, not a GUI app. Ebiten tries to close the console when necessary, but the app itself is still not recognized as a GUI app. You can suppress this by specifying ldflags when go-building like this: + +``` +go build -ldflags -H=windowsgui path/to/your/game +``` + # Graphics ## How to draw lines?