Skip to content

Window_set_alpha

hpgDesigns edited this page Aug 8, 2021 · 1 revision

Description

Sets the alpha transparency of the game window between 0 (transparent) and 255 (opaque).

Parameters

Parameter Data Type Description
alpha unsigned char alpha transparency to give the game window

Return Values

void: This function does not return anything.

Example Call

// demonstrates setting the game window to partially transparent
window_set_alpha(150);

NOTOC

This is number 1

Clone this wiki locally