Afterbirth+ Documentation
  • README
  • beta
    • docs
      • Class "RoomConfig::Entry"
      • Class "ItemConfig::Card"
      • Class "PlayerTypes::PosVel"
      • enums
        • Enum "DoorVariant"
        • CollectibleType
        • Enum "ActionTriggers"
        • Enum "Card"
        • Enum "NpcState"
        • Enum "EffectVariant"
        • Enum "EntityGridCollisionClass"
        • Enum "EntityFlag"
        • Enum "LocustSubtypes"
        • Enum "LevelCurse"
        • Enum "GridRooms"
        • Enum "TrinketType"
        • Enum "SortingLayer"
        • Enum "ItemType"
        • Enum "GridCollisionClass"
        • Enum "ModCallbacks"
        • Enum "DoorSlot"
        • Enum "CacheFlag"
        • Enum "PillEffect"
        • Enum "EntityCollisionClass"
        • Enum "ItemPoolType"
        • Enum "PickupPrice"
        • Enum "InputHook"
        • Enum "ButtonAction"
        • Enum "PlayerSpriteLayer"
        • Enum "Keyboard"
        • Enum "GameStateFlag"
        • Enum "PillColor"
        • Enum "CoinSubType"
        • Enum "PlayerForm"
        • Enum "PickupVariant"
        • Enum "GridEntityType"
        • Enum "EntityPartition"
        • Enum "SeedEffect"
        • Enum "RoomShape"
        • Enum "Mouse"
        • Enum "TearFlags"
        • Enum "Music"
        • Enum "BabySubType"
        • Enum "BombVariant"
        • Enum "DoorState"
        • Enum "Challenge"
        • Enum "TearVariant"
        • Enum "EntityType"
        • Enum "SoundEffect"
        • Enum "FamiliarVariant"
        • Enum "PlayerType"
        • Enum "Difficulty"
        • Enum "DamageFlag"
        • Enum "Direction"
        • Enum "KeySubType"
        • Enum "LaserOffset"
        • Enum "ProjectileFlags"
        • Enum "LevelStage"
        • Enum "PlayerItemState"
        • Enum "LevelStateFlag"
        • Enum "ChestSubType"
        • Enum "ProjectileVariant"
        • Enum "WeaponType"
        • Enum "RoomType"
        • Enum "NullItemID"
        • Enum "StageType"
        • Enum "HeartSubType"
        • Enum "BombSubType"
      • Class "Isaac"
      • Class "ProjectileParams"
      • Class "Font"
      • Class "ItemPool"
      • Class "GridEntityRock"
      • tutorials
        • Class "[Tutorial]Rendertext"
        • Tutorial: Example Project
        • Class "XMLFiledocumentation"
        • Class "Writingscreenshaders"
        • Class "DebugConsole"
        • [Tutorial] Adding Costumes to items without LUA
        • Class "Usingadditional.luaFiles"
        • [Tutorial] Debugging with ZeroBrane Studio
      • Class "CppContainer::Vector::ItemConfigList"
      • Class "EntityProjectile"
      • Class "CppContainer::ArrayProxy"
      • Class "CppContainer::Vector::CardConfigList"
      • Class "PathFinder"
      • Class "ItemConfig::PillEffect"
      • Class "CppContainer::Vector::EffectList"
      • Class "RoomDescriptor"
      • Class "GridEntity"
      • Class "GridEntityPoop"
      • PLACEHOLDER
      • Class "TearParams"
      • Class "GridEntityPit"
      • Class "EntityFamiliar"
      • Class "MusicManager"
      • Class "SFXManager"
      • Lua API Documentation for The Binding of Isaac - Afterbirth+
      • Class "GridEntityTNT"
      • Class "EntityRef"
      • Class "Sprite"
      • Class "EntityBomb"
      • Class "EntityTear"
      • Class "QueueItemData"
      • Class "EntityPlayer"
      • Class "Vector"
      • Class "Entity"
      • Class "ItemConfig::Config"
      • Class "CppContainer::ArrayProxy::RoomList"
      • Class "RNG"
      • Class "EntityPtr"
      • Class "Input"
      • Class "EntityPickup"
      • Class "EntityLaser"
      • Class "GridEntityPressurePlate"
      • Class "CppContainer::Vector::VectorList"
      • Class "Room"
      • Class "CppContainer::Vector::CostumeConfigList"
      • Class "GridEntityDesc"
      • Class "Level"
      • Class "RoomConfig::Spawn"
      • Class "Color"
      • Class "KColor"
      • Class "TemporaryEffect"
      • Class "EntityKnife"
      • Class "Seeds"
      • Class "CppContainer::EntityList"
      • Class "GridEntityDoor"
      • Class "ShockwaveParams"
      • Class "ItemConfig::Costume"
      • Class "GridEntitySpikes"
      • Class "EntityEffect"
      • Class "CppContainer::Vector::PillConfigList"
      • Class "EntityNPC"
      • Class "RoomDescriptorData"
      • Class "ItemConfig::Item"
      • Class "RoomConfig::Room"
      • Class "Game"
      • Class "TemporaryEffects"
      • Class "PlayerTypes::ActiveItemDesc"
      • Class "Global Functions"
