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
  • Functions
  • AddDevilRoomDeal () {: aria-label='Functions' }
  • AddEncounteredBoss () {: aria-label='Functions' }
  • AddPixelation () {: aria-label='Functions' }
  • AddStageWithoutDamage () {: aria-label='Functions' }
  • AddStageWithoutHeartsPicked () {: aria-label='Functions' }
  • AddTreasureRoomsVisited () {: aria-label='Functions' }
  • BombDamage () {: aria-label='Functions' }
  • BombExplosionEffects () {: aria-label='Functions' }
  • BombTearflagEffects () {: aria-label='Functions' }
  • ButterBeanFart () {: aria-label='Functions' }
  • ChangeRoom () {: aria-label='Functions' }
  • CharmFart () {: aria-label='Functions' }
  • ClearDonationModAngel () {: aria-label='Functions' }
  • ClearDonationModGreed () {: aria-label='Functions' }
  • ClearStagesWithoutDamage () {: aria-label='Functions' }
  • ClearStagesWithoutHeartsPicked () {: aria-label='Functions' }
  • Darken () {: aria-label='Functions' }
  • DonateAngel () {: aria-label='Functions' }
  • DonateGreed () {: aria-label='Functions' }
  • End () {: aria-label='Functions' }
  • Fadein () {: aria-label='Functions' }
  • Fadeout () {: aria-label='Functions' }
  • Fart () {: aria-label='Functions' }
  • FinishChallenge () {: aria-label='Functions' }
  • GetAmbush () {: aria-label='Functions' }
  • GetDarknessModifier () {: aria-label='Functions' }
  • GetDevilRoomDeals () {: aria-label='Functions' }
  • GetDonationModAngel () {: aria-label='Functions' }
  • GetDonationModGreed () {: aria-label='Functions' }
  • GetFont () {: aria-label='Functions' }
  • GetFrameCount () {: aria-label='Functions' }
  • GetGreedBossWaveNum () {: aria-label='Functions' }
  • GetGreedWavesNum () {: aria-label='Functions' }
  • GetItemHistory () {: aria-label='Functions' }
  • GetItemOverlay () {: aria-label='Functions' }
  • GetItemPool () {: aria-label='Functions' }
  • LevelStage () {: aria-label='Functions' }
  • GetLastLevelWithDamage () {: aria-label='Functions' }
  • GetLastLevelWithoutHalfHp () {: aria-label='Functions' }
  • GetLevel () {: aria-label='Functions' }
  • GetNearestPlayer () {: aria-label='Functions' }
  • GetNumEncounteredBosses () {: aria-label='Functions' }
  • GetNumPlayers () {: aria-label='Functions' }
  • GetPlayer () {: aria-label='Functions' }
  • GetRandomPlayer () {: aria-label='Functions' }
  • GetRoom () {: aria-label='Functions' }
  • GetScreenShakeCountdown () {: aria-label='Functions' }
  • GetSeeds () {: aria-label='Functions' }
  • GetStagesWithoutDamage () {: aria-label='Functions' }
  • GetStagesWithoutHeartsPicked () {: aria-label='Functions' }
  • GetStateFlag () {: aria-label='Functions' }
  • GetTargetDarkness () {: aria-label='Functions' }
  • GetTreasureRoomVisitCount () {: aria-label='Functions' }
  • GetVictoryLap () {: aria-label='Functions' }
  • HasEncounteredBoss () {: aria-label='Functions' }
  • HasHallucination () {: aria-label='Functions' }
  • IsGreedMode () {: aria-label='Functions' }
  • IsPaused () {: aria-label='Functions' }
  • MoveToRandomRoom () {: aria-label='Functions' }
  • NextVictoryLap () {: aria-label='Functions' }
  • Render () {: aria-label='Functions' }
  • RerollEnemy () {: aria-label='Functions' }
  • RerollLevelCollectibles () {: aria-label='Functions' }
  • RerollLevelPickups () {: aria-label='Functions' }
  • SetLastDevilRoomStage () {: aria-label='Functions' }
  • SetLastLevelWithDamage () {: aria-label='Functions' }
  • SetLastLevelWithoutHalfHp () {: aria-label='Functions' }
  • SetStateFlag () {: aria-label='Functions' }
  • ShakeScreen () {: aria-label='Functions' }
  • ShowFortune () {: aria-label='Functions' }
  • ShowHallucination () {: aria-label='Functions' }
  • ShowRule () {: aria-label='Functions' }
  • Spawn () {: aria-label='Functions' }
  • SpawnEntityDesc () {: aria-label='Functions' }
  • SpawnParticles () {: aria-label='Functions' }
  • StartRoomTransition () {: aria-label='Functions' }
  • StartStageTransition () {: aria-label='Functions' }
  • Update () {: aria-label='Functions' }
  • UpdateStrangeAttractor () {: aria-label='Functions' }
  • Variables
  • BlueWombParTime {: aria-label='Variables' }
  • BossRushParTime {: aria-label='Variables' }
  • Challenge {: aria-label='Variables' }
  • Difficulty {: aria-label='Variables' }
  • ScreenShakeOffset {: aria-label='Variables' }
  • TimeCounter {: aria-label='Variables' }

