gmc-jam-3/objects/obj_HUD/Draw_0.gml

176 lines
4.9 KiB
Plaintext
Raw Normal View History

draw_set_font(font0);
draw_set_color(c_black);
switch global.RANK
{
case .5:
draw_text(400,720,string_hash_to_newline("Easy"));
break;
case 1:
if global.shottype != 8
{
draw_text(400,720,string_hash_to_newline("Easy"));
}
else
{
draw_text(400,720,string_hash_to_newline("Normal"));
}
break;
case 1.5:
draw_text(400,720,string_hash_to_newline("Hard"));
case 2:
if global.shottype != 8
{
draw_text(400,720,string_hash_to_newline("Normal"));
}
else
{
draw_text(400,720,string_hash_to_newline("LOL"));
}
break;
case 3:
draw_text(400,720,string_hash_to_newline("Hard"));
break;
case 4:
draw_text(400,720,string_hash_to_newline("LOL"));
break;
default:
break;
}
draw_text(950,720,string_hash_to_newline(fps));
draw_text(50,720,string_hash_to_newline("Lives:"));
moddy = 0
repeat (global.life)
{
draw_sprite(spr_lives,0,150+moddy,720);
moddy += 50
}
draw_set_alpha(1);
draw_set_color(c_white)
draw_set_font(font1);
draw_text(10,30,string_hash_to_newline("Eisiol Syna"));
switch global.shottype
{
case 0:
break;
case 1:
draw_text(650,30,string_hash_to_newline("Ripples of Humanity on the World"))
break;
case 2:
draw_text(650,30,string_hash_to_newline("Innocent Fall and Folly"));
break;
case 3:
draw_text(650,30,string_hash_to_newline("Paths Chosen, Paths Forgotten"));
break;
case 4:
draw_text(650,30,string_hash_to_newline("Entrapment of Guilt and Decision"));
break;
case 5:
draw_text(650,30,string_hash_to_newline("Finding Balance in Light and Darkness"));
break;
case 6:
draw_text(650,30,string_hash_to_newline("Loneliness in Inner Peace"));
break;
case 7:
draw_text(650,30,string_hash_to_newline("The Sentience of the False Creations"));
break;
case 8:
draw_text(650,30,string_hash_to_newline("Memoirs of an Ascended Human"));
break;
case 9:
draw_text(650,30,string_hash_to_newline("Waves of a Silent Dream"));
break;
case 10:
draw_text(650,30,string_hash_to_newline("Encroachment of Chaos' Will"));
default:
break;
}
draw_set_font(font0);
switch global.shottype
{
case 0:
break;
case 1:
draw_text(10,1,string_hash_to_newline("7"))
global.stuffs = 2500
break;
case 2:
draw_text(10,1,string_hash_to_newline("6"));
global.stuffs = 500
break;
case 3:
draw_text(10,1,string_hash_to_newline("5"));
global.stuffs = 3000
break;
case 4:
draw_text(10,1,string_hash_to_newline("4"));
global.stuffs = 2000
break;
case 5:
draw_text(10,1,string_hash_to_newline("3"));
global.stuffs = 3000
break;
case 6:
draw_text(10,1,string_hash_to_newline("2"));
global.stuffs = 3000
break;
case 7:
draw_text(10,1,string_hash_to_newline("1"));
global.stuffs = 1500
break;
case 8:
draw_text(10,1,string_hash_to_newline("0"));
global.stuffs = 4500
break;
case 9:
draw_text(10,1,string_hash_to_newline("8"));
global.stuffs = 2500
break;
case 10:
draw_text(10,1,string_hash_to_newline("9"));
global.stuffs = 2500
default:
break;
}
draw_set_color(c_fuchsia);
draw_rectangle(35,10,(global.bossHP - global.currentmin)/global.stuffs*975 + 35,20,false);
draw_set_alpha(.5)
draw_set_color(c_maroon);
draw_rectangle(35,10,(global.bossHP - global.currentmin)/global.stuffs*975 + 35,18,false);
draw_set_color(c_maroon);
draw_rectangle(35,10,(global.bossHP - global.currentmin)/global.stuffs*975 + 35,16,false);
draw_set_color(c_black);
if global.dead >= 32
{
draw_rectangle(-1,-1,1024,768,false)
}
if global.dead >= 24
{
draw_rectangle(-1,-1,1024,768,false)
}
if global.dead >= 16
{
draw_rectangle(-1,-1,1024,768,false)
}
if global.dead >= 8
{
draw_rectangle(-1,-1,1024,768,false)
}
if global.dead >= 1
{
draw_rectangle(-1,-1,1024,768,false)
global.dead += 1
}
if global.dead >= 64
{
draw_set_color(c_white);
draw_set_alpha(1);
draw_text(50,50,string_hash_to_newline("''I guess it was a false dream, wanting to see another truly live"))
draw_text(50,100,string_hash_to_newline("Another find how lonely this border I walk, the border of life"))
draw_text(50,150,string_hash_to_newline("and death, the border between the two opposing forces of this world.''"));
draw_text(425,350,string_hash_to_newline("Game over"));
draw_text(170,450,string_hash_to_newline("Press 'R' to retry or press 'Esc' to exit the game"));
draw_set_color(c_black);
draw_set_alpha(.5);
}