34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
draw_set_color(c_white);
|
|
draw_background_stretched(bg_blurry,x-4,y-4,650,490);
|
|
draw_set_alpha(.75)
|
|
x = __view_get( e__VW.XView, 0 );
|
|
y = __view_get( e__VW.YView, 0 );
|
|
draw_set_font(fn_LiberationSerif_20_italic);
|
|
draw_text(x+10,y+10,string_hash_to_newline(global.ammos));
|
|
draw_text(x+40,y+10,string_hash_to_newline("|"));
|
|
draw_text(x+50,y+10,string_hash_to_newline(global.clips));
|
|
if obj_player.reloading > 0
|
|
{
|
|
draw_healthbar(x+10,y+40,x+62,y+43,100-(obj_player.reloading*2),c_black,
|
|
c_aqua,c_aqua,0,true,true);
|
|
}
|
|
draw_healthbar(x+500,y+450,x+620,y+460,global.healths/10,c_black,
|
|
c_red,c_red,0,true,true);
|
|
draw_set_font(fn_LiberationMono_10_bold);
|
|
draw_text(x+500,y+436,string_hash_to_newline("LIFE"));
|
|
draw_text(x+580,y+20,string_hash_to_newline(fps));
|
|
draw_set_alpha(1);
|
|
__background_set( e__BG.X, 0, x-1 );
|
|
__background_set( e__BG.Y, 0, y-1 );
|
|
__background_set( e__BG.XScale, 0, 10.5 );
|
|
__background_set( e__BG.YScale, 0, 8 );
|
|
__background_set( e__BG.X, 1, x-1 );
|
|
__background_set( e__BG.Y, 1, y-1 );
|
|
if tacos = 3
|
|
{
|
|
instance_create(irandom(x+__view_get( e__VW.WView, 0 )+400)-200,y-37,obj_particle);
|
|
tacos = 0
|
|
}
|
|
tacos += 1
|
|
|