Powered by GitBook
On this page
  • Constructors
  • ProjectileParams () {: aria-label='Constructors' }
  • Variables
  • Acceleration {: aria-label='Variables' }
  • BulletFlags {: aria-label='Variables' }
  • ChangeFlags {: aria-label='Variables' }
  • ChangeTimeout {: aria-label='Variables' }
  • ChangeVelocity {: aria-label='Variables' }
  • CircleAngle {: aria-label='Variables' }
  • CurvingStrength {: aria-label='Variables' }
  • DepthOffset {: aria-label='Variables' }
  • DotProductLimit {: aria-label='Variables' }
  • FallingAccelModifier {: aria-label='Variables' }
  • FallingSpeedModifier {: aria-label='Variables' }
  • FireDirectionLimit {: aria-label='Variables' }
  • GridCollision {: aria-label='Variables' }
  • HeightModifier {: aria-label='Variables' }
  • HomingStrength {: aria-label='Variables' }
  • Color {: aria-label='Variables' }
  • PositionOffset {: aria-label='Variables' }
  • Scale {: aria-label='Variables' }
  • Spread {: aria-label='Variables' }
  • TargetPosition {: aria-label='Variables' }
  • Variant {: aria-label='Variables' }
  • VelocityMulti {: aria-label='Variables' }
  • WiggleFrameOffset {: aria-label='Variables' }

Was this helpful?

  1. beta
  2. docs

Class "ProjectileParams"

PreviousClass "Isaac"NextClass "Font"

Last updated 4 years ago

Was this helpful?

Constructors

() {: aria-label='Constructors' }

{: .abp .tooltip .badge }

void ( void ) {: .copyable aria-label='Constructors' }

Variables

Acceleration {: aria-label='Variables' }

{: .abp .tooltip .badge }

float Acceleration {: .copyable aria-label='Variables' }

BulletFlags {: aria-label='Variables' }

{: .abp .tooltip .badge }

int BulletFlags {: .copyable aria-label='Variables' }

ChangeFlags {: aria-label='Variables' }

int ChangeFlags {: .copyable aria-label='Variables' }

Informations about "Changed" State:

Projectiles can have two states: normal (default) and changed.

ChangeTimeout {: aria-label='Variables' }

int ChangeTimeout {: .copyable aria-label='Variables' }

Informations about "Changed" State:

Projectiles can have two states: normal (default) and changed.

ChangeVelocity {: aria-label='Variables' }

float ChangeVelocity {: .copyable aria-label='Variables' }

Informations about "Changed" State:

Projectiles can have two states: normal (default) and changed.

CircleAngle {: aria-label='Variables' }

