Page 1 of 1

Lagging Problems

PostPosted: August 17th, 2011, 2:59 pm
by Charcoal
I've seen lots of lagging levels.

Now let's talk about these SSSSSSSSSSSLLLLLLLLLLLLOOOOOOOOOOOOOWWWWWWWWW levels.
Whenever I play a level and it lags really badly, I just stop playing in less than 10 seconds. :|
And it also lags when you try to load the level. Sometimes levels can get so laggy that you see something about Adobe pop up.

Adding transitions can help get rid of some of the lagging, and also getting rid of some that are the main reason why it's lagging.
For example: ~MP3 Amplifer~'s Follow the Butterflies level had, of course, butterflies. Way too many butterflies (If your reading this, ~MP3 Amplifer~, I'm not being mean to you. Just putting something related to the topic). Me, ScardySquaril, and TheHarmless commented:
ScardySquaril wrote:Way too much Butterflies, it made it lag, so.....CHange of score from 3 to 2. I suggest less butterflies for this lvl.

TheSlawDog wrote:The only thing i hate about this level is the lagging :| . The reason why is, you put too much butterflies. Get rid of most of them, but not :shock: all :shock: of them, or the level won't be what the title said it would be.

TheHarmless wrote:I'm sorry, but it didn't cut for me. For some odd reason, there's this immense lag burst at the start. Then, as I walk forward, the lag disappears. But then it slowly gets laggier until it reaches like 2-5 FPS and then it goes back to 20-30 FPS. And it keeps on repeating throughout the entire level. I could only go through the first level transition and then I had to quit... :o.o:

Like I said in my comment, MP3 needed to get rid of some of the butterflies.
If you put too much stuff in your level, it'll lag.

_____________________________________________________________________________________________________________________


To make a long story short, try to avoid having your level laggin like crazy. :o.o:

Good luck. I hope your levels win a LDC. :D :D

Re: Lagging Problems

PostPosted: August 17th, 2011, 5:29 pm
by Republic
There is quite lot of way to remove the lag.

-It is your computer's problem, just delete some big files, or close some windows.
-It is your level's problem, just try to

  1. Add a level transition, at least put one every 25~200 tiles.
  2. Delete some unsuitable items
  3. Use Disable Glitch to disable all Plants, decoration, etc.


Sometimes some crashed tiles will also slow down the level. It must be the problem of the code.

Re: Lagging Problems

PostPosted: August 18th, 2011, 2:26 pm
by Charcoal
There's actually some people with Windows 7s.
The levels that lag on other computer might not lag on Windows 7 computers.

Re: Lagging Problems

PostPosted: August 21st, 2011, 3:01 am
by Charcoal
Oh yeah. Flooding also causes MAJOR lag.
The Follow the Butterflies level was flooded with butterflies.

Re: Lagging Problems

PostPosted: August 21st, 2011, 3:36 am
by Blablob
Flooding is pretty much the only reason a level will lag. If you stack too many items in one area without transitions, it's going to lag no matter what. Disabling is good to remove lag if you're trying to make characters talk or such, but that's not always the case, and not everyone knows how to disable; so for the most part it's just best that you refrain from using too many items in one area.

Now, loading times are a completely different issue. They're caused by the size of your level regardless of how spaced out your items are (another side effect of large levels is when the level designer starts to become difficult to use). The speed that a level loads depends on the quality of someone's computer; so what loads for me in 5 seconds may take 20 seconds to load for Doram. This is a tough area to deal with when it comes to judging LDC levels because, at the core, it doesn't necessarily affect the gameplay; the fact that some judges have poorer quality computers than others might result in a score deduction. What loaded fine for the level designer may not load at all for the level player.

However, both of these are issues that the level designer will want to avoid.