-- Right side
ResetTransform()
-Rotate('y', 90)
+Rotate(Y, 90)
Translate(0, 0, 5)
Scale(32)
MakeTilemap({
width = 5,
- surface_type = 'right',
+ surface_type = RIGHT,
tiles = {
2, 2, 2, 2, 2,
0, 0, 0, 0, 0,
-- Top
ResetTransform()
-Rotate('x', 90)
+Rotate(X, 90)
Translate(-5, 15, 0)
Scale(32)
MakeTilemap({
width = 5,
- surface_type = 'top',
+ surface_type = TOP,
tiles = {
3, 3, 3, 3, 3,
3, 3, 3, 3, 3,
-- Right side
ResetTransform()
- Rotate('y', 90)
+ Rotate(Y, 90)
Translate(7, 0, 0)
Scale(32)
MakeTilemap({
-- Top
ResetTransform()
- Rotate('x', 90)
+ Rotate(X, 90)
Translate(-2, 8, -6)
Scale(32)
MakeTilemap({
-- Left wall
ResetTransform()
-Rotate('y', -90)
+Rotate(Y, -90)
Translate(10, 0, 1)
Scale(32)
SetTexture("Building")
MakeTilemap({
width = 4,
- surface_type = 'left',
+ surface_type = LEFT,
tiles = {
-1, 9, 11, -1,
9, 10, 12, 11,
-- Right wall
ResetTransform()
-Rotate('y', -90)
+Rotate(Y, -90)
Translate(13, 0, 1)
Scale(32)
MakeTilemap({
width = 4,
- surface_type = 'right',
+ surface_type = RIGHT,
tiles = {
-1, 9, 11, -1,
9, 10, 12, 11,
-- Pitched roof
ResetTransform()
-Rotate('x', 135)
+Rotate(X, 135)
Scale(1, 1.5, 1.5)
Translate(10, 5, 3)
Scale(32)
Scale(32)
MakeTilemap({
width = 3,
- surface_type = 'top',
+ surface_type = TOP,
tiles = {
-1, -1, -1
}
-- Courtyard
ResetTransform()
-Rotate('x', 90)
+Rotate(X, 90)
Translate(-3, 0, 0)
Scale(32)
SetTexture("Scenery")
MakeTilemap({
width = 13,
- surface_type = 'top',
+ surface_type = TOP,
tiles = {
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
ResetTransform()
Scale(4, 1, 1)
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(1, -0.5, 1)
Scale(32)
MakeBillboard({
ResetTransform()
Scale(4, 1, 1)
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(9, -0.5, 1)
Scale(32)
MakeBillboard({
-- Left wall
ResetTransform()
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(19, 0, -3)
Scale(32)
MakeTilemap({
-- Right wall
ResetTransform()
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(23, 0, -3)
Scale(32)
MakeTilemap({
-- Left pitched roof
ResetTransform()
- Rotate('x', 135)
+ Rotate(X, 135)
Scale(1, 1.5, 1.5)
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(21, 6, -3)
Scale(32)
MakeTilemap({
-- Right pitched roof
ResetTransform()
- Rotate('x', -135)
+ Rotate(X, -135)
Scale(1, 1.5, 1.5)
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(21, 6, -3)
Scale(32)
MakeTilemap({
-- Finial
ResetTransform()
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(21, 6, -3)
Scale(32)
MakeTilemap({
-- Ground under house
ResetTransform()
-Rotate('x', 90)
+Rotate(X, 90)
Translate(10, 0, 0)
Scale(32)
SetTexture("Scenery")
MakeTilemap({
width = 3,
- surface_type = 'top',
+ surface_type = TOP,
tiles = {
1, 1, 1,
1, 1, 1,
-- Left part of center courtyard
ResetTransform()
-Rotate('x', 90)
+Rotate(X, 90)
Translate(13, 0, 0)
Scale(32)
MakeTilemap({
width = 8,
- surface_type = 'top',
+ surface_type = TOP,
tiles = {
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
-- Left grass
ResetTransform()
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(14, -0.5, 1)
Scale(32)
MakeTilemap({
-- Grass left of house
ResetTransform()
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(18, -0.5, 0)
Scale(32)
MakeBillboard({
-- Grass right of house
ResetTransform()
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(24, -0.5, 0)
Scale(32)
MakeBillboard({
ResetTransform()
Scale(2, 1, 1)
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(19, -0.5, 2)
Scale(32)
MakeBillboard({
ResetTransform()
Scale(2, 1, 1)
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(23, -0.5, 2)
Scale(32)
MakeBillboard({
-- Right part of center courtyard
ResetTransform()
-Rotate('x', 90)
+Rotate(X, 90)
Translate(21, 0, 0)
Scale(32)
MakeTilemap({
width = 7,
- surface_type = 'top',
+ surface_type = TOP,
tiles = {
1, 1, 1, 1, 1, 0, 0,
1, 1, 1, 1, 1, 0, 0,
ResetTransform()
Scale(2, 1, 1)
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(26, -0.5, 5)
Scale(32)
MakeBillboard({
ResetTransform()
Scale(2, 1, 1)
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(35, -0.5, 5)
Scale(32)
MakeBillboard({
-- Extra bit of back grass
ResetTransform()
- Rotate('y', -90)
+ Rotate(Y, -90)
Translate(34, -0.5, 0)
Scale(32)
MakeBillboard({
-- Ground around tower block
ResetTransform()
-Rotate('x', 90)
+Rotate(X, 90)
Translate(28, 0, 4)
Scale(32)
MakeTilemap({
width = 5,
- surface_type = 'top',
+ surface_type = TOP,
tiles = {
0, 0, 0, 0, 0,
0, 0, 0, 0, 0,
-- Rightmost ground
ResetTransform()
-Rotate('x', 90)
+Rotate(X, 90)
Translate(33, 0, 0)
Scale(32)
MakeTilemap({
width = 10,
- surface_type = 'top',
+ surface_type = TOP,
tiles = {
0, 0, 1, 1, 1, 1, 1, 1, 1, 1,
0, 0, 1, 1, 1, 1, 1, 1, 1, 1,
-- Right side
ResetTransform()
-Rotate('y', 90)
+Rotate(Y, 90)
Translate(33, 0, 4)
Scale(32)
MakeTilemap({
width = 6,
- surface_type = 'right',
+ surface_type = RIGHT,
tiles = {
2, 2, 2, 2, 2, 2,
0, 1, 0, 0, 1, 0,
-- Left side
ResetTransform()
-Rotate('y', 90)
+Rotate(Y, 90)
Translate(28, 0, 4)
Scale(32)
MakeTilemap({
width = 6,
- surface_type = 'left',
+ surface_type = LEFT,
tiles = {
2, 2, 2, 2, 2, 2,
0, 1, 6, 0, 1, 0,
-- Top
ResetTransform()
-Rotate('x', 90)
+Rotate(X, 90)
Translate(28, 7, -2)
Scale(32)
MakeTilemap({
width = 5,
- surface_type = 'top',
+ surface_type = TOP,
tiles = {
3, 3, 3, 3, 3,
3, 3, 3, 3, 3,
-- Left side
ResetTransform()
-Rotate('y', 90)
+Rotate(Y, 90)
Translate(40, 0, 5)
Scale(32)
MakeTilemap({
width = 5,
- surface_type = 'left',
+ surface_type = LEFT,
tiles = {
2, 2, 2, 2, 2,
6, 0, 0, 0, 0,
-- Top
ResetTransform()
-Rotate('x', 90)
+Rotate(X, 90)
Translate(40, 15, 0)
Scale(32)
MakeTilemap({
width = 5,
- surface_type = 'top',
+ surface_type = TOP,
tiles = {
3, 3, 3, 3, 3,
3, 3, 3, 3, 3,