From 9c3e5508c94a6cbe64be0c29444ebc9092df5554 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 22 Sep 2013 00:19:50 +0200 Subject: [PATCH] Modifiche allo script del rotolamento. --- Configs/Default.config.gmx | 2 +- boom.project.gmx | 3 +- objects/o_radio_palla.object.gmx | 48 ++++++++++++------------- objects/o_radio_palla_blue.object.gmx | 48 ++++++++++++------------- objects/o_radio_palla_orange.object.gmx | 48 ++++++++++++------------- scripts/rollL.gml | 2 +- scripts/rollR.gml | 2 +- scripts/s_roll.gml | 1 + 8 files changed, 77 insertions(+), 77 deletions(-) create mode 100644 scripts/s_roll.gml diff --git a/Configs/Default.config.gmx b/Configs/Default.config.gmx index 7c74954..26b00ab 100644 --- a/Configs/Default.config.gmx +++ b/Configs/Default.config.gmx @@ -229,7 +229,7 @@ True False Alpha - 0 + 1 Royal Games lolno diff --git a/boom.project.gmx b/boom.project.gmx index bfe6f44..c1b2779 100644 --- a/boom.project.gmx +++ b/boom.project.gmx @@ -122,8 +122,7 @@ - - + diff --git a/objects/o_radio_palla.object.gmx b/objects/o_radio_palla.object.gmx index ffddad1..e4c1a45 100644 --- a/objects/o_radio_palla.object.gmx +++ b/objects/o_radio_palla.object.gmx @@ -95,27 +95,27 @@ 9 - + 0 - 0 + -200 0 - 0 + 0 - 0 + 0 - 0 + 0 - 0 + @@ -163,27 +163,27 @@ 9 - + 0 - 0 + -200 0 - 0 + 0 - 0 + 0 - 0 + 0 - 0 + @@ -275,27 +275,27 @@ 9 - + 0 - 0 + 200 0 - 0 + 0 - 0 + 0 - 0 + 0 - 0 + @@ -343,27 +343,27 @@ 9 - + 0 - 0 + 200 0 - 0 + 0 - 0 + 0 - 0 + 0 - 0 + diff --git a/objects/o_radio_palla_blue.object.gmx b/objects/o_radio_palla_blue.object.gmx index 120de46..681729a 100644 --- a/objects/o_radio_palla_blue.object.gmx +++ b/objects/o_radio_palla_blue.object.gmx @@ -118,27 +118,27 @@ 9 - + 0 - 0 + -200 0 - 0 + 0 - 0 + 0 - 0 + 0 - 0 + @@ -186,27 +186,27 @@ 9 - + 0 - 0 + -200 0 - 0 + 0 - 0 + 0 - 0 + 0 - 0 + @@ -298,27 +298,27 @@ 9 - + 0 - 0 + 200 0 - 0 + 0 - 0 + 0 - 0 + 0 - 0 + @@ -366,27 +366,27 @@ 9 - + 0 - 0 + 200 0 - 0 + 0 - 0 + 0 - 0 + 0 - 0 + diff --git a/objects/o_radio_palla_orange.object.gmx b/objects/o_radio_palla_orange.object.gmx index 10979de..90a2e8c 100644 --- a/objects/o_radio_palla_orange.object.gmx +++ b/objects/o_radio_palla_orange.object.gmx @@ -118,27 +118,27 @@ 9 - + 0 - 0 + 200 0 - 0 + 0 - 0 + 0 - 0 + 0 - 0 + @@ -186,27 +186,27 @@ 9 - + 0 - 0 + 200 0 - 0 + 0 - 0 + 0 - 0 + 0 - 0 + @@ -298,27 +298,27 @@ 9 - + 0 - 0 + -200 0 - 0 + 0 - 0 + 0 - 0 + 0 - 0 + @@ -366,27 +366,27 @@ 9 - + 0 - 0 + -200 0 - 0 + 0 - 0 + 0 - 0 + 0 - 0 + diff --git a/scripts/rollL.gml b/scripts/rollL.gml index a4cf9a5..a095c9e 100644 --- a/scripts/rollL.gml +++ b/scripts/rollL.gml @@ -1 +1 @@ -physics_apply_torque(-200); +physics_apply_torque(argument0); diff --git a/scripts/rollR.gml b/scripts/rollR.gml index b733ea9..a095c9e 100644 --- a/scripts/rollR.gml +++ b/scripts/rollR.gml @@ -1 +1 @@ -physics_apply_torque(200); +physics_apply_torque(argument0); diff --git a/scripts/s_roll.gml b/scripts/s_roll.gml new file mode 100644 index 0000000..a095c9e --- /dev/null +++ b/scripts/s_roll.gml @@ -0,0 +1 @@ +physics_apply_torque(argument0);