GDevelop-extensions icon indicating copy to clipboard operation
GDevelop-extensions copied to clipboard

New extension: <MobBehavior>

Open github-actions[bot] opened this issue 10 months ago • 2 comments

Description

This extension gives your objects mob behaviors

How to use the extension

This extension allows to :

  • Give your mob a movement behavior
  • Give your mob a feeding system
  • Flip your mob in accordance with the movement when going to the right or left
  • Give your mob animations at certain moments
  • Check if your mob is hungry, eating, moving, idling

Checklist

  • [x] I've followed all of the best practices.
  • [X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • [X] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Reviewed

Example file

MobBehaviorGameExample.zip

Extension file

MobBehavior.json.zip

github-actions[bot] avatar Apr 04 '24 15:04 github-actions[bot]

Thank you for submitting an extension.

There is an extension with similar movement features: https://wiki.gdevelop.io/gdevelop5/extensions/travel-to-random-positions/

What do you think about making an update to this existing extension for this part: "Give your mob a movement behavior"? This extension uses a function too because "required behaviors" didn't exist at the time. It should be reworked to be a behavior, so we have free rain to choose which features to do. I think @tristanbob, the extension creator, will be interested in giving guidance.

This is a documentation about creating new behaviors: https://wiki.gdevelop.io/gdevelop5/behaviors/events-based-behaviors/

If you want you can start by listing every features that could be useful for this behavior.

D8H avatar Apr 06 '24 16:04 D8H

Ok, I'll try to update this extension. In the "required behaviors" I put pathfinding and nothing else because it won't work without it.

IDGamesDev avatar Apr 07 '24 20:04 IDGamesDev