OverworldSoul
┗> Object > Class
The soul of the player used when in the Overworld.
The Overworld soul defines the player's hitbox against bullets in the Overworld and controls taking damage from them - as such it is only visible if inside a battle area.
Methods
OverworldSoul:onCollide(bullet: WorldBullet)
(Override) Called whenever a bullet hits the soul
By default, calls bullet:onCollide()
which handles the soul taking damage
Arguments:
bullet: WorldBullet | The class that all World bullets in Kristal originate from. |
Fields
OverworldSoul.collider: CircleCollider
The hitbox of the soul, defaulting to a circle with an 8 pixel radius