slow muddy performance

BlitzMax Forums/BlitzMax Beginners Area/slow muddy performance

gerald(Posted 2012) [#1]
Hi,

Working on a longer game. 48 pictures that click along. In the middle of the game a "ding" noise becomes "dddddiiiiinnnnnnggggg" and the page flipping slows. Is Blitz capable of longer programs or do I have a code problem that slows and muddies or drags out the response?

How do you keep longer performances sharp from start to end? I put in some delays but have no other ideas.

Gerald


matibee(Posted 2012) [#2]
My guess would be a logic / loop error in your code.

Just before your PlaySound call (or however you "ding") add:

Print "DING!!"


That message will appear in the output log each time the sound plays and I think the prolonged "dddddiiiiinnnngggg" will also come with a flurry of "DING!!" messages.

Cheers
Matt


H&K(Posted 2012) [#3]
When you are on picture 20 (say) you are loading and pasting 19 other pictures before picture 20