Skip to content

Commit

Permalink
Explosions and stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
atoko committed Jan 25, 2015
1 parent d1adf74 commit f2f134d
Show file tree
Hide file tree
Showing 7 changed files with 148 additions and 3 deletions.
4 changes: 3 additions & 1 deletion BabyBombSquad.gmx/BabyBombSquad.project.gmx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
</sprites>
<sprite>sprites\spr_startLogo</sprite>
<sprite>sprites\spr_wheel</sprite>
<sprite>sprites\spr_boom</sprite>
</sprites>
<backgrounds name="background">
<background>background\bg_tilebomb</background>
Expand Down Expand Up @@ -82,20 +83,21 @@
<object>objects\obj_wheel</object>
<object>objects\obj_view_controller</object>
<object>objects\obj_prompt</object>
<object>objects\obj_boom</object>
</objects>
<object>objects\obj_startLogo</object>
<object>objects\obj_startController</object>
<object>objects\obj_gameOver</object>
</objects>
<rooms name="rooms">
<room>rooms\rm_level3</room>
<room>rooms\rm_start</room>
<room>rooms\rm_level1</room>
<room>rooms\rm_level1_win</room>
<room>rooms\rm_gameOver1</room>
<room>rooms\rm_level2</room>
<room>rooms\rm_level2_win</room>
<room>rooms\rm_gameOver2</room>
<room>rooms\rm_level3</room>
<room>rooms\rm_level3_win</room>
<room>rooms\rm_gameOver3</room>
<room>rooms\rm_level4</room>
Expand Down
90 changes: 90 additions & 0 deletions BabyBombSquad.gmx/objects/obj_boom.object.gmx
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>spr_boom</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>0</depth>
<persistent>0</persistent>
<parentName>&lt;undefined&gt;</parentName>
<maskName>&lt;undefined&gt;</maskName>
<events>
<event eventtype="0" enumb="0">
<action>
<libid>1</libid>
<id>542</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>1</exetype>
<functionname>action_sprite_transform</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>0</kind>
<string>0.1</string>
</argument>
<argument>
<kind>0</kind>
<string>0.1</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>4</kind>
<string>0</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="3" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>image_xscale = image_xscale+0.1;
image_yscale = image_yscale+0.1;

if(image_xscale &gt; 2.0)
{
instance_destroy();
}
</string>
</argument>
</arguments>
</action>
</event>
</events>
<PhysicsObject>0</PhysicsObject>
<PhysicsObjectSensor>0</PhysicsObjectSensor>
<PhysicsObjectShape>0</PhysicsObjectShape>
<PhysicsObjectDensity>0.5</PhysicsObjectDensity>
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
<PhysicsObjectGroup>0</PhysicsObjectGroup>
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
<PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction>
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
<PhysicsShapePoints>
<point>0,0</point>
<point>16,16</point>
</PhysicsShapePoints>
</object>
28 changes: 28 additions & 0 deletions BabyBombSquad.gmx/objects/obj_strollerbaby.object.gmx
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,34 @@ phy_linear_velocity_x = 22;
<relative>0</relative>
<isnot>0</isnot>
</action>
<action>
<libid>1</libid>
<id>201</id>
<kind>0</kind>
<userelative>-1</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>1</exetype>
<functionname>action_create_object</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>-1</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>10</kind>
<object>obj_boom</object>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="8" enumb="64">
<action>
Expand Down
2 changes: 1 addition & 1 deletion BabyBombSquad.gmx/rooms/rm_level1.room.gmx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<instance objName="obj_zoom" x="0" y="0" name="inst_0EA4855B" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="obj_scissors" x="96" y="224" name="inst_D16125D0" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="obj_babyHand" x="224" y="224" name="inst_82EEBEC5" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="obj_scissorTrigger" x="96" y="224" name="inst_4F466EFB" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="&lt;undefined&gt;" x="96" y="224" name="inst_4F466EFB" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
</instances>
<tiles/>
<PhysicsWorld>0</PhysicsWorld>
Expand Down
2 changes: 1 addition & 1 deletion BabyBombSquad.gmx/rooms/rm_level2.room.gmx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<instance objName="obj_screwdriver" x="256" y="224" name="inst_8E663108" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="obj_zoom" x="0" y="0" name="inst_0FFB8117" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="obj_timer" x="32" y="0" name="inst_2A1D75B7" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="obj_scissorTrigger" x="64" y="224" name="inst_B8EB5870" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
<instance objName="&lt;undefined&gt;" x="64" y="224" name="inst_B8EB5870" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
</instances>
<tiles/>
<PhysicsWorld>0</PhysicsWorld>
Expand Down
Binary file added BabyBombSquad.gmx/sprites/images/spr_boom_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions BabyBombSquad.gmx/sprites/spr_boom.sprite.gmx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<sprite>
<type>0</type>
<xorig>50</xorig>
<yorigin>50</yorigin>
<colkind>1</colkind>
<coltolerance>0</coltolerance>
<sepmasks>0</sepmasks>
<bboxmode>0</bboxmode>
<bbox_left>8</bbox_left>
<bbox_right>91</bbox_right>
<bbox_top>6</bbox_top>
<bbox_bottom>90</bbox_bottom>
<HTile>0</HTile>
<VTile>0</VTile>
<TextureGroups>
<TextureGroup0>0</TextureGroup0>
</TextureGroups>
<For3D>0</For3D>
<width>100</width>
<height>100</height>
<frames>
<frame index="0">images\spr_boom_0.png</frame>
</frames>
</sprite>

0 comments on commit f2f134d

Please sign in to comment.