float CircleAngle {: .copyable aria-label='Variables' }

Angle offset used by fire_projectiles PROJECTILES_CIRCLE type emitter. Random by default.

CurvingStrength {: aria-label='Variables' }

float CurvingStrength {: .copyable aria-label='Variables' }

Use very small values for curving like 0.005.

DepthOffset {: aria-label='Variables' }

float DepthOffset {: .copyable aria-label='Variables' }

DotProductLimit {: aria-label='Variables' }

float DotProductLimit {: .copyable aria-label='Variables' }

Direction bullets are being fired in Dot product of FireDirectionLimit, bullet direction must be >= this value

FallingAccelModifier {: aria-label='Variables' }

float FallingAccelModifier {: .copyable aria-label='Variables' }

FallingSpeedModifier {: aria-label='Variables' }

float FallingSpeedModifier {: .copyable aria-label='Variables' }

FireDirectionLimit {: aria-label='Variables' }

GridCollision {: aria-label='Variables' }

boolean GridCollision {: .copyable aria-label='Variables' }

HeightModifier {: aria-label='Variables' }

float HeightModifier {: .copyable aria-label='Variables' }

HomingStrength {: aria-label='Variables' }

float HomingStrength {: .copyable aria-label='Variables' }

Multiplier on normal homing strength. Unused if SMART bullet flag is not set.

PositionOffset {: aria-label='Variables' }

Scale {: aria-label='Variables' }

float Scale {: .copyable aria-label='Variables' }

Spread {: aria-label='Variables' }

float Spread {: .copyable aria-label='Variables' }

For quad/quint/etc spread shots.

TargetPosition {: aria-label='Variables' }

Variant {: aria-label='Variables' }

int Variant {: .copyable aria-label='Variables' }

VelocityMulti {: aria-label='Variables' }

float VelocityMulti {: .copyable aria-label='Variables' }

WiggleFrameOffset {: aria-label='Variables' }

int WiggleFrameOffset {: .copyable aria-label='Variables' }

Used to offset the wiggle wave.

{: .abp .tooltip .badge }

Uses to define the projectile attributes after the "Changed" state was activated. The .CHANGE_FLAGS_AFTER_TIMEOUT needs to be set to allow for this change to apply!

Changed state activates when projectile's frame count reaches the value set in . After that its flags get changed to what was set in and velocity will be resized to length set in .

Also used in:

{: .abp .tooltip .badge }

Number of frames that need to elapse after spawn till the "Changed" state is activated. The .CHANGE_FLAGS_AFTER_TIMEOUT or CHANGE_VELOCITY_AFTER_TIMEOUT need to be set to allow for this change to apply!

Changed state activates when projectile's frame count reaches the value set in . After that its flags get changed to what was set in and velocity will be resized to length set in .

Also used in:

{: .abp .tooltip .badge }

Velocity value that gets applied when the "Changed" state is activated. The .CHANGE_VELOCITY_AFTER_TIMEOUT need to be set to allow for this change to apply!

Changed state activates when projectile's frame count reaches the value set in . After that its flags get changed to what was set in and velocity will be resized to length set in .

Also used in:

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

FireDirectionLimit {: .copyable aria-label='Variables' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: aria-label='Variables' }

{: .abp .tooltip .badge }

{: .copyable aria-label='Variables' }

{: .abp .tooltip .badge }

PositionOffset {: .copyable aria-label='Variables' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

TargetPosition {: .copyable aria-label='Variables' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

ProjectileParams
ProjectileParams
ProjectileFlags
ProjectileFlag
EntityProjectile
ProjectileFlag
EntityProjectile
ProjectileFlag
EntityProjectile
Vector
Color
Color
Color
Vector
Vector
ChangeTimeout
ChangeFlags
ChangeVelocity
ChangeTimeout
ChangeFlags
ChangeVelocity
ChangeTimeout
ChangeFlags
ChangeVelocity