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

27 lines
822 B
Plaintext

draw_set_color($5f4b4b);
draw_rectangle(0, 0, 640, 360, false);
draw_sprite(s_title, 0, 0, 0);
draw_set_color(c_white);
draw_set_halign(fa_center);
//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", "終わる"));
draw_set_halign(fa_left);
switch dir {
case DIR.LEFT:
draw_sprite_ext(s_pointer, 0, 480, 120, 2, 2, 90, c_white, 1);
break;
case DIR.DOWN:
draw_sprite_ext(s_pointer, 0, 481, 120, 2, 2, 180, c_white, 1);
break;
case DIR.UP:
draw_sprite_ext(s_pointer, 0, 480, 120, 2, 2, 0, c_white, 1);
break;
case DIR.RIGHT:
draw_sprite_ext(s_pointer, 0, 480, 119, 2, 2, 270, c_white, 1);
break;
default:
break;
}