Jump to content

Mouse Header for Debugging

Overview
Creator: coolgamer012345 Added: 13 Jun 2022 Tags: 2.55, Library, Misc Downloads: 14
Rating[?]: No rating
Download Package
(3.1 MB)
Information

Description Setup Reviews Comments

Just needs std.zh (not sure if that is even needed).

Contains the function render_mouse() and render_mouse(int mouse_layer, int mouse_color, int mouse_opacity, int mouse_style). These are intended to be put in your main global loop. The former function uses the default constants for each of the parameters, while the latter lets you specify various things. The function parameters are as follows:

mouse_layer: The layer to draw the mouse to. Defaults to layer 7.
mouse_color: The color in the palette to draw the mouse in. Defaults to 0x02 (gray from CSet 0 in the classic tileset).
mouse_opacity: Opacity of the mouse. Defaults to opaque.
mouse_style: Whether to render the mouse with the normal chunky look or a thinner look.

Each of these variables has a corresponding constant.

The test quest included changes the color of the mouse if you hold down "R".