CommitLog |
This commit is contained in:
parent
ee7afa2a68
commit
a5d1b47015
3 changed files with 17 additions and 14 deletions
|
@ -25,7 +25,9 @@
|
|||
<arguments>
|
||||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>var angle = random_range(0,180);
|
||||
<string>image_speed = 0;
|
||||
image_index = random_range(0,1);
|
||||
var angle = random_range(0,180);
|
||||
direction = angle;
|
||||
image_angle = angle;
|
||||
|
||||
|
|
|
@ -28,19 +28,6 @@
|
|||
<string>generated_count = 0;
|
||||
generated_areas[10000] = 0;
|
||||
|
||||
///Generate World
|
||||
|
||||
|
||||
var startx = view_xview[0];
|
||||
var starty = view_yview[0]
|
||||
var xmax = startx + view_wview[0];
|
||||
var ymax = starty + view_hview[0];
|
||||
|
||||
xmax = xmax - (xmax % 32);
|
||||
ymax = ymax - (ymax % 32);
|
||||
|
||||
startx = startx - (startx % 32);
|
||||
starty = starty - (starty % 32);
|
||||
|
||||
</string>
|
||||
</argument>
|
||||
|
|
|
@ -1,3 +1,17 @@
|
|||
///Generate World
|
||||
|
||||
|
||||
var startx = view_xview[0];
|
||||
var starty = view_yview[0]
|
||||
var xmax = startx + view_wview[0];
|
||||
var ymax = starty + view_hview[0];
|
||||
|
||||
xmax = xmax - (xmax % 32);
|
||||
ymax = ymax - (ymax % 32);
|
||||
|
||||
startx = startx - (startx % 32);
|
||||
starty = starty - (starty % 32);
|
||||
|
||||
|
||||
for(var xx = startx; xx < xmax;xx+=32)
|
||||
{
|
||||
|
|
Reference in a new issue