CommitLog |
This commit is contained in:
parent
82965bb8bb
commit
e2a6b539a5
6 changed files with 12 additions and 2 deletions
|
@ -40,6 +40,7 @@
|
|||
<script>scripts\pull_towards_black_holes.gml</script>
|
||||
<script>scripts\add_item_to_inventory.gml</script>
|
||||
<script>scripts\use_item_in_inventory.gml</script>
|
||||
<script>scripts\get_chunk_seed.gml</script>
|
||||
</scripts>
|
||||
<fonts name="fonts">
|
||||
<font>fonts\fnt_main</font>
|
||||
|
|
BIN
help.rtf
BIN
help.rtf
Binary file not shown.
|
@ -25,7 +25,9 @@
|
|||
<arguments>
|
||||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>/// GENERATE CHUNK
|
||||
<string>random_set_seed(get_chunk_seed(x,y));
|
||||
|
||||
/// GENERATE CHUNK
|
||||
instance_list = ds_list_create();
|
||||
loaded = true;
|
||||
var hasGeneratedBlackHole = false;
|
||||
|
|
|
@ -127,6 +127,8 @@ 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));
|
||||
|
||||
draw_text(10,120,"World Seed: "+string(obj_controller_world_gen.WorldSeed));
|
||||
}
|
||||
</string>
|
||||
</argument>
|
||||
|
|
|
@ -25,7 +25,9 @@
|
|||
<arguments>
|
||||
<argument>
|
||||
<kind>1</kind>
|
||||
<string></string>
|
||||
<string>WorldSeed = random_range(0,99999999999);
|
||||
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
</action>
|
||||
|
|
3
scripts/get_chunk_seed.gml
Normal file
3
scripts/get_chunk_seed.gml
Normal file
|
@ -0,0 +1,3 @@
|
|||
///get_chunk_seed(x,y)
|
||||
return x*193 + y*391 + obj_controller_world_gen.WorldSeed;
|
||||
|
Reference in a new issue