From 6d4404c14df0bd19582c90a5c2140b6569ca9419 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 4 Jul 2013 20:13:01 +0300 Subject: [PATCH] Altre modifiche a totem. --- boom.project.gmx | 1 + objects/debugobj.object.gmx | 186 ------------------------------------ objects/m_totem.object.gmx | 42 +++++++- scripts/totemcursor.gml | 1 + 4 files changed, 43 insertions(+), 187 deletions(-) create mode 100644 scripts/totemcursor.gml diff --git a/boom.project.gmx b/boom.project.gmx index 08f3a8e..3a087dc 100644 --- a/boom.project.gmx +++ b/boom.project.gmx @@ -69,6 +69,7 @@ + diff --git a/objects/debugobj.object.gmx b/objects/debugobj.object.gmx index 8938205..35bb6ab 100644 --- a/objects/debugobj.object.gmx +++ b/objects/debugobj.object.gmx @@ -8,179 +8,7 @@ <undefined> <undefined> - - - 1 - 612 - 0 - 0 - -1 - -1 - 1 - action_if_variable - - self - 0 - 0 - - - 0 - debug_mode - - - 0 - true - - - 4 - 0 - - - - - 1 - 422 - 1 - 0 - 0 - 0 - 0 - - - self - 0 - 0 - - - 1 - 524 - 0 - 0 - 0 - 0 - 1 - action_color - - self - 0 - 0 - - - 13 - 16777215 - - - - - 1 - 526 - 0 - 0 - 0 - 0 - 1 - action_font - - self - 0 - 0 - - - 12 - devbeaten - - - 4 - 1 - - - - - 1 - 613 - 0 - -1 - 0 - -1 - 1 - action_draw_variable - - self - 0 - 0 - - - 0 - room - - - 0 - 320 - - - 0 - 240 - - - - - 1 - 424 - 2 - 0 - 0 - 0 - 0 - - - self - 0 - 0 - - - - 1 - 612 - 0 - 0 - -1 - -1 - 1 - action_if_variable - - self - 0 - 0 - - - 0 - debug_mode - - - 0 - true - - - 4 - 0 - - - - - 1 - 422 - 1 - 0 - 0 - 0 - 0 - - - self - 0 - 0 - 1 603 @@ -202,20 +30,6 @@ - - 1 - 424 - 2 - 0 - 0 - 0 - 0 - - - self - 0 - 0 - 0 diff --git a/objects/m_totem.object.gmx b/objects/m_totem.object.gmx index 438f3da..d7af7f4 100644 --- a/objects/m_totem.object.gmx +++ b/objects/m_totem.object.gmx @@ -219,7 +219,7 @@ selected = irandom(totalitems); 1 - draw_sprite_ext(object_get_sprite(totem_list[selected]), -1, 8, 8, 0.5, 0.5, 0, c_white, 1); + draw_sprite_ext(object_get_sprite(totem_list[selected]), -1, 16, 16, 0.5, 0.5, 0, c_white, 1); @@ -252,6 +252,46 @@ selected = irandom(totalitems); + + 1 + 601 + 0 + 0 + 0 + -1 + 1 + action_execute_script + + self + 0 + 0 + + + 9 + + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + diff --git a/scripts/totemcursor.gml b/scripts/totemcursor.gml new file mode 100644 index 0000000..8ffcd46 --- /dev/null +++ b/scripts/totemcursor.gml @@ -0,0 +1 @@ +draw_sprite_ext(object_get_sprite(totem_list[selected]), -1, mouse_x, mouse_y, 1, 1, 0, c_white, 0.4);