CommitLog |

This commit is contained in:
SilicaAndPina 2020-07-25 00:24:30 +12:00
parent a951c8908b
commit 5519e5bf70
18 changed files with 565 additions and 26 deletions

View file

@ -25,14 +25,13 @@
<arguments>
<argument>
<kind>1</kind>
<string>step_counter = 0;
global.debug = false
<string>global.debug = false
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="3" enumb="0">
<event eventtype="8" enumb="64">
<action>
<libid>1</libid>
<id>603</id>
@ -49,14 +48,21 @@ global.debug = false
<arguments>
<argument>
<kind>1</kind>
<string>/// Every Frame Global Code.
step_counter++;
<string>/// Draw HUD
if(!global.debug)
{
draw_set_color(c_white);
draw_healthbar(10,10,500,30,(obj_player.energy/obj_player.energy_max)*100,c_gray,c_yellow,c_blue,0,true,false);
draw_text(11,13,string(obj_player.energy)+" / "+string(obj_player.energy_max));
draw_healthbar(10,40,300,60,(obj_player.hp/obj_player.hp_max)*100,c_gray,c_red,c_green,0,true,false);
draw_text(11,43,string(obj_player.hp)+" / "+string(obj_player.hp_max));
}
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="8" enumb="64">
<action>
<libid>1</libid>
<id>603</id>
@ -112,6 +118,7 @@ if(chunkX == 0 &amp;&amp; (playX &lt; 0 &amp;&amp; playX &gt;= chunk_total_size/
draw_text(10,10,"X: "+string(obj_player.x)+"#Y: "+string(obj_player.y));
draw_text(10,40,"CrX: "+string(chunkRelX)+"#CrY: "+string(chunkRelY));
draw_text(10,70,"CX: "+string(chunkX)+"#CY: "+string(chunkY));
draw_text(10,100,"Invuln: "+string(obj_player.invuln_counter));
}
</string>
</argument>