Curation round 13: grid entities, more enemies, Caves, boss helpers and five bosses, chests and costumes, curses and alt stages, the Lua API
This commit is contained in:
1 parent
f8ce24fc6c
commit
8ae02a8422
160 files changed
+16231
-1689
No files matched your search
@@ -410,6 +410,7 @@ void Entity_Projectile::Init(int entityType, int entityVariant, int entitySubTyp
|
||||
velocity = vector_scale(velocity, WEAKNESS_SPEED);
|
||||
}
|
||||
orbitParentVelocity = {};
|
||||
lua_engine_get().PostProjectileInit(this);
|
||||
}
|
||||
|
||||
// 00652df0 Its time scale: the room's, halved for a hostile shot by the Stop Watch, the Broken Watch's slow rooms
|
||||
@@ -480,6 +481,7 @@ void Entity_Projectile::Update()
|
||||
speed_update();
|
||||
fall_update();
|
||||
late_update();
|
||||
lua_engine_get().PostProjectileUpdate(this);
|
||||
}
|
||||
|
||||
// The Broken Modem's freeze: a frozen shot vanishes after a while, and waits in place until then. Whether it did.
|
||||
@@ -1393,6 +1395,7 @@ void Entity_Projectile::Render(const Vector& offset)
|
||||
sprite.Render(draw);
|
||||
}
|
||||
if (isRenderedAtGround) posOffset.y += height;
|
||||
lua_engine_get().PostProjectileRender(this, offset);
|
||||
}
|
||||
|
||||
// 0065b500 Places its sprite at its height (lifted on a curve near the floor when it rises) and lets it hit
|
||||
|
||||
Reference in new issue
Block a user