Updated Introduction (markdown)
parent
db7b3d4f4f
commit
30d9531001
@ -4,8 +4,8 @@ There are two types of expressions in Biosphere2:
|
|||||||
|
|
||||||
The usual workflow is that you first create a bunch of locations or vectors. In a second step you apply some transformation to them. And in a final step you do something with them. This is best shown by an example:
|
The usual workflow is that you first create a bunch of locations or vectors. In a second step you apply some transformation to them. And in a final step you do something with them. This is best shown by an example:
|
||||||
```
|
```
|
||||||
set {_circle::*} to circle at player with radius 1 and density 5 #creation step
|
set {_circle::*} to circle at player with radius 1 and density 5 #creation step (create locations in the shape of a circle)
|
||||||
set {_bigcircle::*} to {_circle::*} scaled at player by 2 #transformation step
|
set {_bigcircle::*} to {_circle::*} scaled at player by 2 #transformation step (make circle 2 times larger)
|
||||||
show happy villager at {_bigcircle::*} #do something with your locations
|
show happy villager at {_bigcircle::*} #do something with your locations
|
||||||
```
|
```
|
||||||
The result looks like this:
|
The result looks like this:
|
||||||
|
Loading…
Reference in New Issue
Block a user