Skip to content

Commit

Permalink
The player's death system has been implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
fervi authored and fervi committed Apr 22, 2019
1 parent 86b9342 commit 0abf140
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Configs/Default.config.gmx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<option_interpolate>false</option_interpolate>
<option_scale>-1</option_scale>
<option_closeesc>true</option_closeesc>
<option_lastchanged>43577.54025460648</option_lastchanged>
<option_lastchanged>43577.54255784722</option_lastchanged>
<option_gameid>46769777</option_gameid>
<option_gameguid>{8C4B3F95-0D72-B0DA-30C1-BD6BE9E980DA}</option_gameguid>
<option_author/>
Expand Down
1 change: 1 addition & 0 deletions help.rtf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
\par
\par
\par
\par
\i0\b0\ul0\par
}

6 changes: 4 additions & 2 deletions objects/obj_controller.object.gmx
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ alarm[1]=3*room_speed;</string>
<arguments>
<argument>
<kind>1</kind>
<string>score=score+1;&#13;
alarm[0]=room_speed;</string>
<string>if instance_number(obj_hero) = 1 {&#13;
score=score+1;&#13;
alarm[0]=room_speed;&#13;
}</string>
</argument>
</arguments>
</action>
Expand Down
22 changes: 22 additions & 0 deletions objects/obj_hero.object.gmx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,28 @@
</arguments>
</action>
</event>
<event ename="obj_demon" eventtype="4">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<useapplyto>-1</useapplyto>
<isquestion>0</isquestion>
<exetype>2</exetype>
<functionname/>
<codestring/>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>instance_destroy();</string>
</argument>
</arguments>
</action>
</event>
<event enumb="87" eventtype="5">
<action>
<libid>1</libid>
Expand Down

0 comments on commit 0abf140

Please sign in to comment.