Adding thousands of clips, a way to reduce the lag and resources used?

Well I'm a tile based game platform.

I did a multidimensional array:

That's how the provision goes

Main table)

-Layer1:Array

-Layer2:Array

-Layer3:Array

-Layer4:Array

-Layer5:Array

-Layer6:Array

-Layer7:Array

-Layer8:Array

-Layer9:Array

-Layer10:Array

-Layer11:Array

-Layer12:Array

-Layer13:Array

-Layer14:Array

-Layer15:Array)

Is not my actual code because it is not a problem with my code, it's just the layout. Now, let me explain

Each layer is a line and holds more than 200 Movieclips, so layer 1 would be the ground, that the player is on, layer 15 would be deeply deeply underground.

So as you would be going, there are a lot of movieclips 200 * 15 = 3000

And I plan on adding more

Some of these tiles involve animated mobile grass and water.

My question is, is there a way to reduce lag in the game, size of the movieclip

Just before suggest you that I tried a loop in the tables in order to see what objects would look the player then clear the table then it regenerate, but only to place objects, the player can see, but who seemed to cause a lot of lag maybe because im constantly adding and deleting objects in the scene.

Any ideas on how to reduce delays?

Any system you can come with me to write that will help reduce the lag because I want more than 2000 movieclips in each table?

Also, there is no lag unbarrable starts she just jump a little when I walk on the animated tiles and at this stage it is not a good thing that I need to higher levels

Thank you

at a minimum, you must enable their property cacheAsBitmap for movieclips with a bitmap representation not variable:

mc.cacheAsBitmap = true;

Tags: Adobe Animate