Was this helpful?

  1. beta
  2. docs

Class "Game"

PreviousClass "RoomConfig::Room"NextClass "TemporaryEffects"

Last updated 4 years ago

Was this helpful?

Functions

AddDevilRoomDeal () {: aria-label='Functions' }

{: .abp .tooltip .badge }

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

AddEncounteredBoss () {: aria-label='Functions' }

{: .abp .tooltip .badge }

void AddEncounteredBoss ( Boss, int Variant ) {: .copyable aria-label='Functions' }

AddPixelation () {: aria-label='Functions' }

{: .abp .tooltip .badge }

void AddPixelation ( int Duration ) {: .copyable aria-label='Functions' }

Triggers the effect of the "retro vision" pill.

AddStageWithoutDamage () {: aria-label='Functions' }

{: .abp .tooltip .badge }

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

Increases the ingame counter, that keeps track of the stages you cleared without taking damage. (useful for Devil deal manipulations)

AddStageWithoutHeartsPicked () {: aria-label='Functions' }

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

Increases the ingame counter, that keeps track of stages you cleared without picking up hearts.

AddTreasureRoomsVisited () {: aria-label='Functions' }

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

BombDamage () {: aria-label='Functions' }

BombExplosionEffects () {: aria-label='Functions' }

The complete bomb explosion package: Do damage, spawn boomgraphics, and apply tearflag-based effects.

BombTearflagEffects () {: aria-label='Functions' }

Does bomb-exclusive special effects.

ButterBeanFart () {: aria-label='Functions' }

ChangeRoom () {: aria-label='Functions' }

void ChangeRoom ( int RoomIndex ) {: .copyable aria-label='Functions' }

CharmFart () {: aria-label='Functions' }

ClearDonationModAngel () {: aria-label='Functions' }

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

ClearDonationModGreed () {: aria-label='Functions' }

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

ClearStagesWithoutDamage () {: aria-label='Functions' }

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

Sets the counter for stages cleared without damage to 0.

ClearStagesWithoutHeartsPicked () {: aria-label='Functions' }

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

Sets the counter for stages cleared without picking up hearts to 0.

Darken () {: aria-label='Functions' }

void Darken ( float Darkness, int Timeout ) {: .copyable aria-label='Functions' }

DonateAngel () {: aria-label='Functions' }

void DonateAngel ( int Donate ) {: .copyable aria-label='Functions' }

DonateGreed () {: aria-label='Functions' }

void DonateGreed ( int Donate ) {: .copyable aria-label='Functions' }

End () {: aria-label='Functions' }

void End ( Ending Ending ) {: .copyable aria-label='Functions' }

remove entity from the update list (render only) void EnableEntity(Entity e); add entity back to the update list (update + render) void DisableEntity(Entity e);

Fadein () {: aria-label='Functions' }

void Fadein ( float Speed ) {: .copyable aria-label='Functions' }

Fadeout () {: aria-label='Functions' }

void Fadeout ( float Speed, FadeoutTarget Target ) {: .copyable aria-label='Functions' }

Fart () {: aria-label='Functions' }

FinishChallenge () {: aria-label='Functions' }

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

GetAmbush () {: aria-label='Functions' }

Ambush GetAmbush ( ) {: .copyable aria-label='Functions' }

GetDarknessModifier () {: aria-label='Functions' }

