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
..
2021-08-20 15:01:06 +02:00
2021-09-06 19:51:42 +01:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2021-08-05 14:25:43 +02:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2021-08-20 15:01:06 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2016-12-31 18:38:45 +01:00
2016-12-31 18:38:45 +01:00
2016-07-27 01:14:16 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2016-02-28 21:16:36 +01:00
2016-02-28 21:16:36 +01:00
2015-08-17 23:52:59 +02:00
2016-05-15 17:36:24 +02:00
2015-01-14 21:51:34 +01:00
2015-03-03 08:19:08 +01:00
2016-03-28 00:47:12 +02:00
2015-09-03 18:25:41 +02:00
2014-08-25 21:03:59 +02:00
2016-02-28 21:16:36 +01:00
2016-02-28 21:16:36 +01:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2014-08-25 21:03:59 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2015-08-17 23:52:59 +02:00
2014-08-25 21:03:59 +02:00
2016-05-15 17:36:24 +02:00
2015-09-03 18:25:41 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2015-05-02 18:36:52 +12:00
2016-05-15 17:36:24 +02:00
2016-04-26 22:55:15 +02:00
2014-12-23 14:24:01 +01:00
2016-03-05 14:48:11 +01:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2015-08-17 23:52:59 +02:00
2015-08-17 23:52:59 +02:00
2016-03-05 18:09:30 +01:00
2015-01-14 21:51:34 +01:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2015-09-03 18:25:41 +02:00
2015-09-03 18:25:41 +02:00
2014-08-25 21:03:59 +02:00
2016-08-07 22:26:41 +02:00
2015-08-17 23:52:59 +02:00
2016-05-15 17:36:24 +02:00
2015-08-17 23:52:59 +02:00
2016-05-15 17:36:24 +02:00
2014-08-25 21:03:59 +02:00
2016-12-01 22:18:08 +01:00
2016-05-15 17:36:24 +02:00
2019-01-28 23:16:20 +00:00
2014-08-25 21:03:59 +02:00
2015-09-03 18:25:41 +02:00
2015-08-17 23:52:59 +02:00
2014-08-25 21:03:59 +02:00
2015-08-17 23:52:59 +02:00
2015-08-17 23:52:59 +02:00
2015-08-17 23:52:59 +02:00
2016-04-24 16:18:12 +02:00
2015-11-01 11:26:40 +01:00
2015-08-17 23:52:59 +02:00
2015-05-02 18:36:52 +12:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2014-12-23 14:24:01 +01:00
2014-12-23 14:24:01 +01:00
2014-08-25 21:03:59 +02:00
2016-03-14 19:50:23 +01:00
2016-03-28 00:47:12 +02:00
2015-09-11 17:29:45 +02:00
2015-09-03 18:25:41 +02:00
2015-07-27 10:54:17 +12:00
2015-07-27 10:54:17 +12:00
2016-12-31 18:38:45 +01:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2015-08-17 23:52:59 +02:00
2016-05-15 17:36:24 +02:00
2015-03-03 11:12:53 +01:00
2014-08-25 21:03:59 +02:00
2015-08-17 23:52:59 +02:00
2018-07-21 19:06:26 +01:00
2015-08-17 23:52:59 +02:00
2018-02-17 16:02:13 -03:00
2015-09-03 18:25:41 +02:00
2016-05-15 17:36:24 +02:00
2014-08-25 21:03:59 +02:00
2015-08-17 23:52:59 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2018-02-17 16:00:18 -03:00
2015-08-17 23:52:59 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-05-15 17:36:24 +02:00
2016-07-17 14:32:13 +02:00
2019-10-26 11:04:23 +01:00
2016-05-09 23:05:19 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2014-08-25 21:03:59 +02:00
2016-02-28 21:16:36 +01:00
2018-01-09 23:03:26 +01:00
2016-03-05 18:09:30 +01:00
2016-03-05 18:09:30 +01:00
2015-01-20 23:10:09 +01:00
2015-08-17 23:52:59 +02:00
2015-08-17 23:52:59 +02:00