Ruleset-defined spaceship shape
Posted: Sun Feb 02, 2014 11:09 am
[Moderator note: split from "Changes in what a rule set can do" topic since that's meant to be about stuff that has happened, not stuff that people would like to happen. --jtn]
I just had another idea. What if rulesets could affect the way spaceships are built? As in, defining where which parts go.
Example: new file "spaceship.ruleset":
That would then look like this, fully built:
I just had another idea. What if rulesets could affect the way spaceships are built? As in, defining where which parts go.
Example: new file "spaceship.ruleset":
Code: Select all
[spaceship]
; coordinates start at 0,0
dimX = 10
dimY = 6
structurals =
{ "x", "y"
6, 2
6, 3
5, 2
5, 3
4, 2
4, 3
3, 2
3, 3
2, 2
2, 3
6, 1
6, 4
6, 0
6, 5
7, 0
7, 5
}
components =
{ "x", "y"
7, 2
7, 3
7, 1
7, 4
}
modules =
{ "x", "y"
4, 0
2, 0
0, 1
4, 4
2, 4
0, 3
}