Pixel-Composer/scripts/draw_text_function/draw_text_function.gml

24 lines
455 B
Plaintext
Raw Normal View History

2023-02-14 05:32:32 +01:00
function draw_text_over(_x, _y, _text) {
BLEND_OVERRIDE;
draw_text(_x, _y, _text);
BLEND_NORMAL;
}
function draw_text_ext_over(_x, _y, _text, _sep, _w) {
BLEND_OVERRIDE;
draw_text_ext(_x, _y, _text, _sep, _w);
BLEND_NORMAL;
}
2023-01-25 06:49:00 +01:00
function draw_text_add(_x, _y, _text) {
2023-02-14 05:32:32 +01:00
BLEND_ADD;
2022-12-19 13:35:30 +01:00
draw_text(_x, _y, _text);
2023-02-14 05:32:32 +01:00
BLEND_NORMAL;
2022-12-19 13:35:30 +01:00
}
2023-01-25 06:49:00 +01:00
function draw_text_ext_add(_x, _y, _text, _sep, _w) {
2023-02-14 05:32:32 +01:00
BLEND_ADD;
2022-12-19 13:35:30 +01:00
draw_text_ext(_x, _y, _text, _sep, _w);
2023-02-14 05:32:32 +01:00
BLEND_NORMAL;
}