This can get ridiculously large for more complex shapes, so if a polygon is better off as a box or circle, use the box or circle.Ĭlose and re-open Algodoo every once in a while. Each polygon has a surfaces variable, storing the polygon's vertices and edges. Use circles and boxes over polygons where possible. Constantly creating objects is going to increase the information Algodoo has to store in memory. Scene.addCircle, Scene.addBox) sparingly. If adding doesn't work in the current scene, take the objects you want to add together to a new scene, add them there, then cut and paste the new object back to the old scene. Try combining different objects together by adding them together in the geometry actions tab. Algodoo stores a fair amount of information about each object, so lowering the number of objects lowers the information Algodoo has to store in memory. Algodoo has to keep all of the current scene's textures in memory, so by cutting down the number of textures in your scene and lowering their resolution, the textures will take up less space in memory. Textures turn into black squares without reason. I have a few tips for trying to avoid Algodoo running out of memory:Įarly warning signs (if you see one, save your scene right away):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |