Module Isaac

General API for interacting with the game.

Functions

Vector (x, y) 2D Vector object table.
GetFrameCount () Number of frames passed since the game started.
Spawn (type, id, UNKNOWN, position, UNKNOWN) Spawn an entity.
GetPlayerTypeByName (name) Get the type of the current player (character) by its name.
RenderText (text, x, y) Render text on the screen.


Functions

Vector (x, y)
2D Vector object table.

Parameters:

  • x X coordinate.
  • y Y coordinate.

Returns:

    UNKNOWN, probably userdata or table
GetFrameCount ()
Number of frames passed since the game started.

Returns:

    number
Spawn (type, id, UNKNOWN, position, UNKNOWN)
Spawn an entity.

Parameters:

  • type Type of the entity (EntityType).
  • id Numerical ID of the entity.
  • UNKNOWN Unknown argument (no context to confirm).
  • position Vector of position.
  • UNKNOWN Unknown argument (no context to confirm).

Returns:

    UNKNOWN, suspected nil
GetPlayerTypeByName (name)
Get the type of the current player (character) by its name.

Parameters:

  • name Name of the player (character).

Returns:

    number
RenderText (text, x, y)
Render text on the screen.

Parameters:

  • text Text to render.
  • x X position of the text.
  • y Y position of the text.

Returns:

    UNKNOWN, suspected nil
generated by LDoc 1.4.3 Last updated 2016-05-01 23:18:39