CommitLog |
This commit is contained in:
parent
e60c04be85
commit
bc21fc5141
6 changed files with 13 additions and 7 deletions
|
@ -26,7 +26,7 @@
|
|||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>image_speed = 0;
|
||||
image_index = random_range(0,1);
|
||||
image_index = random_range(0,2);
|
||||
angle = random_range(0,180);
|
||||
direction = angle;
|
||||
image_angle = angle;
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
</arguments>
|
||||
</action>
|
||||
</event>
|
||||
<event eventtype="2" enumb="0">
|
||||
<event eventtype="3" enumb="2">
|
||||
<action>
|
||||
<libid>1</libid>
|
||||
<id>603</id>
|
||||
|
@ -55,6 +55,7 @@ for(var i = 0; i < 16; i ++)
|
|||
var chunkat = instance_position(cX[i], cY[i],obj_chunk);
|
||||
if(chunkat == noone) // create
|
||||
{
|
||||
show_debug_message("Generating Chunk: "+string(cX[i])+","+string(cY[i]));
|
||||
var chunkInstId = instance_create(cX[i],cY[i],obj_chunk);
|
||||
ds_list_add(global.allchunks,chunkInstId);
|
||||
}
|
||||
|
@ -62,6 +63,7 @@ for(var i = 0; i < 16; i ++)
|
|||
{
|
||||
if(chunkat.loaded = false)
|
||||
{
|
||||
show_debug_message("Loading Chunk: "+string(cX[i])+","+string(cY[i]));
|
||||
with(chunkat){
|
||||
event_user(1);
|
||||
}
|
||||
|
@ -73,7 +75,7 @@ for(var i = 0; i < 16; i ++)
|
|||
</arguments>
|
||||
</action>
|
||||
</event>
|
||||
<event eventtype="3" enumb="0">
|
||||
<event eventtype="3" enumb="1">
|
||||
<action>
|
||||
<libid>1</libid>
|
||||
<id>603</id>
|
||||
|
@ -140,7 +142,6 @@ for(var xx = 0; xx < 4; xx++)
|
|||
}
|
||||
}
|
||||
|
||||
alarm[0] = 1;
|
||||
|
||||
</string>
|
||||
</argument>
|
||||
|
|
|
@ -313,7 +313,9 @@ if(energy >= 20)
|
|||
<arguments>
|
||||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>if(dead == false)
|
||||
<string>/// Show Game over screen
|
||||
|
||||
if(dead == false)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -56,6 +56,8 @@ obj_player.y = obj_player.ystart;
|
|||
obj_player.energy = obj_player.energy_max;
|
||||
obj_player.hp = obj_player.hp_max;
|
||||
|
||||
obj_player.speed = 0;
|
||||
obj_player.invuln_counter = 0;
|
||||
obj_player.dead = false;
|
||||
obj_player.visible = true;
|
||||
obj_player.image_speed = 0;
|
||||
|
|
Reference in a new issue