float GetDarknessModifier ( ) {: .copyable aria-label='Functions' }

GetDevilRoomDeals () {: aria-label='Functions' }

int GetDevilRoomDeals ( ) {: .copyable aria-label='Functions' }

GetDonationModAngel () {: aria-label='Functions' }

int GetDonationModAngel ( ) {: .copyable aria-label='Functions' }

Get the value that indicates the angel-counter of a shop-donation maschine. This Stat increases everytime you donate to a shop. A higher number grants a few advantages.

GetDonationModGreed () {: aria-label='Functions' }

int GetDonationModGreed ( ) {: .copyable aria-label='Functions' }

GetFont () {: aria-label='Functions' }

GetFrameCount () {: aria-label='Functions' }

int GetFrameCount ( ) {: .copyable aria-label='Functions' }

Returns the number of frames the gameplay is actively running. Pauses are therefore not included! 1 second equals 30 frames. This function therefore works drastically different than :::lua Isaac.GetFrameCount()

???- example "Example Code" This code returns hours, minutes, seconds, and milliseconds of the game running actively:

    local curTime = Game():GetFrameCount()
    local msecs= curTime%30 * (10/3) -- turns the millisecond value range from [0 to 30] to [0 to 100]
    local secs= math.floor(curTime/30)%60
    local mins= math.floor(curTime/30/60)%60
    local hours= math.floor(curTime/30/60/60)%60

GetGreedBossWaveNum () {: aria-label='Functions' }

int GetGreedBossWaveNum ( ) {: .copyable aria-label='Functions' }

GetGreedWavesNum () {: aria-label='Functions' }

int GetGreedWavesNum ( ) {: .copyable aria-label='Functions' }

GetItemHistory () {: aria-label='Functions' }

History GetItemHistory ( ) {: .copyable aria-label='Functions' }

GetItemOverlay () {: aria-label='Functions' }

ItemOverlay GetItemOverlay ( ) {: .copyable aria-label='Functions' }

GetItemPool () {: aria-label='Functions' }

???- note "Notes" Since it returns UserData, this function is unusable and therefore broken.

GetLastLevelWithDamage () {: aria-label='Functions' }

GetLastLevelWithoutHalfHp () {: aria-label='Functions' }

GetLevel () {: aria-label='Functions' }

GetNearestPlayer () {: aria-label='Functions' }

GetNumEncounteredBosses () {: aria-label='Functions' }

int GetNumEncounteredBosses ( ) {: .copyable aria-label='Functions' }

GetNumPlayers () {: aria-label='Functions' }

int GetNumPlayers ( ) {: .copyable aria-label='Functions' }

GetPlayer () {: aria-label='Functions' }

GetRandomPlayer () {: aria-label='Functions' }

GetRoom () {: aria-label='Functions' }

GetScreenShakeCountdown () {: aria-label='Functions' }

int GetScreenShakeCountdown ( ) {: .copyable aria-label='Functions' }

GetSeeds () {: aria-label='Functions' }

GetStagesWithoutDamage () {: aria-label='Functions' }

int GetStagesWithoutDamage ( ) {: .copyable aria-label='Functions' }

GetStagesWithoutHeartsPicked () {: aria-label='Functions' }

int GetStagesWithoutHeartsPicked ( ) {: .copyable aria-label='Functions' }

GetStateFlag () {: aria-label='Functions' }

boolean GetStateFlag ( StateFlag StateFlag ) {: .copyable aria-label='Functions' }

GetTargetDarkness () {: aria-label='Functions' }

float GetTargetDarkness ( ) {: .copyable aria-label='Functions' }

GetTreasureRoomVisitCount () {: aria-label='Functions' }

int GetTreasureRoomVisitCount ( ) {: .copyable aria-label='Functions' }

GetVictoryLap () {: aria-label='Functions' }

int GetVictoryLap ( ) {: .copyable aria-label='Functions' }

HasEncounteredBoss () {: aria-label='Functions' }

HasHallucination () {: aria-label='Functions' }

int HasHallucination ( ) {: .copyable aria-label='Functions' }

IsGreedMode () {: aria-label='Functions' }

boolean IsGreedMode ( ) {: .copyable aria-label='Functions' }

IsPaused () {: aria-label='Functions' }

boolean IsPaused ( ) {: .copyable aria-label='Functions' }

