Skip to content

Dream Block

encode42 edited this page Aug 9, 2024 · 7 revisions
Visualization of dream blocks in various states

The dream block is inspired by the Celeste feature of the same name. When dashed into, the player will travel through connected blocks at a rapid pace. Otherwise, dream blocks are completely solid to players and entities. They cannot be destroyed in their placed form, instead requiring an empty bottle to move dream blocks. Upon exiting the dream block, the player's dashes are replenished.

It features unique sounds for placing, entering, exiting, and dashing through. The procedural texture generation code was contributed by Serenity.

Obtaining

Dreaming

Dream blocks cannot be crafted. Instead, they must be converted from dormant dream blocks. This is done by keeping a dormant dream block powered at night. Similar to copper oxidation, a powered block and its direct neighbors will slowly start to convert into dream blocks. Once converted, they can be moved using an empty bottle, resulting in a bottle of dreams.

Ingredients Recipe
Dormant Dream Block While powered, at night, random tick

Usage

When the player dashes into a dream block, they will be constantly propelled in the direction they dashed until exiting the dream block. This effect can be chained as a rapid transportation method. Upon exiting a dream block, all of the player's available dashes will be replenished, allowing the player to dash from one dream block to another.

Without dashing, dream blocks will be solid to all entities. It passively emits a light level of 15 and are semi-transparent, meaning no mobs or animals will be able to spawn on them.

There have been multiple changes that function unlike Celeste's dream blocks. For one, the player will not be killed upon colliding with a wall while travelling through dream blocks. Instead, they will get stuck, and be able to change direction to escape. Look rotation affects the direction of travel while in dream blocks, despite initial dash angle. It is also possible to dash in a different direction while already travelling in dream blocks.

Texture

Neighboring dream blocks will visually connect. Its texture is procedurally generated, meaning that no two dream blocks should ever look the same. This feature was contributed by Serenity.

Sounds

All sound effects used for the dream block have been taken from Celeste, produced by Power Up Audio. The sound effect that plays while travelling through dream blocks will increase in pitch per every tick inside dream blocks.

Generic

Sound Subtitles Source Description Resource location Translation key Volume Pitch Attenuation distance
1 2 3 4 5 None Blocks Once the block has broken estrogen.dream_block_place None 1.0 1.0 16
1 2 3 4 5 None Blocks When the block is placed estrogen.dream_block_place None 1.0 1.0 16
1 2 3 4 5 None Blocks While the block is in the process of being broken estrogen.dream_block_place None 0.25 1.0 16
1 2 3 4 5 None Entity-Dependent Falling on the block with fall damage estrogen.dream_block_place None 0.5 1.0 16
1 2 3 4 5 None Entity-Dependent Walking on the block estrogen.dream_block_place None 0.15 1.0 16

Unique

Sound Subtitles Source Description Resource location Translation key Volume Pitch Attenuation distance
1 None Blocks Exiting the block from dashing estrogen.dream_block_exit None 1.0 1.0 16
1 None Blocks Entering the block by dashing estrogen.dream_block_enter None 1.0 1.0 16
1 None Blocks Travelling through the block estrogen.dream_block_loop None 1.0 0.5 - infinity None

History

Version Changes
4.2.0 Added to the mod.