Computer Science Canada Why does my program suddenly get laggy? |
Author: | ABCGUY [ Tue Apr 27, 2004 8:03 pm ] | ||||
Post subject: | Why does my program suddenly get laggy? | ||||
Hi i'm new and i'm wondering if i could get some help. For my final project (a city) i'm using this animation as my backgroud:
but when my program goes here:
to another animation, it gets really laggy I dunno whats wrong, i'm a real newbie, can someone help me plz. |
Author: | Raugrist [ Wed Apr 28, 2004 6:35 am ] |
Post subject: | |
Two things. First of all, you've got an entire shitload, maybe even two shitloads of delays in that program. But that isn't even what's causing the "lag". Which leads me to number two. You're program isn't really lagging (much). It's just that you don't have any View.Update lines in the code to update the screen so the program looks like it just isn't doing anything. |
Author: | ABCGUY [ Wed Apr 28, 2004 7:32 pm ] |
Post subject: | |
Thanks, i'll try that. Edit: Thanks a lot i fixed the problem. |