Returns true, if the game is in a state, where the player is unable to input any thing or the game logic is paused. This includes hiving the pause menu opened, being in room transitions/cutscenes or while displaying a "big book" animation.

MoveToRandomRoom () {: aria-label='Functions' }

void MoveToRandomRoom ( boolean IAmErrorRoom, int Seed ) {: .copyable aria-label='Functions' }

NextVictoryLap () {: aria-label='Functions' }

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

Render () {: aria-label='Functions' }

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

RerollEnemy () {: aria-label='Functions' }

RerollLevelCollectibles () {: aria-label='Functions' }

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

RerollLevelPickups () {: aria-label='Functions' }

void RerollLevelPickups ( int Seed ) {: .copyable aria-label='Functions' }

SetLastDevilRoomStage () {: aria-label='Functions' }

SetLastLevelWithDamage () {: aria-label='Functions' }

SetLastLevelWithoutHalfHp () {: aria-label='Functions' }

SetStateFlag () {: aria-label='Functions' }

void SetStateFlag ( StateFlag StateFlag, boolean Val ) {: .copyable aria-label='Functions' }

ShakeScreen () {: aria-label='Functions' }

void ShakeScreen ( int Timeout ) {: .copyable aria-label='Functions' }

ShowFortune () {: aria-label='Functions' }

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

ShowHallucination () {: aria-label='Functions' }

void ShowHallucination ( int FrameCount, Backdrop::Backdrop HallucinationBackdrop ) {: .copyable aria-label='Functions' }

Plays the Delirium animation (Static noise intersected with past gameplay fotage), which will also change the background of the current room.

???- example "Example Code" This code emulated the effect of this function by hijacking the Delirious item effect

    local usagetime = -1 -- stores the last time the effect was called.

    -- call this function to play the Hallucination effect
    function playHallucination()
    local player = Isaac.GetPlayer(0)
    usagetime = Game().TimeCounter
    player:UseActiveItem(510, false, false, false, false) -- use the delirious item without applying the costume
    player:GetEffects():RemoveCollectibleEffect(510) -- remove any unwanted side effects of the item usage
    end

    -- Removes all spawned NPC entities when activating the function
    function mod:onFriendlyInit(npc) 
        if Game().TimeCounter-usagetime == 0 then -- only remove enemies that spawned when the effect was called!
            npc:Remove()
        end
    end
    mod:AddCallback(ModCallbacks.MC_POST_NPC_INIT, mod.onFriendlyInit)

???+ bug "Bugs" This function does not work and will crash your game on use!

ShowRule () {: aria-label='Functions' }

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

Spawn () {: aria-label='Functions' }

???- example "Example Code" This code spawns a Leech with specific seed.

    Game():Spawn(
      EntityType.ENTITY_LEECH, -- Type
      0, -- Variant
      Game():GetRoom():GetCenterPos(), -- Position
      Vector(0, 0), -- Velocity
      nil, -- Parent
      0, -- SubType
      Game():GetRoom():GetSpawnSeed() -- Seed (the "GetSpawnSeed()" function gets a reproducible seed based on the room, e.g. "2496979501")
    )

SpawnEntityDesc () {: aria-label='Functions' }

SpawnParticles () {: aria-label='Functions' }

StartRoomTransition () {: aria-label='Functions' }

???- note "Notes" Available Animation types (Discovered by "ilise rose" (@yatboim)):

0: (Default) Standard transition, sweeps the room in from a direction
1: (Fade) Fade to black transition, like its used for the "goto" - console command
2: (Stage) Pixel out transition, like used for crawlspaces and the trapdoor at the end of floors
3: (Teleport) teleport transition, isaac teleports out of the current room and into the next
5: (Ankh) Same as standard transition
6: (Dead Cat) Same as standard transition
7: (1Up) Same as standard transition
8: (Guppys Collar) Same as standard transition
9: (Judas Shadow) Same as standard transition
10: (Lazarus Rags) Same as standard transition
12: (Glowing Hourglass) Same as standard transition
13: (D7) Same as standard transition
14: (Missing Poster) Same as standard transition

???+ bug "Bugs" The Direction variable is completely ignored at all times, with the game instead calculating the direction between the two rooms itself for the animation. The two rooms are the current room and the room of the RoomIndex. It has no impact on the doors either.

