CommitLog |
This commit is contained in:
parent
1a1ff2e351
commit
9c46b090cd
7 changed files with 67 additions and 28 deletions
|
@ -26,6 +26,7 @@
|
|||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>step_counter = 0;
|
||||
global.debug = false
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
|
@ -50,8 +51,6 @@
|
|||
<kind>1</kind>
|
||||
<string>/// Every Frame Global Code.
|
||||
step_counter++;
|
||||
x = view_xview[0];
|
||||
y = view_yview[0];
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
|
@ -76,6 +75,7 @@ y = view_yview[0];
|
|||
<kind>1</kind>
|
||||
<string>/// Draw Debug Screen
|
||||
|
||||
if(global.debug){
|
||||
var chunk_total_size = (CHUNK_SIZE*TILE_SIZE);
|
||||
|
||||
var playX = obj_player.x;
|
||||
|
@ -112,7 +112,7 @@ if(chunkX == 0 && (playX < 0 && playX >= 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));
|
||||
|
||||
}
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
|
@ -144,6 +144,36 @@ else
|
|||
{
|
||||
window_set_fullscreen(1);
|
||||
}
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
</action>
|
||||
</event>
|
||||
<event eventtype="9" enumb="114">
|
||||
<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>if(!global.debug)
|
||||
{
|
||||
global.debug = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
global.debug = false
|
||||
}
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
|
|
Reference in a new issue