D8H
d40e360b8a
Add support for behaviors based on other behaviors ("behavior composition") ( #2781 )
...
* This allows [custom behaviors](http://wiki.compilgames.net/doku.php/gdevelop5/behaviors/events-based-behaviors ), that you can create in your project or get from extensions, to require the presence of one or multiple other behaviors on an object.
* This is an advanced feature that is helpful to create behaviors that are based on other. For example, a behavior "Platformer enemy" using the "Platformer object" behavior and adding specific actions, conditions and logic to make an enemy chase the player.
* If you create a behavior and want to use this, just go to the properties of this behavior and add a new property. Choose the type "Required Behavior" for this property. You can then use this new behavior in the events of the behavior you just edited.
* To use a behavior based on another, you don't need to do anything special! Just add it to your object as usual: any missing behavior will be added to your object, so you can start using it immediately.
2021-09-06 19:51:42 +01:00
..
2020-06-09 22:02:18 +01:00
2021-06-05 14:27:28 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-10-14 23:36:21 +01:00
2020-06-23 22:40:38 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-23 22:40:38 +01:00
2021-08-12 15:54:19 +02:00
2020-06-23 22:40:38 +01:00
2020-06-23 22:40:38 +01:00
2021-05-07 14:57:00 +01:00
2020-10-14 23:36:21 +01:00
2021-03-02 00:01:11 +00:00
2020-06-09 22:02:18 +01:00
2021-08-12 17:05:32 +02:00
2020-06-09 22:02:18 +01:00
2021-08-20 15:01:06 +02:00
2021-05-22 00:22:58 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2021-02-15 18:31:38 +01:00
2020-06-09 22:02:18 +01:00
2021-03-02 00:01:11 +00:00
2020-06-09 22:02:18 +01:00
2021-09-06 19:51:42 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2021-05-25 23:37:25 +01:00
2021-08-23 12:27:47 +02:00
2020-06-09 22:02:18 +01:00
2021-06-05 14:27:28 +01:00
2020-06-09 22:02:18 +01:00
2021-02-22 14:29:06 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-08-24 20:51:10 +01:00
2020-06-09 22:02:18 +01:00
2021-08-12 17:05:32 +02:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-11-29 18:50:07 +00:00
2020-10-14 23:36:21 +01:00
2020-10-14 23:36:21 +01:00
2020-11-07 00:30:21 +00:00
2020-06-09 22:02:18 +01:00
2021-03-13 21:34:53 +00:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2021-08-12 10:28:01 +02:00
2021-07-06 17:13:00 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-10-19 09:35:19 +01:00
2020-06-09 22:02:18 +01:00
2021-07-11 17:16:04 +01:00
2021-07-17 11:56:04 +01:00
2021-08-12 17:05:32 +02:00
2020-06-09 22:02:18 +01:00
2020-10-14 23:36:21 +01:00
2021-07-19 19:52:25 +01:00
2020-08-24 20:51:10 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-20 17:59:27 +01:00
2021-03-13 21:34:53 +00:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2021-07-11 17:16:04 +01:00
2021-02-18 17:40:25 +01:00
2021-08-25 10:05:30 +02:00
2020-06-09 22:02:18 +01:00
2021-05-31 22:22:08 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-23 22:40:38 +01:00
2021-02-18 17:40:25 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2021-02-18 17:40:25 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2021-07-19 19:52:25 +01:00
2021-08-24 10:44:06 +02:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2021-08-25 10:05:30 +02:00
2020-10-14 23:36:21 +01:00
2020-11-12 21:14:18 +00:00
2021-05-07 14:57:00 +01:00
2020-11-12 21:14:18 +00:00
2020-10-14 23:36:21 +01:00
2020-10-14 23:36:21 +01:00
2021-03-13 21:34:53 +00:00
2021-03-13 21:34:53 +00:00
2021-03-13 21:34:53 +00:00
2020-06-09 22:02:18 +01:00
2020-06-15 10:03:15 +01:00
2021-03-13 21:34:53 +00:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-10-14 23:36:21 +01:00
2020-06-09 22:02:18 +01:00
2021-07-06 17:13:00 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2021-09-06 19:51:42 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2021-05-07 22:46:02 +02:00
2021-03-07 21:53:12 +00:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-08-24 20:51:10 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2021-03-13 21:34:53 +00:00
2020-06-09 22:02:18 +01:00
2021-01-18 22:59:59 +00:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2021-09-06 19:51:42 +01:00
2021-03-07 21:53:12 +00:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-06-09 22:02:18 +01:00
2020-10-14 23:36:21 +01:00
2021-09-06 19:51:42 +01:00
2021-09-06 19:51:42 +01:00
2021-05-22 00:22:58 +01:00
2020-06-09 22:02:18 +01:00
2021-03-07 21:53:12 +00:00