sOlaris38 2 years ago
parent 80d874f4de
commit 2e825f5603
  1. 7
      objects/oGame/Draw_64.gml
  2. 2
      objects/oMonsterMelee/Create_0.gml
  3. 4
      objects/oPlayer/Step_0.gml
  4. 2
      sounds/snFond/snFond.yy

@ -4,8 +4,8 @@ if (room != rOver and room != rWin) {
draw_rectangle_color(0,0,display_get_gui_width() - 1280,96,c_black,c_black,c_black,c_black,false);
draw_sprite_ext(sSwordh,global.weapon, 0,0,2,2,1,c_white,1);
draw_text(16,72,"weapon");
draw_text(640,16,"vie : " + string(oPlayer.pv));
draw_text(display_get_gui_width()/2,display_get_gui_height() - 32,"Attack : J");
draw_text(800,16,"vie : " + string(oPlayer.pv));
for (i = 0; i < 4; i++)
{
@ -25,7 +25,7 @@ if (room != rOver and room != rWin) {
}
}
if (!global.perdu) draw_text(160,16, string(global.minutes) + " : " + string(global.secondes));
if (!global.perdu) draw_text(320,16, "timer" + string(global.minutes) + " : " + string(global.secondes));
else draw_text(160,16, "PERDU");
@ -41,5 +41,6 @@ else if (room = rOver) {
else {
draw_text_transformed(room_width / 2, room_height / 2, "VICTORY!", 2, 2, image_angle);
draw_text_transformed(room_width / 2, room_height / 2 + 128, "PRESS R TO RESTART", 2, 2, image_angle);
draw_text(room_width / 2, room_height / 2 + 360, "Music credits : Reset - Jaunter (auboutdufil.com)");
}

@ -7,7 +7,7 @@ image_speed = 1;
switch (monType) {
case typeMelee.squelette:
attack = 10;
pv = 50;
pv = 30;
sprite_index = sSkeletonR;
break;
case typeMelee.blob:

@ -1,6 +1,6 @@
keyLeft = keyboard_check(vk_left) or keyboard_check(ord("Q"));
keyLeft = keyboard_check(vk_left) or keyboard_check(ord("Q")) or keyboard_check(ord("A"));
keyRight = keyboard_check(vk_right) or keyboard_check(ord("D"));
keyUp = keyboard_check(vk_up) or keyboard_check(ord("Z"));
keyUp = keyboard_check(vk_up) or keyboard_check(ord("Z")) or keyboard_check(ord("W"));
keyDown = keyboard_check(vk_down) or keyboard_check(ord("S"));

@ -1,6 +1,6 @@
{
"compression": 0,
"volume": 0.1,
"volume": 0.05,
"preload": false,
"bitRate": 128,
"sampleRate": 44100,

Loading…
Cancel
Save