fin
This commit is contained in:
parent
80d874f4de
commit
2e825f5603
4 changed files with 8 additions and 7 deletions
|
@ -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_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_sprite_ext(sSwordh,global.weapon, 0,0,2,2,1,c_white,1);
|
||||||
draw_text(16,72,"weapon");
|
draw_text(16,72,"weapon");
|
||||||
|
draw_text(display_get_gui_width()/2,display_get_gui_height() - 32,"Attack : J");
|
||||||
draw_text(640,16,"vie : " + string(oPlayer.pv));
|
draw_text(800,16,"vie : " + string(oPlayer.pv));
|
||||||
|
|
||||||
for (i = 0; i < 4; i++)
|
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");
|
else draw_text(160,16, "PERDU");
|
||||||
|
|
||||||
|
|
||||||
|
@ -41,5 +41,6 @@ else if (room = rOver) {
|
||||||
else {
|
else {
|
||||||
draw_text_transformed(room_width / 2, room_height / 2, "VICTORY!", 2, 2, image_angle);
|
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_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) {
|
switch (monType) {
|
||||||
case typeMelee.squelette:
|
case typeMelee.squelette:
|
||||||
attack = 10;
|
attack = 10;
|
||||||
pv = 50;
|
pv = 30;
|
||||||
sprite_index = sSkeletonR;
|
sprite_index = sSkeletonR;
|
||||||
break;
|
break;
|
||||||
case typeMelee.blob:
|
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"));
|
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"));
|
keyDown = keyboard_check(vk_down) or keyboard_check(ord("S"));
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"compression": 0,
|
"compression": 0,
|
||||||
"volume": 0.1,
|
"volume": 0.05,
|
||||||
"preload": false,
|
"preload": false,
|
||||||
"bitRate": 128,
|
"bitRate": 128,
|
||||||
"sampleRate": 44100,
|
"sampleRate": 44100,
|
||||||
|
|
Reference in a new issue