50% developed

Super Mario 63/Level designer

From Wikibooks, open books for an open world
Jump to navigation Jump to search

The level designer allows creating custom stages using tiles and items.

Basics[edit | edit source]

The name of the course, the music, the background image, and the tile size of the course can be adjusted in the "Course info" menu that is located under the "File" menu.

Tiles that can be placed in the grid include grounds and walls with textures used throughout the game, breakable boxes with coins, cannons, lava, and more. Each tile has a width and height of 30 units. Items such as various types of coins, platforms, hazards, water with selectable length and depth, F.L.U.D.D. jet packs, and water bottles for them, can be placed anywhere within tiles.

If red coins and silver stars are used, all of at least one type need to be collected for the shine sprite to appear. The number does not have to be eight and five respectively, as it is in the game's main adventure.

Many items and large stages can slow down the frame rate. This can be prevented by dividing the stage using the "horizontal level transition" item. Only the active section rather than the entire stage is loaded. A level can have multiple transitions, though each transition has to have a minimum distance from each other and from the level edges. Vertical level transitions, as used in the main game, have not been implemented in the level designer.

After building a course, it can be tested using the "Test Course" option in the "File" menu, and exited using backspace.

Export and import[edit | edit source]

There are "Save Course" and "Load Course" menus in the "File" menu. Courses can be saved into and loaded from the Flash player's local storage, for which three slots are available. They can also can be exported and imported through code.

The game uses a very space-efficient custom mark-up language for code. Here is an example stage built from only 2492 bytes of code:

50x31~0*29*2K2M0*29*2K2M0*29*2K2M0*29*2K2M0*29*2K2M0*29*2K2M0*29*2K2M0*29*2K2M0*29*2K2M0*29*2K2M0*29*2K2M0*29*2K2M0*29*2K2M0*26*3d*5*0*30*3d0*4*3d*25*03d0*4*3d0*8*4u0*14*3d03d0*4*3d03d*4*0*3*4u0*14*3d03d0*4*3d03d03d0*4*4u0*14*3d03d0*4*3d03d03d03d*3*4w4u*5*3d*5*0*6*3d0*4*3d03d03d03d0*8*3d0*3*3d*5*03d*2*0*4*3d03d03d03d0*3*3d0*4*3d03d0*5*3d03d2M0*4*3d03d03d03d0*3*3d0*2*3d03d03d*5*03d03d2M0*4*3d03d03d03d0*6*3d03d03d0*3*3d03d03d2M0*4*3d03d03d03d03d0*2*3d0*3*3d03d03d03d03d03d2M0*4*3d03d03d03d03d0*2*3d0*5*3d03d03d03d03d2M0*4*3d03d03d03d0*10*3d03d03d0*3*3d2M0*4*3d03d03d03d*2*03h3d*6*3h3d03d03d*2*03d*2*2M0*4*3d03d03d0*2*3d03d0*7*3d03d0*2*3d03d*2*2M0*4*3d03d03d*2*03d03d03d*5*03d03d*2*03d03d*2*2M0*4*3d03d0*2*3d03d03d0*5*3d03d0*2*3d03d0*2*3d2M0*4*3d03d*2*03d03d03d0*3*3d03d03d*2*03d03d*2*03d*2*0*4*3d0*2*3d03d03d03g3d*4*03d0*4*3e0*10*3d0*2*3d03d03d0*3*3d0*3*3d3h3d*2*3O3e3d*6*0*4*3d*2*03d03d03d0*3*3d03d*3*0*7*3f0*7*3g3d03d0*7*3d0*5*3d*5*0*2*3h3d*2*0*7*3d0*7*3d*2*0*5*3d0*4*3d*2*0*8*3h3d4u*2*3d0*5*3d0*10*3d*2*02M3d*8*0*2*3d*2*4u*4*3d*10*03d*2*02M920*29*2M920*3*3h3d*24*2M*2*929\9]9R92*2*97*17*4x4z0*3*2d2M*2*929\9]9N92*2*970*21*2f2h2M929\9]9N92*2*970*22*2K2M929\9]9N92*2*970*22*2K2M929\9]9Q92*2*970*22*2K2M929\9]9O92*2*970*22*2K2M929\9]9O92*2*970*22*2K2M929\9]9O92*2*970*22*2K2M929\9]9O92*2*970*22*2K2M~1,1489,51,0,0,Left|38,479,125,0,800,900|3,1327,50|3,1136,655|3,977,496|3,1168,466|6,1138,11|66,1013,566,1|66,940,625,1|40,1198,291,1071,82|3,819,849|2,624,688|2,817,623|2,716,495|2,789,433|2,656,399|3,978,240|2,748,207|3,528,368|4,1071,957|56,620,146,1|56,750,147,1|56,877,145,1|62,945,143,1|62,690,147,1|62,497,239,1|38,395,821,0,100,140|55,1138,562,1|18,672,907,-1,0|18,785,849,0.5,0|3,658,817|73,1203,290,This%20is%20the%20remake%20of%20a%20stage%20I%20originally%20created%20in%202010%2C%20but%20I%20discovered%20the%20text%20file%20with%20the%20code%20blank%2E%20%0DSaving%20failed%20somehow%20apparently%20back%20then%2E|77,559,211|77,882,785|77,718,883|77,624,337|77,1068,881|3,1168,913|73,1232,930,When%20working%20on%20any%20project%2C%20do%20not%20forget%20to%20create%20a%20revision%20history%2C%20as%20described%20%3Cu%3E%3Cb%3E%3Ca%20href%3D%22https%3A%2F%2Fen%2Ewikiversity%2Eorg%2Fwiki%2FFile%5Fmanagement%23Revision%5Fhistory%22%3Ehere%3C%2Fa%3E%3C%2Fb%3E%3C%2Fu%3E%2E|79,497,844,200|40,724,897,1073,912|80,1073,751,30|76,1071,799|75,1519,71|80,1134,911,3|40,23,902,15,15|81,112,528,1|2,784,782|5,1071,974|4,1008,958|4,1554,17~7~5~Swim%2C%20swim%2C%20before%20you%20drown%21

