Allegro Fix: Programming Hanging Up & Freezing at Random

April 22, 2008

Okay, so I’m 99.9% positive that I’ve found the problem. It has to do with showing the mouse to the screen (although I’m not sure why its affecting everything now when it wasn’t having issues earlier).

If you show the default mouse after you acquire the screen to lock it for drawing to the buffer the program freezes up at random intervals. If you move the show_mouse() call before acquiring the screen or after acquiring the screen the mouse works fine (but flickers).

So I think the best way around the problem is to simply create my own mouse icon and see if that gets rid of the freezing up.

Entry Filed under: Allegro, Development, Game Dev, Game Development, MMORPG, Multiplayer Games, Online Games, Programming. .

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Links

Calendar

April 2008
M T W T F S S
« Mar   Jun »
 123456
78910111213
14151617181920
21222324252627
282930  

Recent Posts

Top Posts

Archives

Feeds