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, Dev, Development, MMORPG, Multiplayer, Online, Programming Languages. .

2 Comments Add your own

  • 1. sandrar  |  September 10, 2009 at 1:06 pm

    Hi! I was surfing and found your blog post… nice! I love your blog. :) Cheers! Sandra. R.

  • 2. Jade  |  September 10, 2009 at 2:45 pm

    Thanks!

Leave a Comment

Required

Required, hidden

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

Trackback this post  |  Subscribe to the comments via RSS Feed


Cool Sites

Free Code

Game Developer

Game Jobs

Music & Sound

Second Life

Sprites

Lost In Oblivion

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

Top Posts

Recent Posts

Archives

Feeds