StartStageTransition () {: aria-label='Functions' }

void StartStageTransition ( boolean SameStage, StageTransition::Animation Animation ) {: .copyable aria-label='Functions' }

Starts a transition animation like it`s playing when entering a trapdoor to switch between stages. Stage Transition types:

  • 0: Standard transition. Removes the playermodel before the pixel fadeout. Then plays the Stage Nightmare animation. The player starts in fetal position after the transition.

  • 1: Standard transition with pixel fadein/out, nightmare cutscene but the player model doesnt get removed and starts in the normal standing position after the transition.

  • >2: Same as 0

Update () {: aria-label='Functions' }

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

UpdateStrangeAttractor () {: aria-label='Functions' }

Variables

BlueWombParTime {: aria-label='Variables' }

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

BossRushParTime {: aria-label='Variables' }

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

Number of frames of game time.

ScreenShakeOffset {: aria-label='Variables' }

TimeCounter {: aria-label='Variables' }

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

same as FrameCounter but can be modified, mostly used for timed events (bossrush, daily, ...) and not for timestepping

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

void BombDamage ( Position, float Damage, float Radius, boolean LineCheck, Source, int TearFlags, int DamageFlags, boolean DamageSource ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

void BombExplosionEffects ( Position, float Damage, int TearFlags, Color, Source, float RadiusMult, boolean LineCheck, boolean DamageSource ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

void BombTearflagEffects ( Position, float Radius, int TearFlags, Source ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

void ButterBeanFart ( Position, float Radius, Source, boolean ShowEffect ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

void CharmFart ( Position, float Radius, Source ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

void Fart ( Position, float Radius, Source, float FartScale, int FartSubType ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

GetFont ( ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

GetItemPool ( ) {: .copyable aria-label='Functions' }

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

{: .abp .tooltip .badge }

void ( UserData) GetLastDevilRoomStage ( ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

GetLastLevelWithDamage ( ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

GetLastLevelWithoutHalfHp ( ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

GetLevel ( ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

GetNearestPlayer ( Pos ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

GetPlayer ( int Index ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

GetRandomPlayer ( Pos, float Radius ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

GetRoom ( ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

GetSeeds ( ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

boolean HasEncounteredBoss ( Boss, int Variant ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

boolean RerollEnemy ( e ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

void SetLastDevilRoomStage ( Stage ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

void SetLastLevelWithDamage ( Stage ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

void SetLastLevelWithoutHalfHp ( Stage ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

Spawn ( Type, int Variant, Position, Velocity, Spawner, int SubType, int Seed ) {: .copyable aria-label='Functions' }

The game has two spawn functions, (this one) and . If you need to spawn something with a specific seed, then you use . If you need to spawn something with a randomly generated seed, then use . Most of the time, you will probably want to use .

{: .abp .tooltip .badge }

SpawnEntityDesc ( Entity::EntityDesc desc, Position, Spawner ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

void SpawnParticles ( Pos, EntityEffect::Variant ParticleType, int NumParticles, float Speed, Color, float Height ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

void StartRoomTransition ( int RoomIndex, Direction, RoomTransition::Animation Animation ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

void UpdateStrangeAttractor ( Position ) {: .copyable aria-label='Functions' }

{: .abp .tooltip .badge }

{: .abp .tooltip .badge }

{: aria-label='Variables' }

{: .abp .tooltip .badge }

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

{: aria-label='Variables' }

{: .abp .tooltip .badge }

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

{: .abp .tooltip .badge }

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

{: .abp .tooltip .badge }

EntityType
Vector
Entity
Vector
Color
Entity
Vector
Entity
Vector
Entity
Vector
Entity
Vector
Entity
Font
ItemPool
LevelStage
LevelStage
LevelStage
LevelStage
Level
EntityPlayer
Vector
EntityPlayer
EntityPlayer
Vector
Room
Seeds
EntityType
Entity
LevelStage
LevelStage
LevelStage
Entity
EntityType
Vector
Vector
Entity
EntityNPC
Vector
Entity
Vector
Color
Direction
Vector
Challenge
Challenge
Challenge
Difficulty
Difficulty
Difficulty
Vector
Isaac.Spawn()
Isaac.Spawn()
Isaac.Spawn()
Game():Spawn()
Game():Spawn()