feat: add start room
This commit is contained in:
parent
2969d90420
commit
e6710eecd7
|
@ -11,7 +11,7 @@
|
|||
"name":"indoor_tileset",
|
||||
"image":"shattered_sword_assets/tilemaps/indoor_tileset.png",
|
||||
"background": 3,
|
||||
"minroom": 1,
|
||||
"minroom": 0,
|
||||
"entrance": {
|
||||
"width": 30,
|
||||
"height": 20,
|
||||
|
@ -52,5 +52,365 @@
|
|||
"alt_tile": [0, 1]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"rooms": [
|
||||
{
|
||||
"width": 30,
|
||||
"height": 30,
|
||||
"weight": 2,
|
||||
"bottomLayer": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 338, 373, 374, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 335, 404, 371, 372, 407, 408, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 322, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 390, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 321, 390, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 355, 390, 493, 494, 495, 496, 497, 498, 499, 500, 501, 468, 503, 504, 471, 506, 507, 508, 509, 510, 515, 516, 517, 518, 519, 452, 521, 522, 523, 524, 389, 356, 527, 528, 529, 530, 531, 532, 533, 534, 535, 468, 537, 538, 471, 540, 541, 542, 543, 544, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 389, 390, 459, 460, 461, 462, 531, 464, 465, 466, 467, 468, 469, 470, 505, 472, 473, 474, 475, 476, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 321, 322, 323, 494, 495, 496, 531, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 515, 516, 517, 518, 519, 452, 453, 522, 523, 524, 355, 356, 357, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 549, 550, 551, 552, 553, 452, 385, 556, 557, 558, 389, 390, 391, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 481, 584, 585, 586, 587, 418, 419, 590, 591, 592, 423, 424, 425, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 481, 618, 619, 620, 621, 452, 487, 488, 489, 626, 457, 458, 459, 630, 631, 632, 565, 568, 635, 636, 637, 638, 639, 606, 641, 642, 643, 644, 645, 612, 481, 652, 653, 654, 655, 486, 487, 488, 489, 660, 491, 492, 493, 664, 665, 666, 565, 568, 606, 670, 671, 672, 568, 606, 675, 574, 677, 678, 679, 612, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 599, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 612, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 633, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 633, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680],
|
||||
"topLayer": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 375, 376, 376, 376, 377, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 409, 410, 411, 0, 0, 0, 0, 375, 376, 377, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103, 104, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 138, 139, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 478, 478, 478, 478, 478, 478, 479, 0, 0, 137, 138, 138, 478, 478, 478, 478, 478, 478, 478, 478, 479, 0, 0, 477, 478, 478, 478, 478, 478, 478, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 172, 172, 172, 172, 172, 172, 173, 0, 0, 171, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 173, 0, 0, 171, 172, 172, 172, 172, 172, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
"objectLayer": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 17
|
||||
},
|
||||
{
|
||||
"x": 26,
|
||||
"y": 17
|
||||
}
|
||||
],
|
||||
"entrances": [
|
||||
{
|
||||
"x": 0,
|
||||
"y": 16,
|
||||
"width": 3,
|
||||
"alt_tile": [0, 478]
|
||||
},
|
||||
{
|
||||
"x": 29,
|
||||
"y": 16,
|
||||
"width": 3,
|
||||
"alt_tile": [0, 478]
|
||||
}
|
||||
],
|
||||
"sprites": [
|
||||
{
|
||||
"type": "black_pudding",
|
||||
"x": 1,
|
||||
"y": 10,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 12,
|
||||
"y": 12,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 18,
|
||||
"y": 15,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 14,
|
||||
"y": 16,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 24,
|
||||
"y": 17,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 6,
|
||||
"y": 17,
|
||||
"possibility": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 30,
|
||||
"height": 30,
|
||||
"weight": 2,
|
||||
"bottomLayer": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 338, 373, 374, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 335, 404, 371, 372, 407, 408, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 322, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 390, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 321, 390, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 355, 390, 493, 494, 495, 496, 497, 498, 499, 500, 501, 468, 503, 504, 471, 506, 507, 508, 509, 510, 515, 516, 517, 518, 519, 452, 521, 522, 523, 524, 389, 356, 527, 528, 529, 530, 531, 532, 533, 534, 535, 468, 537, 538, 471, 540, 541, 542, 543, 544, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 389, 390, 459, 460, 461, 462, 531, 464, 465, 466, 467, 468, 469, 470, 505, 472, 473, 474, 475, 476, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 321, 322, 323, 494, 495, 496, 531, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 515, 516, 517, 518, 519, 452, 453, 522, 523, 524, 355, 356, 357, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 549, 550, 551, 552, 553, 452, 385, 556, 557, 558, 389, 390, 391, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 481, 584, 585, 586, 587, 418, 419, 590, 591, 592, 423, 424, 425, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 481, 618, 619, 620, 621, 452, 487, 488, 489, 626, 457, 458, 459, 630, 631, 632, 565, 568, 635, 636, 637, 638, 639, 606, 641, 642, 643, 644, 645, 612, 481, 652, 653, 654, 655, 486, 487, 488, 489, 660, 491, 492, 493, 664, 665, 666, 565, 568, 606, 670, 671, 672, 568, 606, 675, 574, 677, 678, 679, 612, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 599, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 612, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 633, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 633, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680],
|
||||
"topLayer": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 375, 376, 376, 376, 377, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 375, 376, 376, 377, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 409, 410, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 375, 376, 377, 0, 0, 0, 0, 0, 0, 0, 0, 409, 410, 70, 70, 71, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 103, 104, 104, 104, 104, 478, 478, 478, 479, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 478, 478, 478, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 409, 410, 410, 410, 410, 411, 0, 0, 0, 0, 0, 477, 478, 478, 478, 478, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 69, 70, 70, 70, 70, 71, 0, 477, 478, 478, 478, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 103, 104, 104, 104, 104, 105, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 139, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 139, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 139, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 139, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 139, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 173, 0, 0, 171, 172, 172, 172, 172, 173, 0, 171, 172, 172, 172, 172, 172, 172, 172, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
"objectLayer": [
|
||||
{
|
||||
"x": 16,
|
||||
"y": 17
|
||||
},
|
||||
{
|
||||
"x": 28,
|
||||
"y": 17
|
||||
}
|
||||
],
|
||||
"entrances": [
|
||||
{
|
||||
"x": 0,
|
||||
"y": 16,
|
||||
"width": 3,
|
||||
"alt_tile": [0, 478]
|
||||
},
|
||||
{
|
||||
"x": 29,
|
||||
"y": 16,
|
||||
"width": 3,
|
||||
"alt_tile": [0, 478]
|
||||
}
|
||||
],
|
||||
"sprites": [
|
||||
{
|
||||
"type": "black_pudding",
|
||||
"x": 1,
|
||||
"y": 10,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 5,
|
||||
"y": 14,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 14,
|
||||
"y": 10,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 11,
|
||||
"y": 12,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 18,
|
||||
"y": 12,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 23,
|
||||
"y": 15,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 16,
|
||||
"y": 16,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 27,
|
||||
"y": 16,
|
||||
"possibility": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 30,
|
||||
"height": 30,
|
||||
"weight": 2,
|
||||
"bottomLayer": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 338, 373, 374, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 335, 404, 371, 372, 407, 408, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 322, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 390, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 321, 390, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 355, 390, 493, 494, 495, 496, 497, 498, 499, 500, 501, 468, 503, 504, 471, 506, 507, 508, 509, 510, 515, 516, 517, 518, 519, 452, 521, 522, 523, 524, 389, 356, 527, 528, 529, 530, 531, 532, 533, 534, 535, 468, 537, 538, 471, 540, 541, 542, 543, 544, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 389, 390, 459, 460, 461, 462, 531, 464, 465, 466, 467, 468, 469, 470, 505, 472, 473, 474, 475, 476, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 321, 322, 323, 494, 495, 496, 531, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 515, 516, 517, 518, 519, 452, 453, 522, 523, 524, 355, 356, 357, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 549, 550, 551, 552, 553, 452, 385, 556, 557, 558, 389, 390, 391, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 481, 584, 585, 586, 587, 418, 419, 590, 591, 592, 423, 424, 425, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 481, 618, 619, 620, 621, 452, 487, 488, 489, 626, 457, 458, 459, 630, 631, 632, 565, 568, 635, 636, 637, 638, 639, 606, 641, 642, 643, 644, 645, 612, 481, 652, 653, 654, 655, 486, 487, 488, 489, 660, 491, 492, 493, 664, 665, 666, 565, 568, 606, 670, 671, 672, 568, 606, 675, 574, 677, 678, 679, 612, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 599, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 612, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 633, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 633, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 651, 652, 653, 654, 655, 656, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 443, 444, 444, 445, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 443, 444, 445, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 307, 308, 308, 308, 308, 308, 308, 309, 0, 0, 0, 0, 307, 309, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 307, 309, 0, 0, 0, 0, 0, 0, 307, 308, 309, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 477, 478, 478, 478, 478, 478, 478, 479, 0, 0, 477, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 0, 0, 0, 477, 478, 478, 478, 478, 478, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 478, 478, 478, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 173, 0, 0, 171, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
"objectLayer": [
|
||||
{
|
||||
"x": 12,
|
||||
"y": 11
|
||||
},
|
||||
{
|
||||
"x": 11,
|
||||
"y": 15
|
||||
},
|
||||
{
|
||||
"x": 25,
|
||||
"y": 16
|
||||
}
|
||||
],
|
||||
"entrances": [
|
||||
{
|
||||
"x": 0,
|
||||
"y": 16,
|
||||
"width": 3,
|
||||
"alt_tile": [0, 478]
|
||||
},
|
||||
{
|
||||
"x": 29,
|
||||
"y": 14,
|
||||
"width": 3,
|
||||
"alt_tile": [0, 478]
|
||||
}
|
||||
],
|
||||
"sprites": [
|
||||
{
|
||||
"type": "black_pudding",
|
||||
"x": 1,
|
||||
"y": 10,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 5,
|
||||
"y": 10,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 11,
|
||||
"y": 12,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 12,
|
||||
"y": 9,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 15,
|
||||
"y": 15,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 25,
|
||||
"y": 14,
|
||||
"possibility": 1
|
||||
}
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 30,
|
||||
"height": 30,
|
||||
"weight": 2,
|
||||
"bottomLayer": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 338, 373, 374, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 335, 404, 371, 372, 407, 408, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 322, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 390, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 321, 390, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 355, 390, 493, 494, 495, 496, 497, 498, 499, 500, 501, 468, 503, 504, 471, 506, 507, 508, 509, 510, 515, 516, 517, 518, 519, 452, 521, 522, 523, 524, 389, 356, 527, 528, 529, 530, 531, 532, 533, 534, 535, 468, 537, 538, 471, 540, 541, 542, 543, 544, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 389, 390, 459, 460, 461, 462, 531, 464, 465, 466, 467, 468, 469, 470, 505, 472, 473, 474, 475, 476, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 321, 322, 323, 494, 495, 496, 531, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 515, 516, 517, 518, 519, 452, 453, 522, 523, 524, 355, 356, 357, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 549, 550, 551, 552, 553, 452, 385, 556, 557, 558, 389, 390, 391, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 481, 584, 585, 586, 587, 418, 419, 590, 591, 592, 423, 424, 425, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 481, 618, 619, 620, 621, 452, 487, 488, 489, 626, 457, 458, 459, 630, 631, 632, 565, 568, 635, 636, 637, 638, 639, 606, 641, 642, 643, 644, 645, 612, 481, 652, 653, 654, 655, 486, 487, 488, 489, 660, 491, 492, 493, 664, 665, 666, 565, 568, 606, 670, 671, 672, 568, 606, 675, 574, 677, 678, 679, 612, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 599, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 612, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 633, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 633, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680],
|
||||
"topLayer": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 375, 376, 376, 376, 377, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 375, 376, 377, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 375, 376, 377, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 375, 376, 376, 377, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 409, 410, 410, 410, 410, 410, 410, 410, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 69, 70, 70, 70, 70, 70, 70, 70, 71, 0, 0, 0, 0, 0, 0, 409, 410, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 375, 376, 376, 342, 342, 342, 342, 342, 342, 342, 70, 70, 410, 410, 410, 410, 410, 410, 70, 70, 71, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 69, 70, 70, 342, 342, 342, 342, 342, 342, 342, 343, 0, 0, 0, 0, 0, 0, 0, 443, 445, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 341, 342, 343, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 477, 478, 478, 0, 0, 0, 0, 0, 0, 0, 0, 443, 444, 445, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 138, 138, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 477, 478, 478, 478, 478, 478, 138, 138, 138, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 479, 0, 0, 0, 0, 0, 477, 478, 478, 138, 138, 138, 138, 138, 138, 138, 138, 138, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 444, 444, 444, 444, 444, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
"objectLayer": [
|
||||
{
|
||||
"x": 13,
|
||||
"y": 10
|
||||
},
|
||||
{
|
||||
"x": 19,
|
||||
"y": 12
|
||||
}
|
||||
],
|
||||
"entrances": [
|
||||
{
|
||||
"x": 0,
|
||||
"y": 16,
|
||||
"width": 3,
|
||||
"alt_tile": [0, 478]
|
||||
},
|
||||
{
|
||||
"x": 29,
|
||||
"y": 13,
|
||||
"width": 3,
|
||||
"alt_tile": [0, 478]
|
||||
}
|
||||
],
|
||||
"sprites": [
|
||||
{
|
||||
"type": "black_pudding",
|
||||
"x": 1,
|
||||
"y": 10,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 9,
|
||||
"y": 10,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "black_pudding",
|
||||
"x": 9,
|
||||
"y": 5,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "black_pudding",
|
||||
"x": 15,
|
||||
"y": 18,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "black_pudding",
|
||||
"x": 23,
|
||||
"y": 16,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "black_pudding",
|
||||
"x": 27,
|
||||
"y": 14,
|
||||
"possibility": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"width": 30,
|
||||
"height": 30,
|
||||
"weight": 2,
|
||||
"bottomLayer": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 338, 373, 374, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 335, 404, 371, 372, 407, 408, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 322, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 390, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 321, 390, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 355, 390, 493, 494, 495, 496, 497, 498, 499, 500, 501, 468, 503, 504, 471, 506, 507, 508, 509, 510, 515, 516, 517, 518, 519, 452, 521, 522, 523, 524, 389, 356, 527, 528, 529, 530, 531, 532, 533, 534, 535, 468, 537, 538, 471, 540, 541, 542, 543, 544, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 389, 390, 459, 460, 461, 462, 531, 464, 465, 466, 467, 468, 469, 470, 505, 472, 473, 474, 475, 476, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 321, 322, 323, 494, 495, 496, 531, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 515, 516, 517, 518, 519, 452, 453, 522, 523, 524, 355, 356, 357, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 549, 550, 551, 552, 553, 452, 385, 556, 557, 558, 389, 390, 391, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 481, 584, 585, 586, 587, 418, 419, 590, 591, 592, 423, 424, 425, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 481, 618, 619, 620, 621, 452, 487, 488, 489, 626, 457, 458, 459, 630, 631, 632, 565, 568, 635, 636, 637, 638, 639, 606, 641, 642, 643, 644, 645, 612, 481, 652, 653, 654, 655, 486, 487, 488, 489, 660, 491, 492, 493, 664, 665, 666, 565, 568, 606, 670, 671, 672, 568, 606, 675, 574, 677, 678, 679, 612, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 599, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 612, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 633, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 633, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 375, 376, 376, 376, 376, 377, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 307, 308, 308, 309, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 477, 478, 479, 0, 0, 477, 478, 478, 478, 478, 479, 0, 0, 0, 0, 0, 0, 307, 309, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 138, 138, 0, 0, 137, 138, 138, 138, 138, 138, 478, 478, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 477, 478, 478, 478, 478, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 0, 0, 0, 0, 0, 0, 0, 0, 477, 478, 478, 478, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 478, 478, 478, 478, 478, 478, 478, 478, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 138, 139, 0, 0, 137, 138, 138, 138, 138, 138, 138, 138, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 172, 138, 138, 173, 0, 0, 171, 138, 138, 138, 138, 172, 172, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
"objectLayer": [
|
||||
{
|
||||
"x": 25,
|
||||
"y": 14
|
||||
}
|
||||
],
|
||||
"entrances": [
|
||||
{
|
||||
"x": 0,
|
||||
"y": 17,
|
||||
"width": 3,
|
||||
"alt_tile": [0, 478]
|
||||
},
|
||||
{
|
||||
"x": 29,
|
||||
"y": 14,
|
||||
"width": 3,
|
||||
"alt_tile": [0, 478]
|
||||
}
|
||||
],
|
||||
"sprites": [
|
||||
{
|
||||
"type": "black_pudding",
|
||||
"x": 1,
|
||||
"y": 10,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 7,
|
||||
"y": 13,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 13,
|
||||
"y": 12,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 18,
|
||||
"y": 14,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 13,
|
||||
"y": 16,
|
||||
"possibility": 1
|
||||
},
|
||||
{
|
||||
"type": "Snake",
|
||||
"x": 23,
|
||||
"y": 13,
|
||||
"possibility": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -12,6 +12,7 @@ import Layer from "../../Wolfie2D/Scene/Layer";
|
|||
import Label from "../../Wolfie2D/Nodes/UIElements/Label";
|
||||
import MainMenu from "./MainMenu";
|
||||
import Forest from "./Forest";
|
||||
import Start from "./Start";
|
||||
import Porcelain from "./Porcelain";
|
||||
import Greatwall from './Greatwall';
|
||||
import Snow from './Snow';
|
||||
|
@ -32,47 +33,61 @@ export default class Levels extends Scene {
|
|||
this.primary = this.addUILayer("primary");
|
||||
|
||||
|
||||
const seedHint = <Label>this.add.uiElement(UIElementType.LABEL, "primary", {position: new Vec2(center.x, center.y - 200), text: "Enter seed or leave it blank to randomly generate one"});
|
||||
const seedHint = <Label>this.add.uiElement(UIElementType.LABEL, "primary", {position: new Vec2(center.x, center.y - 400), text: "Enter seed or leave it blank to randomly generate one"});
|
||||
seedHint.textColor = Color.WHITE;
|
||||
|
||||
this.seedInput = <TextInput>this.add.uiElement(UIElementType.TEXT_INPUT, "primary", {position: new Vec2(center.x, center.y - 150), text: ""})
|
||||
this.seedInput = <TextInput>this.add.uiElement(UIElementType.TEXT_INPUT, "primary", {position: new Vec2(center.x, center.y - 350), text: ""})
|
||||
this.seedInput.size.set(200, 50);
|
||||
|
||||
const start = this.add.uiElement(UIElementType.BUTTON, "primary", {position: new Vec2(center.x, center.y - 100), text: "Start Game"});
|
||||
|
||||
const start = this.add.uiElement(UIElementType.BUTTON, "primary", {position: new Vec2(center.x, center.y - 300), text: "start(Test)"});
|
||||
start.size.set(200, 50);
|
||||
start.borderWidth = 2;
|
||||
start.borderColor = Color.WHITE;
|
||||
start.backgroundColor = Color.TRANSPARENT;
|
||||
start.onClickEventId = "start";
|
||||
|
||||
const forest = this.add.uiElement(UIElementType.BUTTON, "primary", {position: new Vec2(center.x, center.y - 200), text: "forest(Test)"});
|
||||
forest.size.set(200, 50);
|
||||
forest.borderWidth = 2;
|
||||
forest.borderColor = Color.WHITE;
|
||||
forest.backgroundColor = Color.TRANSPARENT;
|
||||
forest.onClickEventId = "forest";
|
||||
|
||||
const porcelain = this.add.uiElement(UIElementType.BUTTON, "primary", {position: new Vec2(center.x, center.y), text: "porcelain(Test)"});
|
||||
const porcelain = this.add.uiElement(UIElementType.BUTTON, "primary", {position: new Vec2(center.x, center.y - 100), text: "porcelain(Test)"});
|
||||
porcelain.size.set(200, 50);
|
||||
porcelain.borderWidth = 2;
|
||||
porcelain.borderColor = Color.WHITE;
|
||||
porcelain.backgroundColor = Color.TRANSPARENT;
|
||||
porcelain.onClickEventId = "porcelain";
|
||||
|
||||
const greatwall = this.add.uiElement(UIElementType.BUTTON, "primary", {position: new Vec2(center.x, center.y + 100), text: "greatwall(Test)"});
|
||||
const greatwall = this.add.uiElement(UIElementType.BUTTON, "primary", {position: new Vec2(center.x, center.y), text: "greatwall(Test)"});
|
||||
greatwall.size.set(200, 50);
|
||||
greatwall.borderWidth = 2;
|
||||
greatwall.borderColor = Color.WHITE;
|
||||
greatwall.backgroundColor = Color.TRANSPARENT;
|
||||
greatwall.onClickEventId = "greatwall";
|
||||
|
||||
const snow = this.add.uiElement(UIElementType.BUTTON, "primary", {position: new Vec2(center.x, center.y + 200), text: "snow(Test)"});
|
||||
const snow = this.add.uiElement(UIElementType.BUTTON, "primary", {position: new Vec2(center.x, center.y + 100), text: "snow(Test)"});
|
||||
snow.size.set(200, 50);
|
||||
snow.borderWidth = 2;
|
||||
snow.borderColor = Color.WHITE;
|
||||
snow.backgroundColor = Color.TRANSPARENT;
|
||||
snow.onClickEventId = "snow";
|
||||
|
||||
const market = this.add.uiElement(UIElementType.BUTTON, "primary", {position: new Vec2(center.x, center.y + 300), text: "market(Test)"});
|
||||
const market = this.add.uiElement(UIElementType.BUTTON, "primary", {position: new Vec2(center.x, center.y + 200), text: "market(Test)"});
|
||||
market.size.set(200, 50);
|
||||
market.borderWidth = 2;
|
||||
market.borderColor = Color.WHITE;
|
||||
market.backgroundColor = Color.TRANSPARENT;
|
||||
market.onClickEventId = "market";
|
||||
|
||||
const end = this.add.uiElement(UIElementType.BUTTON, "primary", {position: new Vec2(center.x, center.y + 300), text: "end(Test)"});
|
||||
end.size.set(200, 50);
|
||||
end.borderWidth = 2;
|
||||
end.borderColor = Color.WHITE;
|
||||
end.backgroundColor = Color.TRANSPARENT;
|
||||
end.onClickEventId = "end";
|
||||
|
||||
const back = this.add.uiElement(UIElementType.BUTTON, "primary", {position: new Vec2(center.x, center.y + 400), text: "Back"});
|
||||
back.size.set(200, 50);
|
||||
back.borderWidth = 2;
|
||||
|
@ -81,10 +96,12 @@ export default class Levels extends Scene {
|
|||
back.onClickEventId = "back";
|
||||
|
||||
this.receiver.subscribe("start");
|
||||
this.receiver.subscribe("forest");
|
||||
this.receiver.subscribe("porcelain");
|
||||
this.receiver.subscribe("greatwall");
|
||||
this.receiver.subscribe("snow");
|
||||
this.receiver.subscribe("market");
|
||||
this.receiver.subscribe("end");
|
||||
this.receiver.subscribe("back");
|
||||
}
|
||||
|
||||
|
@ -94,8 +111,29 @@ export default class Levels extends Scene {
|
|||
|
||||
console.log(event);
|
||||
|
||||
|
||||
if(event.type === "start"){
|
||||
if (this.seedInput.text) {
|
||||
InputWrapper.randomSeed = this.seedInput.text;
|
||||
this.seedInput.text = "";
|
||||
}
|
||||
else {
|
||||
InputWrapper.randomSeed = Math.floor(Math.random() * 10000000000).toString();
|
||||
}
|
||||
let sceneOptions = {
|
||||
physics: {
|
||||
groupNames: ["ground", "player", "enemies"],
|
||||
collisions:
|
||||
[
|
||||
[0, 1, 1],
|
||||
[1, 0, 0],
|
||||
[1, 0, 0]
|
||||
]
|
||||
}
|
||||
}
|
||||
this.sceneManager.changeToScene(Start, {}, sceneOptions);
|
||||
}
|
||||
|
||||
if(event.type === "forest"){
|
||||
if (this.seedInput.text) {
|
||||
InputWrapper.randomSeed = this.seedInput.text;
|
||||
this.seedInput.text = "";
|
||||
|
@ -118,6 +156,13 @@ export default class Levels extends Scene {
|
|||
}
|
||||
|
||||
if(event.type === "porcelain"){
|
||||
if (this.seedInput.text) {
|
||||
InputWrapper.randomSeed = this.seedInput.text;
|
||||
this.seedInput.text = "";
|
||||
}
|
||||
else {
|
||||
InputWrapper.randomSeed = Math.floor(Math.random() * 10000000000).toString();
|
||||
}
|
||||
let sceneOptions = {
|
||||
physics: {
|
||||
groupNames: ["ground", "player", "enemies"],
|
||||
|
@ -133,6 +178,13 @@ export default class Levels extends Scene {
|
|||
}
|
||||
|
||||
if(event.type === "greatwall"){
|
||||
if (this.seedInput.text) {
|
||||
InputWrapper.randomSeed = this.seedInput.text;
|
||||
this.seedInput.text = "";
|
||||
}
|
||||
else {
|
||||
InputWrapper.randomSeed = Math.floor(Math.random() * 10000000000).toString();
|
||||
}
|
||||
let sceneOptions = {
|
||||
physics: {
|
||||
groupNames: ["ground", "player", "enemies"],
|
||||
|
@ -148,6 +200,13 @@ export default class Levels extends Scene {
|
|||
}
|
||||
|
||||
if(event.type === "snow"){
|
||||
if (this.seedInput.text) {
|
||||
InputWrapper.randomSeed = this.seedInput.text;
|
||||
this.seedInput.text = "";
|
||||
}
|
||||
else {
|
||||
InputWrapper.randomSeed = Math.floor(Math.random() * 10000000000).toString();
|
||||
}
|
||||
let sceneOptions = {
|
||||
physics: {
|
||||
groupNames: ["ground", "player", "enemies"],
|
||||
|
@ -163,6 +222,13 @@ export default class Levels extends Scene {
|
|||
}
|
||||
|
||||
if(event.type === "market"){
|
||||
if (this.seedInput.text) {
|
||||
InputWrapper.randomSeed = this.seedInput.text;
|
||||
this.seedInput.text = "";
|
||||
}
|
||||
else {
|
||||
InputWrapper.randomSeed = Math.floor(Math.random() * 10000000000).toString();
|
||||
}
|
||||
let sceneOptions = {
|
||||
physics: {
|
||||
groupNames: ["ground", "player", "enemies"],
|
||||
|
|
53
src/shattered_sword/Scenes/Start.ts
Normal file
53
src/shattered_sword/Scenes/Start.ts
Normal file
|
@ -0,0 +1,53 @@
|
|||
import Vec2 from "../../Wolfie2D/DataTypes/Vec2";
|
||||
import RandomMapGenerator from "../Tools/RandomMapGenerator";
|
||||
import GameLevel from "./GameLevel";
|
||||
import InputWrapper from "../Tools/InputWrapper";
|
||||
import Forest from "./Forest";
|
||||
|
||||
export default class Start extends GameLevel {
|
||||
loadScene(): void {
|
||||
super.loadScene();
|
||||
this.rmg = new RandomMapGenerator("shattered_sword_assets/jsons/castle_template.json", InputWrapper.randomSeed);
|
||||
this.map = this.rmg.getMap();
|
||||
this.load.tilemapFromObject("map", this.map);
|
||||
|
||||
//load enemies
|
||||
}
|
||||
|
||||
updateScene(deltaT: number): void {
|
||||
super.updateScene(deltaT);
|
||||
}
|
||||
|
||||
protected goToNextLevel(): void {
|
||||
this.viewport.setZoomLevel(1);
|
||||
let sceneOptions = {
|
||||
physics: {
|
||||
groupNames: ["ground", "player", "enemies"],
|
||||
collisions:
|
||||
[
|
||||
[0, 1, 1],
|
||||
[1, 0, 0],
|
||||
[1, 0, 0]
|
||||
]
|
||||
}
|
||||
}
|
||||
this.sceneManager.changeToScene(Forest, {}, sceneOptions);
|
||||
}
|
||||
|
||||
protected playStartStory(): void {
|
||||
if (!this.touchedStartCheckPoint) {
|
||||
this.touchedStartCheckPoint = true;
|
||||
this.storyLoader("shattered_sword_assets/jsons/level1story.json");
|
||||
this.startTimer();
|
||||
}
|
||||
}
|
||||
|
||||
protected playEndStory() {
|
||||
if (!this.touchedEndCheckPoint) {
|
||||
this.touchedEndCheckPoint = true;
|
||||
this.storyLoader("shattered_sword_assets/jsons/story.json");
|
||||
this.endTimer();
|
||||
this.levelEnded = true;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user