From 43c1803669f2f3183823305cfa17f2f48608f84d Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 4 Jul 2013 20:22:15 +0300 Subject: [PATCH] Mouse casuale. --- objects/m_totem.object.gmx | 26 +------- objects/o_generale.object.gmx | 108 ++++++++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+), 24 deletions(-) diff --git a/objects/m_totem.object.gmx b/objects/m_totem.object.gmx index d7af7f4..a80ed6b 100644 --- a/objects/m_totem.object.gmx +++ b/objects/m_totem.object.gmx @@ -115,34 +115,12 @@ instance_create(mouse_x,mouse_y,totem_list[selected]); pile = pile + 1; //Seleziona un altro totem casuale. selected = irandom(totalitems); +//Metti il mouse in una posizione casuale sullo schermo. Bwhahaha! +display_mouse_set(irandom(640), irandom(480)); - - 1 - 611 - 6 - -1 - 0 - -1 - 2 - - - self - -1 - 0 - - - 1 - pile - - - 0 - +1 - - - 1 424 diff --git a/objects/o_generale.object.gmx b/objects/o_generale.object.gmx index f1d9177..c5d22de 100644 --- a/objects/o_generale.object.gmx +++ b/objects/o_generale.object.gmx @@ -61,6 +61,58 @@ + + 1 + 404 + 0 + 0 + -1 + 0 + 1 + action_if_number + + self + 0 + 0 + + + 10 + m_totem + + + 0 + 0 + + + 4 + 2 + + + + + 1 + 611 + 6 + -1 + 0 + -1 + 2 + + + self + -1 + 0 + + + 1 + m_totem.pile + + + 0 + -1 + + + @@ -198,6 +250,48 @@ physics_draw_debug(); + + 1 + 404 + 0 + 0 + -1 + 0 + 1 + action_if_number + + self + 0 + 0 + + + 10 + stack + + + 0 + 0 + + + 4 + 2 + + + + + 1 + 422 + 1 + 0 + 0 + 0 + 0 + + + self + 0 + 0 + 1 611 @@ -250,6 +344,20 @@ physics_draw_debug(); + + 1 + 424 + 2 + 0 + 0 + 0 + 0 + + + self + 0 + 0 + 1 203