Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gdevelop5:events:draft-optimization [2020/11/04 15:45]
bouh [Decativate unused behaviors]
gdevelop5:events:draft-optimization [2020/12/26 13:56] (current)
Line 1: Line 1:
 <note important>This page is a draft for good practices to apply for optimizing GDevelop games.</note> <note important>This page is a draft for good practices to apply for optimizing GDevelop games.</note>
 <note warning>This draft is WIP by @Bouh</note> <note warning>This draft is WIP by @Bouh</note>
 +
 +<note important>
 +Could be merged with 
 +http://wiki.compilgames.net/doku.php/gdevelop5/tutorials/how-to-debug-poor-performance
 +</note>
  
  
Line 77: Line 82:
 - Use the profiler in GD5 for see which events are taking the most of the performance to try and optimize it - Use the profiler in GD5 for see which events are taking the most of the performance to try and optimize it
 - Reduce number of conditions as object selection is a heavy process. - Reduce number of conditions as object selection is a heavy process.
 +- The loading of a game can take a while when the resources are too large, 2Go of a video or for a sound file, will slowly the loading.
 +- Think to compress the video and sound files, your image too, this reduce the loading time.
 +- All resources in the project are bundle in the exported games if the resource exist in the Resource tab (Project manager>game settings), think to remove all unused resources.
 +