From 4ede76bf28461a141595b7e80e8b5df85a2dce1f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 28 Jul 2013 17:11:44 +0200 Subject: [PATCH] Mi sono scordato. --- boom.project.gmx | 7 + objects/debugobj.object.gmx | 42 ++++ objects/o_generale.object.gmx | 28 +-- objects/o_gravity_up.object.gmx | 151 +++++++++++++ rooms/r_CD.room.gmx | 324 +++++++++++++++++++++++++++ rooms/r_test.room.gmx | 380 ++++++++++++++++++++++++++++++++ scripts/gravinvert.gml | 1 + sprites/i_gravity.sprite.gmx | 24 ++ sprites/images/i_gravity_0.png | Bin 0 -> 145 bytes 9 files changed, 943 insertions(+), 14 deletions(-) create mode 100644 objects/o_gravity_up.object.gmx create mode 100644 rooms/r_CD.room.gmx create mode 100644 rooms/r_test.room.gmx create mode 100644 scripts/gravinvert.gml create mode 100644 sprites/i_gravity.sprite.gmx create mode 100644 sprites/images/i_gravity_0.png diff --git a/boom.project.gmx b/boom.project.gmx index 8c1c128..0d64332 100644 --- a/boom.project.gmx +++ b/boom.project.gmx @@ -103,6 +103,7 @@ sprites\i_ingot_gold sprites\i_moving_h sprites\i_stomping_h_r + sprites\i_gravity background\cloud @@ -122,6 +123,7 @@ + fonts\points @@ -223,6 +225,7 @@ objects\o_wall_inv_lock objects\o_magnet + objects\o_gravity_up objects\o_move_freeplay_levels @@ -281,6 +284,10 @@ rooms\t_classic + + rooms\r_test + rooms\r_CD + help.rtf diff --git a/objects/debugobj.object.gmx b/objects/debugobj.object.gmx index 35bb6ab..761cc09 100644 --- a/objects/debugobj.object.gmx +++ b/objects/debugobj.object.gmx @@ -8,6 +8,48 @@ <undefined> <undefined> + + + 1 + 601 + 0 + 0 + 0 + -1 + 1 + action_execute_script + + self + 0 + 0 + + + 9 + + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + + 1 diff --git a/objects/o_generale.object.gmx b/objects/o_generale.object.gmx index 4dda419..d723644 100644 --- a/objects/o_generale.object.gmx +++ b/objects/o_generale.object.gmx @@ -508,20 +508,6 @@ physics_draw_debug(); - - 1 - 424 - 2 - 0 - 0 - 0 - 0 - - - self - 0 - 0 - 1 203 @@ -536,6 +522,20 @@ physics_draw_debug(); 0 0 + + 1 + 424 + 2 + 0 + 0 + 0 + 0 + + + self + 0 + 0 + -1 diff --git a/objects/o_gravity_up.object.gmx b/objects/o_gravity_up.object.gmx new file mode 100644 index 0000000..8c32638 --- /dev/null +++ b/objects/o_gravity_up.object.gmx @@ -0,0 +1,151 @@ + + + i_gravity + 0 + -1 + 1 + 0 + <undefined> + <undefined> + + + + 1 + 601 + 0 + 0 + 0 + -1 + 1 + action_execute_script + + self + 0 + 0 + + + 9 + + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + + + + + 1 + 612 + 0 + 0 + -1 + -1 + 1 + action_if_variable + + self + 0 + 0 + + + 0 + debug_mode + + + 0 + true + + + 4 + 0 + + + + + 1 + 603 + 7 + 0 + 0 + -1 + 2 + + + self + 0 + 0 + + + 1 + draw_set_color(c_purple); +physics_draw_debug(); + + + + + + 1 + 421 + 3 + 0 + 0 + 0 + 0 + + + self + 0 + 0 + + + 1 + 500 + 0 + 0 + 0 + 0 + 2 + + draw_self(); + self + 0 + 0 + + + + -1 + 0 + 1 + 0 + 0 + 1 + 0.100000001490116 + 0.100000001490116 + 0.200000002980232 + -1 + 0 + + 0,0 + 32,0 + 32,32 + 0,32 + + diff --git a/rooms/r_CD.room.gmx b/rooms/r_CD.room.gmx new file mode 100644 index 0000000..33e781d --- /dev/null +++ b/rooms/r_CD.room.gmx @@ -0,0 +1,324 @@ + + + + 2560 + 480 + 32 + 32 + 0 + 60 + 0 + 64 + -1 + + -1 + -1 + + -1 + 875 + 460 + -1 + -1 + -1 + -1 + -1 + 0 + 0 + -1 + 0 + -230 + 220 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + 0 + 0 + 640 + 480 + 0 + 60 + 0.100000001490116 + diff --git a/rooms/r_test.room.gmx b/rooms/r_test.room.gmx new file mode 100644 index 0000000..7d707fb --- /dev/null +++ b/rooms/r_test.room.gmx @@ -0,0 +1,380 @@ + + + + 2560 + 480 + 32 + 32 + 0 + 60 + 0 + 64 + -1 + + -1 + -1 + + -1 + 875 + 460 + -1 + -1 + -1 + -1 + -1 + 0 + 0 + -1 + 0 + -230 + 220 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + 0 + 0 + 640 + 480 + 0 + 60 + 0.100000001490116 + diff --git a/scripts/gravinvert.gml b/scripts/gravinvert.gml new file mode 100644 index 0000000..8804168 --- /dev/null +++ b/scripts/gravinvert.gml @@ -0,0 +1 @@ +physics_world_gravity(0, -60) diff --git a/sprites/i_gravity.sprite.gmx b/sprites/i_gravity.sprite.gmx new file mode 100644 index 0000000..84f7273 --- /dev/null +++ b/sprites/i_gravity.sprite.gmx @@ -0,0 +1,24 @@ + + + 16 + 16 + 1 + 0 + 0 + 0 + 0 + 31 + 0 + 31 + 0 + 0 + + 0 + + 0 + 32 + 32 + + images\i_gravity_0.png + + diff --git a/sprites/images/i_gravity_0.png b/sprites/images/i_gravity_0.png new file mode 100644 index 0000000000000000000000000000000000000000..0ae44302cede7e2b314a43c0cc5a010422721a49 GIT binary patch literal 145 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=ffJ2u~Nskcv5PFBoz$DDXI6y!Zc7 zsrZt$T)m&#b&^gjPJ4DwTGU~yrTyFQ@yssq|5!!z{|GLyn$!A%*{@x>L+`=24_u45 oPpDZH?&AlV1_A+$UzSQ5Ff4EUk)^t1@ivfmdKI;Vst0MmytEdT%j literal 0 HcmV?d00001