See More

A very common reason is a wrong site baseUrl configuration.\n

Current configured baseUrl = / (default value)\n

We suggest trying baseUrl = \n\n',document.body.prepend(n);var e=document.getElementById("__docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname,o="/"===s.substr(-1)?s:s+"/";e.innerHTML=o}document.addEventListener("DOMContentLoaded",(function(){void 0===window.docusaurus&&insertBanner()}))

Skip to main content

IsaacScript

Write Binding of Isaac: Repentance mods with TypeScript



TypeScript Input

const entities = Isaac.GetRoomEntities();
const deadEntities = entities.filter((entity) => entity.IsDead());

Lua Output

local entities = Isaac.GetRoomEntities()
local deadEntities = {}
for _, entity in ipairs(entities) do
if entity:IsDead() then
table.insert(deadEntities, entity)
end
end
The Entire Isaac API, Strongly Typed

The Entire Isaac API, Strongly Typed

  • Code fearlessly without having to worry about making a typo.
  • Mouseover functions to see what they do, saving you from opening the docs.
Powered by TypeScriptToLua

Powered by TypeScriptToLua

  • IsaacScript leverages the excellent TypeScriptToLua library.
  • All of your favorite TypeScript features will be automatically transpiled to Lua.