From 0b5b078561b8cf0704a7e287b86dbdb0d2dc987e Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 23 Jan 2018 23:48:53 +0900 Subject: [PATCH] Updated FAQ (markdown) --- FAQ.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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?