gmc-jam-7/objects/obj_tutorial/Draw_0.gml

35 lines
1.5 KiB
Plaintext

d3d_set_projection_ortho(0,0,800,600,0)
draw_sprite_ext(bg_titlescreen, 0, 0, 0, 1, 1, 0, c_white, 1);
draw_set_alpha(.5*(fadein/30))
draw_set_color(c_white)
draw_roundrect(20,20,780,560,false)
if fadein < 30
{
fadein += 1
}
draw_set_alpha(fadein/30)
draw_set_color(c_black)
draw_set_font(fn_main)
draw_text(60,60,string_hash_to_newline("How to play:"))
draw_set_font(fn_main)
draw_text(150-fadein,120,string_hash_to_newline("Shoot your gun with Z"))
draw_text(150-fadein,160,string_hash_to_newline("Use a recharging super-attack with X"))
draw_text(150-fadein,200,string_hash_to_newline("Switch between the light world and the dark world with C"))
draw_text(150-fadein,240,string_hash_to_newline("In the light world, you are hit by dark bullets"))
draw_text(150-fadein,280,string_hash_to_newline("In the dark world, you are hit by light bullets"))
draw_text(150-fadein,320,string_hash_to_newline("Green 'neutral' bullets hit you in both worlds"))
draw_text(150-fadein,360,string_hash_to_newline("Demons are affected by your blue bullets"))
draw_text(150-fadein,400,string_hash_to_newline("Angels are affected by your red bullets"))
draw_text(150-fadein,440,string_hash_to_newline("Your super-attack hits both"))
draw_text(150-fadein,480,string_hash_to_newline("Do your best!"))
draw_set_alpha(1)
draw_set_color(c_white)
draw_rectangle(-1,580,801,601,false)
draw_set_color(c_black)
draw_set_font(fn_smaller)
draw_text(10,465*(800/640),string_hash_to_newline("Esc: Back to main menu"))