eastern-flames/eastern flames/objects/o_title/Draw_0.gml

27 lines
822 B
Plaintext
Raw Permalink Normal View History

2022-08-23 07:04:06 +00:00
draw_set_color($5f4b4b);
2022-08-22 18:08:45 +00:00
draw_rectangle(0, 0, 640, 360, false);
2022-08-23 07:04:06 +00:00
draw_sprite(s_title, 0, 0, 0);
2022-08-22 18:08:45 +00:00
draw_set_color(c_white);
2022-08-22 17:10:15 +00:00
draw_set_halign(fa_center);
2022-08-23 07:04:06 +00:00
//draw_text(320, 40, "CRESCENT INCURSION");
draw_text(480, 100-40, msglang("START", "始まる"));
draw_text(480-60, 100, msglang("ENG", "英語"));
draw_text(480+60, 100, msglang("JP", "日本語"));
draw_text(480, 100+40, msglang("EXIT", "終わる"));
2022-08-22 17:10:15 +00:00
draw_set_halign(fa_left);
switch dir {
case DIR.LEFT:
2022-08-23 07:04:06 +00:00
draw_sprite_ext(s_pointer, 0, 480, 120, 2, 2, 90, c_white, 1);
2022-08-22 17:10:15 +00:00
break;
case DIR.DOWN:
2022-08-23 07:04:06 +00:00
draw_sprite_ext(s_pointer, 0, 481, 120, 2, 2, 180, c_white, 1);
2022-08-22 17:10:15 +00:00
break;
case DIR.UP:
2022-08-23 07:04:06 +00:00
draw_sprite_ext(s_pointer, 0, 480, 120, 2, 2, 0, c_white, 1);
2022-08-22 17:10:15 +00:00
break;
case DIR.RIGHT:
2022-08-23 07:04:06 +00:00
draw_sprite_ext(s_pointer, 0, 480, 119, 2, 2, 270, c_white, 1);
2022-08-22 17:10:15 +00:00
break;
default:
break;
}