Constructor


DarkTransition(final_y: any, options: any)

Arguments:

final_y: any
options: any




Methods




DarkTransition:drawDoor(x: any, y: any, xscale: any, yscale: any, rot: any, color: any)

Arguments:

x: any
y: any
xscale: any
yscale: any
rot: any
color: any


DarkTransition:onAddToStage(stage: any)

Arguments:

stage: any





Fields



Undocumented

































DarkTransition.do_once: boolean

Some nice hacks for deltatime support, since toby is very weird with cutscenes.



DarkTransition.do_once: boolean

Ugly deltatime hack: skip self.timer == 30

























































DarkTransition.doorblack: integer

Destroy the dark door object here...















DarkTransition.dronesfx: love.Source|nil

A Source represents audio you can play back.

You can do interesting things with Sources, like set the volume, pitch, and its position relative to the listener. Please note that positional audio only works for mono (i.e. non-stereo) sources.

The Source controls (play/pause/stop) act according to the following state table.

Open in Browser

















DarkTransition.dtrans_square: love.Source|nil

A Source represents audio you can play back.

You can do interesting things with Sources, like set the volume, pitch, and its position relative to the listener. Please note that positional audio only works for mono (i.e. non-stereo) sources.

The Source controls (play/pause/stop) act according to the following state table.

Open in Browser



































































DarkTransition.kris_sprite: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.



DarkTransition.kris_sprite_2: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.



DarkTransition.kris_sprite_3: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.



DarkTransition.kris_sprite_holder: Object

The base class of all objects in Kristal.
When added to the stage, an object will be updated and rendered.



































































DarkTransition.megablack: boolean

In Deltarune, the megablack marker gets spawned off-screen on the first frame (0) con is 32, and it's moved on-screen on the third frame (2). Here, we simulate that by drawing a black background on the third frame.





































































































































































DarkTransition.susie_sprite: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.



DarkTransition.susie_sprite_2: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.



DarkTransition.susie_sprite_3: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.



DarkTransition.susie_sprite_holder: Object

The base class of all objects in Kristal.
When added to the stage, an object will be updated and rendered.