• Advertisement
Sign in to follow this  

My Allegro Game can't close

This topic is 3442 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I consider myself very experienced in game development particularly with C++ and Allegro but although I have a game that runs perfectly I can't seem to figure out how to close it without task manager. The close box is grayed out and all it can do is minimize. Has anyone had this experience before and if so can you advise me? Thanks. Nick

Share this post


Link to post
Share on other sites
Advertisement
I don't know anything about Allegro but it sounds like it has disabled the close button. You said that you can only minimize, so is the maximize button either missing or disabled? There must be a way to setup the minimize, maximum, and close buttons as enabled or disabled. Have you also consider added support for exiting by a key press, such as, pressing escape and it asks if you are sure that you want to quit. Answer yes and it exits, no and it returns to the game.

Sorry if you have already looked at this but the post wasn't really clear on what actions you have already attempted to correct the problem.

Share this post


Link to post
Share on other sites
Are you calling the "END_OF_MAIN()" macro? or perhaps manually call allegro_exit() as it appears not to be calling it. Heh, all I could think of.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement