What does this mean for me? You will always be able to play your favorite games on Kongregate. However, certain site features may suddenly stop working and leave you with a severely degraded experience.
What should I do? We strongly urge all our users to upgrade to modern browsers for a better experience and improved security.
We suggest you install the latest version of one of these browsers:
A game ive created has been getting pummeled with bad comments, saying that their browsers crash because of the flash game and it freezes up and stuff around level 24 when alot of enemies appear on screen. Does any1 know how to lower the quality not only by right clicking and lowering quality, but in general, such as tips to decrease game lag, using jpegs, sprites, actionscript shortcuts, etc.? It would be a great help ;) tnnx
Possibly the single biggest improvement you can make is using cacheAsBitmap if you aren’t already. If you have some art which isn’t animated, and doesn’t scale, put movieClipName.cacheAsBitmap = true, and flash will save the rendering as an internal bitmap which it can plonk down much faster than having to redraw the vector art from scratch every time.
But only use it on stuff that isn’t going to change often, cause otherwise it’ll have to render the vector art ANd cache it every frame and that will actually slow things down. You can also only use it on clips smaller than 2880×2880 (a cached clip that size will use 40 megs of ram)
I suspect that all bitmap graphics (gif, jpg, png…) get blown to a decompressed bitmap before use.
You can change the display quality without asking the user to right-click using the \_quality attribute.
I’ve seen people say that you can set the quality on individual movieclips independently. However, when I tried this it only ever set the global quality.
How many enemies are we talking about? How big? Are they rotated or scaled? Do they use one or many bitmaps, or vector graphics? And are you sure it is the graphics which slow it down – maybe your code is inefficient? Do you have one script which moves them all (good), or have you put call-backs on every movieclip (bad)?
Generally what you should do is perform trials on your code, try to work out what is slow, then optimise that.
ohhhh, i lke the bitmap method REALLY speeded things up instad of when i use the 2 color shading tool, and each of my movieclips have a code that moves them and then a code inside of them telling them what to do when they die, so i think it might be my code. Thanx for the tips tho really helped