mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-06 05:43:56 +00:00
more features explained in the sample
This commit is contained in:
parent
a065e73013
commit
ad454f2c67
@ -39,6 +39,11 @@ treestate(0, PARENT, 0, RIGHT)
|
|||||||
|
|
||||||
# (or with commandline: '-tes tessellations/sample/horotiling.tes -canvas A -expansion 2 1 0 -palrgba "g tree" ffffffff')
|
# (or with commandline: '-tes tessellations/sample/horotiling.tes -canvas A -expansion 2 1 0 -palrgba "g tree" ffffffff')
|
||||||
|
|
||||||
|
# you can change the initial treestate -- the default is 0
|
||||||
|
# first_treestate(3)
|
||||||
|
|
||||||
|
# note: Camelot can only be created on cell types which have root treestates (those with no PARENT) assigned to them -- here we have no root treestates, so no Camelot
|
||||||
|
|
||||||
# Set the default sight range to 7. May be useful for debugging
|
# Set the default sight range to 7. May be useful for debugging
|
||||||
range(7)
|
range(7)
|
||||||
|
|
||||||
@ -47,3 +52,6 @@ boundary_ratio(.2)
|
|||||||
|
|
||||||
# this makes the 'floor stars' appear smaller (while 'cscale' makes everything smaller)
|
# this makes the 'floor stars' appear smaller (while 'cscale' makes everything smaller)
|
||||||
floor_scale(.25)
|
floor_scale(.25)
|
||||||
|
|
||||||
|
# make the Yendor challenge more interesting by first doing 50 steps down the tree
|
||||||
|
yendor_backsteps(50)
|
Loading…
x
Reference in New Issue
Block a user