7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
8
8
< script src ="https://yantra.gg/labyrinthos/browser/vendor/jquery.min.js "> </ script >
9
9
< script src ="https://yantra.gg/labyrinthos/browser/vendor/jszip.min.js "> </ script >
10
- < meta name ="description "
11
- content ="A JavaScript procedural generator for Mazes, Terrains, and Biomes ">
10
+ < meta name ="description " content ="A JavaScript procedural generator for Mazes, Terrains, and Biomes ">
12
11
< script src ="./browser/labyrinthos.js "> </ script >
13
12
< script src ="./browser/demo.js "> </ script >
14
13
118
117
padding-bottom : 0px ;
119
118
padding-top : 0px ;
120
119
}
120
+
121
121
label {
122
122
color : # 3652AD ;
123
123
font-size : 24px ;
201
201
min-width : 280px ;
202
202
}
203
203
204
+ .gameSettingsMessage {
205
+ display : none;
206
+ padding : 10px ;
207
+ font-size : 18px ;
208
+ }
204
209
205
210
button {
206
211
padding : 12px 30px ;
345
350
/* Reset order to ensure natural HTML flow */
346
351
}
347
352
348
- select ,
349
- button ,
350
- .mapSettings {
351
- /* Adjust font size for readability */
352
- }
353
+
354
+
353
355
354
356
# mapContainer {
355
357
font-size : 24px ;
@@ -387,8 +389,10 @@ <h2>A JavaScript procedural generator for Mazes, Terrains, and Biomes</h2>
387
389
< button id ="nextAlgo " title ="Next algorithm "> ></ button >
388
390
389
391
< button id ="generateMap " title ="Generate new map and random seed "> Generate Map</ button >
390
- < button class ="mantraTiled " id ="mantra2DTiled " title ="View Map using Mantra.js CSSGraphics "> Explore in 2D</ button >
391
- < button class ="mantraTiled " id ="mantra3DTiled " title ="View Map using Mantra.js 3D Graphics "> Explore in 3D</ button >
392
+ < button class ="mantraTiled " id ="mantra2DTiled " title ="View Map using Mantra.js CSSGraphics "> Explore in
393
+ 2D</ button >
394
+ < button class ="mantraTiled " id ="mantra3DTiled " title ="View Map using Mantra.js 3D Graphics "> Explore in
395
+ 3D</ button >
392
396
393
397
< div id ="mapContainer "> </ div >
394
398
@@ -405,7 +409,7 @@ <h2>A JavaScript procedural generator for Mazes, Terrains, and Biomes</h2>
405
409
</ label >
406
410
</ div >
407
411
</ div >
408
-
412
+
409
413
< br />
410
414
411
415
< div class ="boxer ">
@@ -416,7 +420,7 @@ <h2>A JavaScript procedural generator for Mazes, Terrains, and Biomes</h2>
416
420
< label for ="mapHeight "> Map Height
417
421
< input class ="mapSettings " id ="mapHeight " type ="number " value ="16 " />
418
422
</ label >
419
- < br />
423
+ < br />
420
424
<!-- Depth Input for 3D Mode (Initially Hidden) -->
421
425
< label for ="mapDepth " style ="display:none; "> Map Depth
422
426
< input class ="mapSettings " id ="mapDepth " type ="number " value ="1 " />
@@ -438,20 +442,44 @@ <h2>A JavaScript procedural generator for Mazes, Terrains, and Biomes</h2>
438
442
< label for ="mapSizeLarge "> Large
439
443
< input type ="radio " id ="mapSizeLarge " name ="mapSize " value ="large ">
440
444
</ label >
445
+ < br />
446
+ < label for ="mapMode2d "> 2D
447
+ < input type ="radio " id ="mapMode2d " name ="mapMode " value ="2d " checked >
448
+ </ label >
449
+ < label for ="mapMode3d "> 3D
450
+ < input type ="radio " id ="mapMode3d " name ="mapMode " value ="3d ">
451
+ </ label >
441
452
</ div >
442
453
< br />
443
454
<!-- Map Size select -->
444
455
< div class ="boxer ">
445
456
446
457
<!-- Map Mode Selection -->
447
458
< div >
448
- < label for ="mapMode2d "> 2D
449
- < input type ="radio " id ="mapMode2d " name ="mapMode " value ="2d " checked >
459
+
460
+ <!--
461
+
462
+ <br />
463
+ <label class="gameSettings" for="mapModePhysicsTop" title="Top-Down Physics with zero gravity">Top-Down
464
+ <input type="radio" id="mapModePhysicsTop" name="mapModePhysics" value="top-down" checked>
450
465
</label>
451
- < label for ="mapMode3d "> 3D
452
- < input type ="radio " id ="mapMode3d " name ="mapMode " value ="3d ">
466
+ <label class="gameSettings" for="mapModePhysicsPlatform" title="Platformer style physics with gravity">Platformer
467
+ <input type="radio" id="mapModePhysicsPlatform" name="mapModePhysics" value="platformer">
468
+ </label>
469
+ -->
470
+
471
+ < br />
472
+ < br />
473
+
474
+ < label class ="gameSettings " for ="generateChunks "
475
+ title ="When enabled the TileMap will extend to infinity using coordinate chunks as random seed values to your algorithm. "> Procedurally
476
+ Generate Chunks
477
+ < input type ="checkbox " id ="generateChunks " name ="generateChunks " value ="false ">
453
478
</ label >
454
479
480
+ < div class ="gameSettingsMessage "> You must explore map to see these changes.</ div >
481
+
482
+
455
483
<!-- Stacking Mode Selection for 3D Maps -->
456
484
< div id ="stackingModeSelection " style ="display:none; "> <!-- Initially hidden -->
457
485
< label for ="stackingModeUnique " title ="Each layer of the 3D will be unique instance of 2D algo. "> Unique
@@ -484,13 +512,14 @@ <h2>A JavaScript procedural generator for Mazes, Terrains, and Biomes</h2>
484
512
< br />
485
513
486
514
< div class ="boxer ">
487
- < a href ="https://discord.gg/hw9VvWPJqN " target ="_blank " id ="discordLink "> < img width ="60 " src ="./browser/img/discord-voice.png "/> </ a >
515
+ < a href ="https://discord.gg/hw9VvWPJqN " target ="_blank " id ="discordLink "> < img width ="60 "
516
+ src ="./browser/img/discord-voice.png " /> </ a >
517
+ < br />
518
+ < a class ="chatLink link " target ="_blank " href ="https://discord.gg/hw9VvWPJqN "> Chat</ a >
488
519
< br />
489
- < a class ="chatLink link " target ="_blank " href ="https://discord.gg/hw9VvWPJqN "> Chat</ a >
490
- < br />
491
520
492
521
</ div >
493
-
522
+
494
523
</ div >
495
524
<!-- TODO:
496
525
<div>
0 commit comments