Dragonfly Q&A

Game window closes immediately

0 like 0 dislike
I was doing the Saucer Shoot tutorial and got to the point where it should place a saucer on screen and have it move off to the left. When I ran the game to test it, a window popped up for it, then immeadiately closed. The process was still running, so it wasn't just crashing.

I'm working in 64-bit Cygwin.


asked Sep 2, 2014 in Tutorial by sswallach

1 Answer

0 like 0 dislike
When the game runs, does it produce a logfile "dragonfly.log"?  If so, see if it has any errors that help figure out what is going on.  Also, if you had a previously working version, take a close look at the most recent code - often, a bug will be introduced in whatever was just added.

Also, are you running this by double-clicking on the game.exe from Windows explorer?   If so, instead, run it from the cygwin terminal window.  Type "./game.exe" and it should run.
answered Sep 2, 2014 by claypool
edited Sep 2, 2014 by claypool
Logfile is blank
More information about Dragonfly can be found on the Dragonfly Home Page.