2020-12-06 16:25:20 +01:00
|
|
|
|
|
|
|
draw_rectangle_color(1280,0,display_get_gui_width(),display_get_gui_height() - 128,c_black,c_black,c_black,c_black,true);
|
|
|
|
|
|
|
|
draw_text(640,16,"vie : " + string(oPlayer.pv));
|
2020-12-06 13:17:04 +01:00
|
|
|
|
|
|
|
|
2020-12-06 14:02:23 +01:00
|
|
|
for (i = 0; i < 4; i++)
|
2020-12-06 13:17:04 +01:00
|
|
|
{
|
2020-12-06 14:02:23 +01:00
|
|
|
for(j = 0; j < 4; j++)
|
2020-12-06 13:17:04 +01:00
|
|
|
{
|
2020-12-06 14:02:23 +01:00
|
|
|
draw_text(i*16,j*16,tableau[i, j]);
|
2020-12-06 13:17:04 +01:00
|
|
|
}
|
|
|
|
}
|
2020-12-06 14:02:23 +01:00
|
|
|
|
2020-12-06 16:25:20 +01:00
|
|
|
draw_text(640,16,"vie : " + string(oPlayer.pv));
|
|
|
|
|
|
|
|
|
|
|
|
for (i = 0; i < 4; i++)
|
|
|
|
{
|
|
|
|
for(j = 0; j < 4; j++)
|
|
|
|
{
|
|
|
|
if (i = posX and j = posY) draw_text(i*16 + 1300,j*16,"o");
|
|
|
|
else draw_text(i*16 + 1300,j*16,"-");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-06 14:02:23 +01:00
|
|
|
if (!perdu) draw_text(160,16, string(global.minutes) + " : " + string(global.secondes));
|
2020-12-06 14:59:53 +01:00
|
|
|
else draw_text(160,16, "PERDU");
|
|
|
|
|
2020-12-06 16:25:20 +01:00
|
|
|
draw_text(320,16,global.difficulty);
|
|
|
|
|
|
|
|
draw_text(480,16,"pos : (" + string(posX) + ", " + string(posY) + ")");
|
|
|
|
|
|
|
|
draw_text(800,16,room_get_name(room));
|