In this custom stage, Mario has to find nine red coins in an underwater maze. Each coin provides air to prevent drowning, therefore Mario has to be quick enough. Easter eggs that are leftovers from development are hidden within the stage.

Elements and techniques[edit | edit source]

Scrolling and placing[edit | edit source]

Multiple tiles can be placed easily by holding down the mouse and scrolling using the arrow keys. The speed of scrolling is adjustable in the movement settings found under "View" in the top left menu.

Multiple items can be placed without re-selection by holding ↑Shift while clicking.

In-game[edit | edit source]

In-game, the screen scrolls to the shine sprite (the first placed one if there are multiple) after all of either silver stars or red coins are collected and back to the player after its activation animation. Note that vertical scrolling is locked while Mario/Luigi is suffering for few seconds after a lava or fire burn.

Few elements from the main game have not been implemented in the level designer, including breakable vertical logs (found on the third floor of Bowser's castle), toxic haze (from "Hazy Maze Cave"), spinning hearts that refill health, wind (found in "Tall Tall Mountain"), cannon boxes that float on water and switch-adjustable water levels (found in "Wet Dry World" and "The Cave of Empuzzlement"), heavy black balls that roll down hills (found in "Bob-Omb Battlefield" and "Tall Tall Mountain"), and the background used in "Wet Dry World". The spinning lava wheel from "Lethal Lava Land" and disappearing tiles under a cage in "The Edge of Mushroom Kingdom" have also not been implemented, though that level of customization would be difficult to implement in a level designer. A spinning heart can be simulated through an invincibility star with a short timeout, as that refills health as well.

A climbable wall can be simulated through a thin vertical layer of water protruding from it.

F.L.U.D.D.[edit | edit source]

When Mario/Luigi wears a F.L.U.D.D., indicators for water and power appear at the lower right corner. Both are necessary for its operation. The water can be thought of as a fuel tank, and "power" is the short-term endurance, which is 5% of the water tank capacity.

For filling the F.L.U.D.D.'s water tank (indicated with blue 2.5D bar and percentage meter), besides touching normal water, water bottles can be used, where a small bottle refills 15% and a large bottle half of the tank.

The power of F.L.U.D.D. is indicated as a red vertical bar. Touching the ground refills it immediately, collecting a blue coin fills up a half, and stomping a bullet bill fills up a quarter. The rocket and turbo F.L.U.D.D.'s also slowly refill power while airborne with released throttle (space bar or C). F.L.U.D.D. power observaböy also refills in the background while no F.L.U.D.D. is activated, which could be of use when bouncing on a flying penguin and rocket and turbo are unavailable.

Demo stage:

50x100~0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M0*98*2K2M~1,63,3036,0,0,Right|82,66,3113|83,66,3114|84,66,3115|4,111,3053|4,141,3024|4,176,2990|4,210,2952|4,243,2920|4,257,2853|4,339,2829|4,432,2798|4,495,2741|4,559,2666|4,608,2596|4,644,2532|4,667,2461|4,656,2496|4,717,2532|4,726,2494|4,734,2457|4,703,2410|4,754,2358|4,840,2331|4,927,2319|4,1003,2318|4,1032,2293|4,1069,2248|4,1100,2207|4,1127,2150|4,1138,2124|4,1155,2079|4,1172,2039|4,1203,1994|4,1259,1964|4,1291,1934|4,1298,1899|4,1300,1872|4,1297,1829|4,1297,1785|4,1298,1739|4,1298,1672|4,1298,1620|4,1298,1575|4,1298,1519|4,1297,1449|4,1299,1394|4,1298,1349|4,1360,1342|4,1420,1343|4,1487,1340|4,1517,1322|4,1523,1283|4,1492,1265|4,1446,1261|4,1396,1263|4,1349,1264|4,1298,1263|4,1256,1251|4,1250,1293|4,1262,1293|4,1275,1293|4,1253,1307|4,1263,1307|4,1270,1306|140,1261,1195,1,0|4,1250,1118|4,1264,1117|4,1278,1116|4,1265,1146|4,1264,1086|4,1249,1054|4,1265,1054|4,1275,1054|4,1264,1026|4,1253,992|4,1262,991|4,1274,991|4,1266,958|4,1265,923|4,1265,907|4,1265,896|4,1264,860|4,1266,848|4,1264,836|4,1265,794|4,1265,784|4,1265,773|4,1264,752|4,1238,752|4,1200,751|4,1171,752|4,1138,751|4,1108,750|4,1070,752|4,1042,752|4,1011,752|4,1008,719|4,1008,688|4,1018,663|4,1046,637|4,1069,614|4,1093,586|4,1083,550|4,1067,479|4,1074,513|4,1047,470|4,1008,468|4,969,470|4,934,469|4,905,444|4,877,425|4,851,404|4,826,394|4,805,383|4,788,377|4,761,367|4,726,365|4,673,365|4,698,364|4,658,365|4,622,365|4,590,364|4,552,364|4,519,363|4,490,361|4,462,361|4,433,360|4,402,360|4,370,361|4,338,360|4,302,360|4,272,360|4,237,360|4,212,359|4,176,360|4,146,338|4,110,319|4,107,289|4,106,255|4,106,213|4,109,179|4,128,150|4,152,123|4,172,98|4,191,75|4,215,59|4,253,43|4,298,44|4,335,41|4,383,42|4,418,42|4,473,42|4,517,41|4,577,40|4,619,21|4,656,9|4,714,8|4,789,7|4,856,7|4,923,7|4,977,7|4,1023,7|4,1069,7|4,1153,7|4,1108,7|34,1187,51,1,0|34,1333,27,1,340|34,1040,28,1,20|6,1200,13|5,114,3084|75,1361,1392|71,499,3095,Both,0,2,0.5,0,4,1|71,530,3096,Both,0,2,0.5,0,5,1|71,564,3096,Both,0,3,0.5,0,3,1|68,479,2511,1|67,687,2673,1|71,597,3096,Both,0,4,0.5,0,6,1|71,1551,3092,Both,0,5,0.1,0,0,1|81,1551,3109,60|81,-19,3109,5|45,13,404,90,100,100,-1,-1,0,0,0|45,1518,1293,270,100,100,64,92,0,0,0~5~1~Try%20getting%20up%20there%20twice%21