Differences

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

Link to this comparison view

Both sides previous revision Previous revision
gdevelop5:events:draft-optimization [2020/03/04 21:33]
bouh todo
gdevelop5:events:draft-optimization [2020/03/18 00:27] (current)
bouh
Line 5: Line 5:
 Game optimization is an important concept of making a game. Good optimization will allow the game to work faster, making it more fluid. Game optimization is an important concept of making a game. Good optimization will allow the game to work faster, making it more fluid.
  
-GDevelop 5 gives you total freedom in events. While this can be awesome, it can also be very costly ​for the processor when running the game.+GDevelop 5 gives you total freedom in events. While this can be awesome, it can also be very costly ​if you don't have the reflex of build a good structure in your events, ​the processor ​can be overload ​when running the game, this can have for effect to slower your game.
  
 It is important to [[gdevelop5:​tutorials:​basic-game-making-concepts|understand what events are]] and that all events are //each called once per second//. It is important to [[gdevelop5:​tutorials:​basic-game-making-concepts|understand what events are]] and that all events are //each called once per second//.
  
-<​note>​For example: With a game at 60 frames per second (FPS), if you have a single action, then in this action will be executed 60 times in a second.</​note>​+<​note>​For example: With a game at 60 frames per second (FPS), if you have a single ​event, without condition, and just one action, then this action will be executed 60 times in a second.</​note>​
  
  
-====== Optimization in the engine ======+====== Optimization ​already ​in the engine ======
 The GDevelop engine does one simple thing for optimization,​ it tells the graphic api to not render the object not in viewport. The GDevelop engine does one simple thing for optimization,​ it tells the graphic api to not render the object not in viewport.
  
-This doesn'​t affect the person creating the game because it's handled in the background.+This doesn'​t affect the person creating the game because it's handled in the background. It's totally transparent for everyone.
  
 <​note>​It can still be important to hide or disable what you don't need. This is the key of the optimization.</​note>​ <​note>​It can still be important to hide or disable what you don't need. This is the key of the optimization.</​note>​