Skip to content
This repository was archived by the owner on Sep 21, 2024. It is now read-only.

Commit 16529f0

Browse files
Add grey female symbol blocks.
Fixed pyre balls not breaking grey flower blocks.
1 parent 4342974 commit 16529f0

6 files changed

Lines changed: 116 additions & 0 deletions

File tree

HME.project.gmx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,7 @@
598598
<sprite>sprites\spr_shellblock</sprite>
599599
<sprite>sprites\spr_switchblock</sprite>
600600
<sprite>sprites\spr_kuriboblock</sprite>
601+
<sprite>sprites\spr_femaleblock</sprite>
601602
</sprites>
602603
<sprite>sprites\spr_brick</sprite>
603604
<sprite>sprites\spr_bluebrick</sprite>
@@ -1362,6 +1363,7 @@
13621363
<object>objects\obj_shellblock</object>
13631364
<object>objects\obj_switchblock</object>
13641365
<object>objects\obj_kuriboblock</object>
1366+
<object>objects\obj_femaleblock</object>
13651367
</objects>
13661368
<object>objects\obj_brick</object>
13671369
<object>objects\obj_bluebrick</object>

objects/obj_femaleblock.object.gmx

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
2+
<object>
3+
<spriteName>spr_femaleblock</spriteName>
4+
<solid>0</solid>
5+
<visible>-1</visible>
6+
<depth>1</depth>
7+
<persistent>0</persistent>
8+
<parentName>obj_grayblockparent</parentName>
9+
<maskName>&lt;undefined&gt;</maskName>
10+
<events>
11+
<event eventtype="3" enumb="0">
12+
<action>
13+
<libid>1</libid>
14+
<id>603</id>
15+
<kind>7</kind>
16+
<userelative>0</userelative>
17+
<isquestion>0</isquestion>
18+
<useapplyto>-1</useapplyto>
19+
<exetype>2</exetype>
20+
<functionname></functionname>
21+
<codestring></codestring>
22+
<whoName>self</whoName>
23+
<relative>0</relative>
24+
<isnot>0</isnot>
25+
<arguments>
26+
<argument>
27+
<kind>1</kind>
28+
<string>///Shatter when touched by females
29+
30+
//Super crown Mario
31+
if (global.powerup = cs_crown
32+
and instance_exists(obj_mario)
33+
and place_meeting(x-obj_mario.hspeed*2.5,y-obj_mario.vspeed*2.5,obj_mario))
34+
35+
//Wendy, the only female enemy currently
36+
or (instance_exists(obj_wendy)
37+
and place_meeting(x-obj_wendy.hspeed*2.5,y-obj_wendy.vspeed*2.5,obj_wendy))
38+
{
39+
audio_play_sound(snd_bump,0,0)
40+
event_user(0)
41+
}
42+
</string>
43+
</argument>
44+
</arguments>
45+
</action>
46+
</event>
47+
</events>
48+
<PhysicsObject>0</PhysicsObject>
49+
<PhysicsObjectSensor>0</PhysicsObjectSensor>
50+
<PhysicsObjectShape>0</PhysicsObjectShape>
51+
<PhysicsObjectDensity>0.5</PhysicsObjectDensity>
52+
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
53+
<PhysicsObjectGroup>0</PhysicsObjectGroup>
54+
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
55+
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
56+
<PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction>
57+
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
58+
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
59+
<PhysicsShapePoints>
60+
<point>0,0</point>
61+
<point>8,8</point>
62+
</PhysicsShapePoints>
63+
</object>

objects/obj_flowerblock.object.gmx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,30 @@
2828
<string>///Shatter when hit with an enemy fire ball
2929
with other event_user(0)
3030
event_user(0)
31+
</string>
32+
</argument>
33+
</arguments>
34+
</action>
35+
</event>
36+
<event eventtype="4" ename="obj_pyreball">
37+
<action>
38+
<libid>1</libid>
39+
<id>603</id>
40+
<kind>7</kind>
41+
<userelative>0</userelative>
42+
<isquestion>0</isquestion>
43+
<useapplyto>-1</useapplyto>
44+
<exetype>2</exetype>
45+
<functionname></functionname>
46+
<codestring></codestring>
47+
<whoName>self</whoName>
48+
<relative>0</relative>
49+
<isnot>0</isnot>
50+
<arguments>
51+
<argument>
52+
<kind>1</kind>
53+
<string>///Shatter when hit with a pyre ball
54+
event_user(0)
3155
</string>
3256
</argument>
3357
</arguments>

rooms/rm_wildsands.room.gmx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@
246246
<instance objName="obj_bubble_item" x="2736" y="160" name="inst_D6B13AF5" locked="0" code="item = cs_propellerblock" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
247247
<instance objName="obj_block" x="0" y="320" name="inst_003322D5" locked="0" code="sprout = cs_swooper" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
248248
<instance objName="obj_block" x="16" y="320" name="inst_CF4EE395" locked="0" code="sprout = cs_crown" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
249+
<instance objName="obj_femaleblock" x="368" y="128" name="inst_BF25485D" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
250+
<instance objName="obj_femaleblock" x="384" y="128" name="inst_F38EBDA3" locked="0" code="" scaleX="1" scaleY="1" colour="4294967295" rotation="0"/>
249251
</instances>
250252
<tiles>
251253
<tile bgName="bg_tileset" x="2032" y="80" w="16" h="16" xo="176" yo="496" id="10004854" name="tile_2FA97030" depth="9" locked="0" colour="4294967295" scaleX="1" scaleY="1"/>
184 Bytes
Loading

sprites/spr_femaleblock.sprite.gmx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
2+
<sprite>
3+
<type>0</type>
4+
<xorig>0</xorig>
5+
<yorigin>0</yorigin>
6+
<colkind>1</colkind>
7+
<coltolerance>0</coltolerance>
8+
<sepmasks>0</sepmasks>
9+
<bboxmode>0</bboxmode>
10+
<bbox_left>0</bbox_left>
11+
<bbox_right>15</bbox_right>
12+
<bbox_top>0</bbox_top>
13+
<bbox_bottom>15</bbox_bottom>
14+
<HTile>0</HTile>
15+
<VTile>0</VTile>
16+
<TextureGroups>
17+
<TextureGroup0>0</TextureGroup0>
18+
</TextureGroups>
19+
<For3D>0</For3D>
20+
<width>16</width>
21+
<height>16</height>
22+
<frames>
23+
<frame index="0">images\spr_femaleblock_0.png</frame>
24+
</frames>
25+
</sprite>

0 commit comments

Comments
 (0)