Similar Questions

  • Photos: Simple way to reduce the size of the image

    I often need to reduce the size of the screenshots. You are looking for an extension or an app that would allow me to do. It's a simple task, but I was not able to find a way to solve this problem without export, then import the image. There are many applications that allow cropping images, but the apps/extensions similarly dedicated screenshot cannot reduce the size.

    The feature I need is essentially the only preview on Mac offers under the menu set the size either in percentage or by the change of specific pixel size. An extension that can reduce, and then save the image under a copy within the Photos app would be preferable. An application that can access an image in Photos, reduce the size, and then save it in Photos would be as good.

    Any suggestions?

    I use Snagit

    It runs in the background is available as a widget to take snapshots and add all kinds of cool effects

  • Once combine files, it is too large to e-mail. Is there a way to reduce the size of the file?

    Combine files and now it is too large to send. Is there a way to reduce the size of the file converted into Adobe?

    Hi yodonna,

    Adobe Reader does not reduce the size of a PDF file, such as Acrobat. But, you can download this file to your Acrobat.com account and create an anonymous link using Adobe send. Then you can send this link by e-mail. You can access Adobe send to https://cloud.acrobat.com/send. Create an anonymous link function does not require that you have an Adobe membership send.

    Best,

    Sara

  • Best way to reduce the overbroad designed global site pages

    The width of my site is 963 px that once loaded makes it too wide (I should have known better). So... is my question there a quick and easy way to reduce the size of this site in width without having to adjust every page and image, etc..

    Site is http://www.webassistantsllc.com/mbhci

    Thank you

    Lynne

    Looks like an elastic layout. Experiment with Cntl + /. Also perhaps that some experts here can tell us how to get the Cntl + / return to "neutral".

  • Is there a way to reduce the size of images without doing it in photoshop?

    Hi all

    I have a document with a ton of images, all of high resolution press ready. I need now this doc to the web, even at low resolution, the pdf file is still 6 MB.

    Is there a way to reduce the images in the file for the web without batch processing in photoshop? Just curious.

    See you soon

    S

    You should be able to reduce the size of the PDF file by changing export settings. In the export settings you can flatten transparency (PDF 1.3 can produce a smaller file), convert CMYK to RGB (output > color Conversion), lower quality of resolution and compression (Compression tab).

  • Can someone show me an easy way to reduce the space between lines of text

    Hi, can someone show me an easy way to reduce the spaces in line in my text. Currently, they number about twice as big as I would like. I hope it's just a setting in the CSS that's easy to change even if I think I have tried everything. I hope you can help, thanks in advance. -Jason-

    Hi thanks to everyone for their contribution. I finally solved the problem thanks to a previous post. "Murray" posted this info and it worked like a charm.

    Open the page in DW. View the CSS with WINDOW Panel | CSS styles, click
    Click the new CSS rule at the bottom of the unified CSS panel, click
    the Middle option (Tag) button, enter "p" (without the quotes) in the tag: field,.
    Click this radio button at the bottom of the document, and then click OK.

    The margins are styles of box model, so select the category box and in the
    Margin field (you can leave the check box selected), enter a zero. Click OK,
    and you have created a rule of CSS stylesheet on the page that should look like
    -

    Geddit?

    Thanks again... until next time,.

    Jason

  • What can I do to reduce the lag?

    I love playing mmorpg games and I have the annoying lag experience and would like to know what I can do to reduce it to a minimal state...

    the offset type I'm talking about is the gap that affects my fps and graphics etc... because I know my connection is fast...
    Please keep in mind, I'm a laptop user, so buying something like a new graphics card is out of the question.
    Thank you!

    Well, the main thing that will slow down your game is going to be your graphics card.  And the best way to reduce the amount of lag your graphics are originally is to decrease your screen resolution.  Whenever your screen resolution is increased, you increase the resources they use and ALL other effects.  So that the lower your resolution, plus your interpretation will become.

    In addition, that the way that you are on a laptop, is not that you can do.  Having enough RAM is important but will not give you huge boost in performance.  Laptops are just very motor to play the game because they are designed to run on a battery.  And things like desktop graphics can take a LOT of electric power which cannot deliver a laptop.  So that very often, high-end gaming just won't work or JUST play on a laptop unless it is brand new, and even in this case, it will be powered by compared to a desktop machine.

  • Clips change of position on the timeline when you use temporal

    First Elements 10, Win 7 x 64,

    I've implemented a timeline that had four video tracks. When I added a fifth track I started to have problems. More specifically, when I put a picture clip or video yet on the fifth time track used on this new addition clip, existing clips on the third and fourth titles changed their position on the timeline in response to stretching the time applied to the clip on the title above. Why does this happen? I think the clips on the lower video tracks to do not move NOT in response to a stretch of time change for a clip on a track that precedes. How can I get to stay put during the handling of the duration of the clips on the slopes above them?

    Thank you for the ideas.

    I enclose three images to make what I feel clearer that perhaps my words describe above.

    (top) Picture 001: timeline before changing

    (in the middle) 002 image: timeline after you have added a video track 5 and adding a fixed image to this track

    (bottom) Picture 003: chronology after application in time to clip image again on track 5, showing the movement of clips on tracks 3 & 4

    001.jpg

    002.jpg

    003.jpg

    The other tracks are just "ripple".

    To override the ripple, hold CTRL (Cmd on a Mac key) that you add, remove, or edit clips on the timeline.

  • Is there a way to copy the drivers and setup of the drive from the computer and transfer them to the reader of the dead computer?

    Separated from this thread.

    Is there a way to copy the drivers and setup of the drive from the computer and transfer them to the reader of the dead computer?

    Hello

    You cannot copy the drivers installed anyway.

    Saving your files:

    You can remove the hard drive and put it in a hard drive USB enclosure > plug it into another computer > and try to read and copy your data in this way.

    See you soon.

  • Is there a way to recover the deleted files without using any software?

    Is there a way to recover the deleted files without using any software?

    Is there a way to recover the deleted files without using any software?

    # Software is necessary.

    First check the recylcl tray. If she isn't here, read the following:

    "Deleting" a file does not delete actually it brand just space be used. There are third-party programs that can sometimes recover deleted files. The problem is that the space used by the file is likely to be replaced very quickly, and this makes the unrecoverable file.

    So your chances of successfully recover this file are decent, if you try it again immediately after deleting it and quickly down. If you have used the computer since then (for example to read this answer and write that question), your chances may be very weak now.

    But if the file is large enough, it's still worth a try. Stop using the computer in question immediately, if you haven't done so already. Download an undelete program (in here is one: http://www3.telus.net/mikebike/RESTORATION.html but there are many other choice; do a search) on a friend's computer and bring it to you on a diskette, CD, or drive to the thumb.

    If that fails, your only recourse is to bring or send the drive to a professional file recovery company. This kind of service is very expensive and may or may not work in your case.

  • After you create an action to reduce the size and convert them to JPEG format, how to eliminate the word "copy" of each image name?

    After you create an action to reduce the size and convert them to JPEG format, how to eliminate the word "copy" of each image name?

    You can batch process using the image processor script and no user action should still be included in the process.  Check out our menu file > Scripts > image processor.

  • Best way to copy the ISO and Template on another VMFS volume?

    Since we are running out of disk space, we would like to change the size of a volume VMFS existing 500 GB to 400 GB.  This VMFS volume contains ISO images and virtual machine templates.

    We have already created a new 400 GB size VMFS volume and would like to know what is the best way to copy the ISO and models from the 500GB to 400GB size VMFS volume.  Can we use WinSCP or use the command line?

    Your advie is requested.

    The more simple and quick to copy ISO files store data to another, is to use Veeam FastSCP. It copies data directly from one host to another. And it's free (http://www.veeam.com/vmware-esxi-fastscp.html)

  • How to decrease the size of the PDF file without reducing the quality and links?

    How to decrease the size of the PDF file without reducing the quality and links?

    Michael and Phil,

    Your ability to reduce the file without diminishing its quality depends on the quality required for their intended use. If these are intended for viewing on screen, then high resolution pictures can be re sampled or changing the resolution without real change is the quality, as long as the user can say. Number of files use subsets of fonts or the incorporations of fonts. Sometimes you can remove subsets of fonts or embedding the fonts if the font will be on the user's system. Subsets of fonts can save space, but if the pdf is a result of several different sources, desincorporation policies and incorporating a copy of the policy can save space.

    Honestly, the size of 2 MB file is not the problem it once was. However, maybe the pdf not by e-mail at all. There are players on a server as well as a link sent to each user.

  • Best way to reduce the volume of the music when people speak?

    Hi, I have do this promo video which is mainly music... but there are pieces where people speak to the camera, and I need to slightly reduce the music. I usually use keyframes on the waveform, but it's quite of your time, and if I edit the video in the future, audio keyframes align properly. Just wondering if there was any easier way to do it. Thanks, Neil

    Easier way and the industry standard is to use the Audio Mixer Panel...

    The organization track mixer automation and wil a create keyframes in real-time for a live mix.

    @the OP... It's a question of riding of the mixer, keeping an eye on the meters and using your ears.

    Mixing live is also easier if you are familiar with your editing and have an idea where the dialogue starts and ends.  Of course, your video helps with that.

  • Is there a way to reduce your CONTENT and document settings?

    I have a huge 80-page catalog I that was 8 x 10 and I overwrite the settings of document to 5 x 7. But which does not match your content in the frame. y at - it a way to reduce your content with document settings?

    I can't reduce my pages to adapt once I changed the parameters of the document to 5 x 7, because he just said that this would cause objects to leave the editing table, so it not even me will reduce the content of my.

    Frustrating, I have super tight to the printer and if I could understand this it would save me hours and I could do it.


    No, when you place a file pages in another that you cannot change directly in the new file - it becomes a link like any other and you have to edit in the original, which is not much help here.

    Try using the page layout setting, but it won't do all the work in any way.

    First, make a backup copy of the file, then click on layout > setting layout... and turn it on. Now go to the margins and page size format Document and cange tha. Objects aligned to the guides should change size and sahpe according to the new positions of guide, but your guy won't change size for it's going to reflow and let oversets (change your styles), and all the images that resize dimensionnera probably disproportionate. Throughout you will find perhaps faster all over again and copy / paste what you can from one doc to another.

Maybe you are looking for