Addon ID

  • mycompany_advancedbullet

Info

  • License MIT License
  • Copyright icon Copyright lepachino. All rights reserved.

Statistics

  • Download count75 total downloads
  • Latest download count 30 downloads of latest version
  • Average download count1 downloads per day average

Owners

A list of all Actions, Conditions and Expressions supported in this addon.

  • Actions

    Set {my} speed to {0}

    Set the current movement speed.

    Set {my} angle to {0}

    Set the movement angle in degrees (0 = right, 90 = down).

    Set {my} gravity to {0}

    Set the gravity force (always pulls down).

    Set {my} stop on solid {0}

    Set whether to stop on solid collision.

    Set {my} enable bounce {0}

    Set whether bouncing is enabled.

    Set {my} max bounces to {0}

    Set the maximum number of bounces.

    Set {my} bounce speed factor to {0}

    Set the speed factor after bounce (only if slowdown is enabled).

    Set {my} enable bounce slowdown {0}

    Set whether to apply speed reduction after bounce.

    Set {my} enabled {0}

    Set whether the behavior is enabled.

    Set {my} acceleration to {0}

    Set acceleration (positive = speed up, negative = slow down).

    Set {my} max speed to {0}

    Set maximum speed limit (0 = unlimited).

    Launch {my} at speed {0} angle {1}

    Launch the bullet with specified speed and angle. Resets bounce count.

    Bounce {my} off {0}

    Manually bounce off the specified object (works even if object is not solid).

    Set {my} solid collision filter: {0} tags {1}

    Filter solid collisions by tags. Use inclusive mode to only collide with tagged solids, or exclusive mode to ignore tagged solids.

  • Conditions

    {my} speed {0} {1}

    Compare the current speed of the bullet.

    {my} On hit solid

    Triggered when hitting a solid object (once per contact).

    {my} On bounce

    Triggered when the bullet bounces (once per bounce event).

    {my} angle {0} {1}

    Compare the current movement angle in degrees.

    {my} bounce count {0} {1}

    Compare the current bounce count.

    {my} is moving

    Check if the bullet is currently moving.

    {my} acceleration {0} {1}

    Compare the current acceleration value.

    {my} max speed {0} {1}

    Compare the maximum speed limit.

  • Expressions

    Speed

    Current speed in pixels per second.

    Angle

    Current movement angle in degrees (0 = right, 90 = down).

    Gravity

    Current gravity value (always pulls down).

    BounceCount

    Current bounce count.

    VelocityX

    Current X velocity component (positive = right).

    VelocityY

    Current Y velocity component (positive = down).

    LastHitObjectUID

    UID of the last solid object that was hit (0 if none).

    Acceleration

    Current acceleration value (positive = speeding up, negative = slowing down).

    MaxSpeed

    Maximum speed limit (0 = unlimited).