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:tutorials:basic-game-making-concepts [2020/12/04 16:18]
4ian [Positioning Objects in the world: Coordinates]
gdevelop5:tutorials:basic-game-making-concepts [2021/01/17 22:46] (current)
mannhb [Behaviors: pre-defined rules and logic for objects]
Line 61: Line 61:
 ## Behaviors: pre-defined rules and logic for objects ## Behaviors: pre-defined rules and logic for objects
  
-**Behaviors** allow to enhance an object with some *pre-defined logic*. Behaviors can be fairly simple, automating simple tasks or much more advanced. For example: +**Behaviors** enhance an object with some *pre-defined logic*. They can be reasonably straightforward, automating simple tasksor much more advanced tasks. For example: 
  
 * A behavior can be used to *automatically* remove an object from the game when it *goes out of the screen* (limiting the game memory usage).  * A behavior can be used to *automatically* remove an object from the game when it *goes out of the screen* (limiting the game memory usage). 
Line 70: Line 70:
 **Objects** and **Behaviors** can be manipulated using events. You can read the pages about [[gdevelop5:objects|Objects]] and [[gdevelop5:behaviors|Behaviors]] to know more about them. **Objects** and **Behaviors** can be manipulated using events. You can read the pages about [[gdevelop5:objects|Objects]] and [[gdevelop5:behaviors|Behaviors]] to know more about them.
  
-<note tip>You can create *custom behaviors* for your objects. It's even recommended when your game grows. This allow you to put logic about what your objects are doing in the custom behaviors, rather than bloating the events sheet of the scene. You can [[gdevelop5:tutorials:how-to-make-behavior|read more in this article]].</note>+<note tip>You can create *custom behaviors* for your objects. We recommend this as your game grows. It allows you to put logic about what your objects are doing in the custom behaviors, rather than bloating the scene'events sheet. You [[gdevelop5:tutorials:how-to-make-behavior|read more in this article]].</note>
  
 ## Moving objects: using the built-in forces ## Moving objects: using the built-in forces
Line 91: Line 91:
 ### Other ways of moving objects ### Other ways of moving objects
  
-Some "behaviors", like the Physics engine or Pathfinding, may move the objects by themselves. In this case, it is better not to use the builtin forces system and instead rely only on actions provided by these behaviors.+Some "behaviors", like the Physics engine or Pathfinding, may move the objects by themselves. In this case, it is better not to use the built-in forces system and instead rely only on actions provided by these behaviors.
  
 <note tip>**See it in action!** 🎮Open this example online: https://editor.gdevelop-app.com/?project=example://move-object-with-physics</note> <note tip>**See it in action!** 🎮Open this example online: https://editor.gdevelop-app.com/?project=example://move-object-with-physics</note>