Created Introduction (markdown)
parent
177dd5e8f9
commit
737f5c9638
15
Introduction.md
Normal file
15
Introduction.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Introduction to Biosphere2
|
||||||
|
|
||||||
|
There are two types of expressions in Biosphere2:
|
||||||
|
* Expressions that create new locations/vectors
|
||||||
|
* Expressions that transform locations/vectors
|
||||||
|
|
||||||
|
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 {_bigcircle::*} to {_circle::*} scaled at player by 2 #transformation step
|
||||||
|
show happy villager at {_bigcircle::*} #do something with your locations
|
||||||
|
```
|
||||||
|
The result looks like this:
|
||||||
|
|
||||||
|
![](https://i.imgur.com/jaZK9KS.png)
|
Loading…
Reference in New Issue
Block a user