Extreme lag during mouse & keyboard input

Started by IanM, October 18, 2005, 02:17:00 PM

Previous topic - Next topic

IanM

I guess this is the best place for this one...

I'm working through the Dicey example game, using it to learn about PB while fixing (done ;) ) and optimising the program.

Within the main menu, and the name-entry screen, the mouse sprite would not update, sometimes for several seconds, and the keyboard would be ignored (for about the same amount of time). However, the program ran correctly and without any lag in debug mode.

I noticed that when a box is being drawn around an item in the main menu, the lag would disappear, so I added a DOT command to that function, and the name-entry function within their loops, and all lag disappeared.

Is there a command or setting I'm missing? Or is this a 'feature'?

kevin

yeah it's an old 'oddity' that has occured for a while, and we can't seem to find the source.

kevin

This has been corrected (well hacked around) in beta PB1.098n..