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

New extension: <Superflight>

Open github-actions[bot] opened this issue 1 year ago • 2 comments

Description

Purpose

This addon contains a behaviour that, when applied to an object, can make the object fly in a controllable manner. The main source of controls are the available actions bundled with the Flight ability behaviour.

New experiences available

¤Make an object fly in any direction on a 2-dimensional plane ¤Make the object do a constant up-and-down movement while doing passive flight (referred to as floating) ¤Make the object jump up a bit when getting into flight (referred to as jump-up)

Adjustable number options within the behaviour page

¤Horizontal and vertical acceleration and deceleration ¤Maximum horizontal and vertical speed ¤The speed of the jump-up ¤The maximum distance of floating ¤The speed of floating ¤The motion cutoff value, where flight below this speed is considered to be inactive flight, and flight above this speed is considered to be active

How to use the extension

This extension contains a Flight ability behaviour, that makes the object fly.

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?

Community (Unreviewed)

Example file

SuperflightBehv.zip (use buttons W A S D, and F)

Extension file

Superflight.json.zip

github-actions[bot] avatar Nov 19 '24 16:11 github-actions[bot]

Thank you for submitting an extension.

Is it expected that the character is able to go inside the platforms when it fly? Have you considered using the ellipse movement behavior for the floating part?

D8H avatar Dec 26 '24 19:12 D8H

Hi D8H! Sorry, I just noticed your message after.... 7 months, yes. (in my defense, I didn't get notified) I will make an update with the ellipse movement, so that the behaviour code design is more human. But I don't know how to deal with the collision stuff. Is it even possible to check if an object has a certain behaviour activated? If yes, then I will definitely fix all issues.

VargaanyaMuuvek avatar Jul 05 '25 17:07 VargaanyaMuuvek