示例#1
0
 public FloorMapSetting()
 {
     blocks    = new floorBlockSetting[6];
     blocks[0] = new floorBlockSetting(0, 1, new float[3] {
         0.5f, 1f, 1f
     }, 0, 1, 1, 0, new floorPlacing[1] {
         new floorPlacing(0, 0, 0)
     });
     blocks[1] = new floorBlockSetting(1, 30, new float[3] {
         0.5f, 1f, 1f
     }, 2, 2, 3, 0, new floorPlacing[0]);
     blocks[2] = new floorBlockSetting(30, 60, new float[3] {
         0.5f, 0.75f, 1f
     }, 2, 2, 4, 0, new floorPlacing[0]);                                                                          //new floorPlacing[1] { new floorPlacing(0, 0, 0) });
     blocks[3] = new floorBlockSetting(60, 100, new float[3] {
         0.25f, 0.75f, 1f
     }, 2, 2, 4, 0, new floorPlacing[0]);
     blocks[4] = new floorBlockSetting(100, 200, new float[3] {
         0f, 1f, 1f
     }, 2, 3, 4, 0, new floorPlacing[1] {
         new floorPlacing(1, 0, 0)
     });
     blocks[5] = new floorBlockSetting(200, 220, new float[3] {
         0f, 0.75f, 1f
     }, 0, 3, 4, 0, new floorPlacing[1] {
         new floorPlacing(1, 0, 0)
     });
 }
示例#2
0
        public FloorMapSetting()
        {
            blocks    = new floorBlockSetting[9];
            blocks[0] = new floorBlockSetting(0, 15, 0, 1, 1, 0, new floorPlacing[15] {
                new floorPlacing(0, 0, 0), new floorPlacing(2, 0, 1.25f), new floorPlacing(2, 0, 2.5f),
                new floorPlacing(2, 0, 3.75f), new floorPlacing(2, 0, 5f), new floorPlacing(2, 0, 6.25f),
                new floorPlacing(2, 0, 7.5f),
                new floorPlacing(2, -1, 8.75f), new floorPlacing(2, 1, 8.75f), new floorPlacing(2, -2, 10f),
                new floorPlacing(2, 0, 10f), new floorPlacing(2, 2, 10f), new floorPlacing(2, -1, 11.67f),
                new floorPlacing(2, 1, 11.67f), new floorPlacing(2, 0, 13.33f)
            });
            blocks[0].powerupsPlacingData = new floorPlacing[1] {
                new floorPlacing(0, 0, 10.5f)
            };


            blocks[1] = new floorBlockSetting(16, 80, 2, 2, 3, 0, new floorPlacing[0]);
            blocks[1].randomPowerupsProbData = new int[8] {
                0, 1, 2, 3, 4, 4, 4, 4
            };
            blocks[1].randomFloorsProbData = new int[2] {
                0, 1
            };

            blocks[2] = new floorBlockSetting(81, 200, 2, 2, 4, 0, new floorPlacing[0]);
            blocks[2].randomPowerupsProbData = new int[8] {
                0, 1, 2, 3, 4, 4, 4, 4
            };
            blocks[2].randomFloorsProbData = new int[4] {
                0, 0, 1, 2
            };

            blocks[3] = new floorBlockSetting(201, 250, 0, 1, 1, 0, new floorPlacing[1] {
                new floorPlacing(0, 0, 0)
            });
            blocks[3].powerupsPlacingData = new floorPlacing[4] {
                new floorPlacing(1, 0, 1f), new floorPlacing(3, 0, 0), new floorPlacing(4, 0, 10f), new floorPlacing(2, 0, 12f)
            };
            blocks[3].randomPowerupsProbData = new int[4] {
                4, 4, 3, 3
            };
            blocks[3].randomFloorsProbData = new int[1] {
                1
            };

            blocks[4] = new floorBlockSetting(251, 400, 2, 3, 4, 0, new floorPlacing[0]);
            blocks[4].randomPowerupsProbData = new int[4] {
                4, 4, 3, 3
            };
            blocks[4].randomFloorsProbData = new int[1] {
                1
            };

            blocks[5] = new floorBlockSetting(401, 433, 2, 3, 4, 0, new floorPlacing[1] {
                new floorPlacing(3, 0, 0)
            });
            blocks[5].powerupsPlacingData = new floorPlacing[1] {
                new floorPlacing(5, 0, 1f)
            };
            blocks[5].randomPowerupsProbData = new int[8] {
                0, 1, 2, 2, 4, 4, 4, 4
            };
            blocks[5].randomFloorsProbData = new int[4] {
                1, 1, 2, 2
            };

            blocks[6] = new floorBlockSetting(434, 450, 0, 1, 1, 0, new floorPlacing[11] {
                new floorPlacing(2, -2, 0f), new floorPlacing(2, -1.2f, 0f),
                new floorPlacing(2, -1.2f, 2.5f), new floorPlacing(2, -0.4f, 2.5f), new floorPlacing(2, -0.4f, 5f),
                new floorPlacing(2, 0.4f, 5f),
                new floorPlacing(2, 0.4f, 7.5f), new floorPlacing(2, 1.2f, 7.5f), new floorPlacing(2, 1.2f, 10f),
                new floorPlacing(2, 2, 10f), new floorPlacing(2, 0, 12.5f),
            });
            blocks[6].powerupsPlacingData = new floorPlacing[1] {
                new floorPlacing(5, 0, 1f)
            };
            blocks[6].randomPowerupsProbData = new int[8] {
                0, 1, 2, 2, 4, 4, 4, 4
            };
            blocks[6].randomFloorsProbData = new int[4] {
                0, 1, 1, 2
            };

            blocks[7] = new floorBlockSetting(451, 500, 2, 2, 3, 0, new floorPlacing[8] {
                new floorPlacing(3, 0, 0), new floorPlacing(3, 0, 10), new floorPlacing(3, 0, 20),
                new floorPlacing(3, 0, 30), new floorPlacing(3, 0, 40), new floorPlacing(3, 0, 44), new floorPlacing(3, 0, 46), new floorPlacing(3, 0, 48),
            });
            blocks[7].randomPowerupsProbData = new int[8] {
                0, 1, 2, 2, 4, 4, 4, 4
            };
            blocks[7].randomFloorsProbData = new int[3] {
                1, 2, 2
            };

            blocks[8] = new floorBlockSetting(501, 800, 0, 3, 4, 0, new floorPlacing[2] {
                new floorPlacing(3, 0, 4), new floorPlacing(2, 0, 9)
            });
            blocks[8].powerupsPlacingData = new floorPlacing[2] {
                new floorPlacing(3, 0, 5f), new floorPlacing(7, 0, 9.5f)
            };
        }