Display » Mosaic module

Contents

It makes sprites and backgrounds look blocky.

It divides a sprite or background into square blocks of pixels. The top-left pixel of each block is used to fill the rest of that block, which makes it blocky.

Files

file bn_bgs_mosaic.h
file bn_bgs_mosaic_actions.h
file bn_mosaic_attributes.h
file bn_mosaic_attributes_hbe_ptr.h
file bn_sprites_mosaic.h
file bn_sprites_mosaic_actions.h

Namespaces

namespace bn
Main Butano namespace.
namespace bn::bgs_mosaic
Functions related with the mosaic applied to the backgrounds.
namespace bn::sprites_mosaic
Functions related with the mosaic applied to the sprites.

Classes

class bn::bgs_mosaic_horizontal_stretch_manager
Manages the horizontal stretch of the mosaic applied to the backgrounds.
class bn::bgs_mosaic_horizontal_stretch_to_action
Modifies the horizontal stretch of the mosaic applied to the backgrounds until it has a given state.
class bn::bgs_mosaic_horizontal_stretch_loop_action
Modifies the horizontal stretch of the mosaic applied to the backgrounds from a minimum to a maximum. When the horizontal stretch is equal to the given final state, it goes back to its initial state and vice versa.
class bn::bgs_mosaic_horizontal_stretch_toggle_action
Changes the horizontal stretch of the mosaic applied to the backgrounds when the action is updated a given number of times.
class bn::bgs_mosaic_vertical_stretch_manager
Manages the vertical stretch of the mosaic applied to the backgrounds.
class bn::bgs_mosaic_vertical_stretch_to_action
Modifies the vertical stretch of the mosaic applied to the backgrounds until it has a given state.
class bn::bgs_mosaic_vertical_stretch_loop_action
Modifies the vertical stretch of the mosaic applied to the backgrounds from a minimum to a maximum. When the vertical stretch is equal to the given final state, it goes back to its initial state and vice versa.
class bn::bgs_mosaic_vertical_stretch_toggle_action
Changes the vertical stretch of the mosaic applied to the backgrounds when the action is updated a given number of times.
class bn::bgs_mosaic_stretch_manager
Manages the stretch of the mosaic applied to the backgrounds.
class bn::bgs_mosaic_stretch_to_action
Modifies the stretch of the mosaic applied to the backgrounds until it has a given state.
class bn::bgs_mosaic_stretch_loop_action
Modifies the stretch of the mosaic applied to the backgrounds from a minimum to a maximum. When the stretch is equal to the given final state, it goes back to its initial state and vice versa.
class bn::bgs_mosaic_stretch_toggle_action
Changes the stretch of the mosaic applied to the backgrounds when the action is updated a given number of times.
class bn::mosaic_attributes
Manages the attributes to commit to the GBA mosaic register.
class bn::mosaic_attributes_hbe_ptr
std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the attributes to commit to the GBA mosaic register in each screen horizontal line.
class bn::sprites_mosaic_horizontal_stretch_manager
Manages the horizontal stretch of the mosaic applied to the sprites.
class bn::sprites_mosaic_horizontal_stretch_to_action
Modifies the horizontal stretch of the mosaic applied to the sprites until it has a given state.
class bn::sprites_mosaic_horizontal_stretch_loop_action
Modifies the horizontal stretch of the mosaic applied to the sprites from a minimum to a maximum. When the horizontal stretch is equal to the given final state, it goes back to its initial state and vice versa.
class bn::sprites_mosaic_horizontal_stretch_toggle_action
Changes the horizontal stretch of the mosaic applied to the sprites when the action is updated a given number of times.
class bn::sprites_mosaic_vertical_stretch_manager
Manages the vertical stretch of the mosaic applied to the sprites.
class bn::sprites_mosaic_vertical_stretch_to_action
Modifies the vertical stretch of the mosaic applied to the sprites until it has a given state.
class bn::sprites_mosaic_vertical_stretch_loop_action
Modifies the vertical stretch of the mosaic applied to the sprites from a minimum to a maximum. When the vertical stretch is equal to the given final state, it goes back to its initial state and vice versa.
class bn::sprites_mosaic_vertical_stretch_toggle_action
Changes the vertical stretch of the mosaic applied to the sprites when the action is updated a given number of times.
class bn::sprites_mosaic_stretch_manager
Manages the stretch of the mosaic applied to the sprites.
class bn::sprites_mosaic_stretch_to_action
Modifies the stretch of the mosaic applied to the sprites until it has a given state.
class bn::sprites_mosaic_stretch_loop_action
Modifies the stretch of the mosaic applied to the sprites from a minimum to a maximum. When the stretch is equal to the given final state, it goes back to its initial state and vice versa.
class bn::sprites_mosaic_stretch_toggle_action
Changes the stretch of the mosaic applied to the sprites when the action is updated a given number of times.