Designer Tips and Tricks

Talk about the level designer. Read about tips and tricks and share ideas.

Moderator: Level Moderator

Re: Designer Tips and Tricks

Postby AwesomeJRFD » May 19th, 2013, 2:29 pm

It works fine. It's just not visually perfect. And as I said, I'll try to fix that.
Image
User avatar
AwesomeJRFD
Honorary Member

 
Posts: 836
Joined: November 11th, 2010, 2:06 pm
Location: Sixteenth Dimension: Hyperspace

Runouw Votes Winner
Best Thread (An Explanation of Triggers) in Runouw Votes Summer 2013

Thumbs Up given: 50 times
Thumbs Up received: 38 times

Re: Designer Tips and Tricks

Postby CedarBranch » May 20th, 2013, 10:46 am

TheZunar123 wrote:The thing with your trigger is that it only works properly if there isn't a vertical splitter below it, since basically what your trigger does is push the player underneath the level. That makes it not work in levels where the designer would want a death pit, but the level extends further down.

I haven't actually tested this nor the trigger, but, from reading what I've read, maybe you could copy the hitbox and paste it below the vertical splitter, causing it to continue the death process.

Like I said, I haven't tested this trick at all, but I think I can picture the process, it maybe being similar to Super Mario 63's flipping platform trick.
Triple J here!
Image
Credit goes to FrozenFire/l.m
Other Stuff: show
AC:NL Info

Dream Address: 4400-3141-4504
Mayor: Triple J
Town Name: Quattom



My Super Mario Maker levels: viewtopic.php?f=77&t=46621&p=344256#p344256

My Youtube channel, if you could possibly bother: https://www.youtube.com/channel/UCuP5V8 ... subscriber

Brand-new Bomberman 64: The Second Attack Gameshark Codes!
Now on Dropbox! Active and updated irregularly.
User avatar
CedarBranch
Impulsive & ambitious

 
Posts: 1242
Joined: June 15th, 2012, 1:10 pm
Location: Reclusive. (At least I want to.)

Runouw Votes Winner
Voted "Best Level" with Essence of Time in Runouw Votes New Year 2014/15

Thumbs Up given: 384 times
Thumbs Up received: 108 times

Re: Designer Tips and Tricks

Postby Zunar » May 20th, 2013, 11:41 am

That's pretty much what I did for the solution, but what if I wanted the death pit to be high above the splitter? It wouldn't work very well then.

Still, I think an option to adjust player or enemy would be nice, plus it would add a insta-kill feature. Two birds with one stone, as they say.
User avatar
Zunar
Honorary Member

 
Posts: 1838
Joined: August 1st, 2009, 4:50 pm
Location: In the shadows, where you'll never find me.

Thumbs Up given: 14 times
Thumbs Up received: 51 times

Re: Designer Tips and Tricks

Postby -BY » May 21st, 2013, 12:05 pm

Eyes following the player + destroyable vases

Instead of wasting it I felt like posting this here. I don't think the stuff with the eyes has been done before.

Code: Select all
25x50~.9aB3.22aB.aB.22aB3.600aCaBaD.22aB.aB.22aCaBaD.61cf23.2cf23.2cf23.2cf23.2cf23.2cf11bX5cf7.2cf23.2cf4bXcA.11cBbXcf4.2cf4bX.13bXcf4.2cf4bX.13bXcf4.2cf4bX.13bXcf4.2cf4bX.13bXcf4.2cf4bX.13bXcf4.2cf4bX.13bXcf4.2cf23.2cf23.2cf23.2cf23~.936cf8.11gO7fO6gO2.10gO2fO7eK2fO2gO2.10gO2fO2eK2fO2eKeOeNeKfOgO2.10gO2fOeKeOeNeKfOeKeLeMeKfOgO2.10gO2fOeKeLeMeKfO2eK2fO2gO2.10gO2fO2eK3fO6gO2.10gO2fO6gO7.11cf8~~4;2176;608;3;3;100,100,100,60,0,0,0,0,0,100,-100|7;584;1312;100,100,100,100,0,0,0,0,0,0,-100;4;3;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;4;64;5;0;0;1000;3;0;1;1;;2|7;568;1376;100,100,100,100,0,0,0,0,0,0,-100;4;5;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;4;64;5;0;0;1000;3;0;1;1;;2|7;248;1376;100,100,100,100,0,0,0,0,0,0,-100;4;7;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;4;64;5;0;0;1000;3;0;1;1;;2|11;400;1440;1;1;0;100,100,100,100,0,0,0,0,0,70,-100;4;0;0;0;800;0|5;579;1309;0;9;0;move,bst17,124,0,0,0|40:svase1;576;1584;|4;192;1216;13;7;100,100,100,100,0,0,0,0,0,0,-100|286:eye2;475;1318;1.5;0.5;45;100,100,100,100,200,0,0,0,-20,-100;0|286:eye1;314;1347;1.5;0.5;45;100,100,100,100,200,0,0,0,-20,-100;0~0;405;1438;1;0;0|9;398;1137;100,100,100,100,0,0,0,0,100;2,2;cwcxcycz;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;1;;1.5;1.5;0;0;1|40;568;1336;|40;592;1336;|40;592;1360;|40;568;1360;~252;379;1126;0.4;0.6;5;100,100,100,100,0,0,0,0,-100;0|252;417;1126;-0.4;0.6;-5;100,100,100,100,0,0,0,0,-100;0|112;377;1160;0.2;0.2;-55;100,100,100,100,0,0,0,0,-100;0|112;376;1160;0.2;0.2;95;100,100,100,100,0,0,0,0,-100;0|112;396;1161;0.2;0.2;85;100,100,100,100,0,0,0,0,-100;0|112;414;1160;0.2;0.2;65;100,100,100,100,0,0,0,0,-100;0|252;418;1123;-0.2;0.3;-5;300,100,100,100,0,0,0,0,-80;0|252;378;1123;0.2;0.3;5;300,100,100,100,0,0,0,0,-80;0|15;1952;1312;-1;-1;0;0;;|6;800;352;1120;1200;0;1;camera,0,0,0,0,,-25,0,10:invis_wait:cameraoff|4;800;0;36;49;100,100,100,60,0,0,0,0,0,100,-100|4;1952;0;36;49;100,100,100,60,0,0,0,0,0,100,-100|15;3104;672;14;-1;0;0;;|11;2224;704;1;1;0;100,100,100,100,0,0,0,0,0,70,-100;4;0;0;0;800;0|15;800;1088;-1;-1;0;0;;|15;0;1504;-1;-1;0;0;;|74;577;1439;0;;1;0.5;1;move,vase1,0,9999,1,0:move,svase1,577,1430,1,0:exit|314:vase1;577;1423;1.5;2;0;100,100,100,100,0,0,0,0,0,0,-100;0|7:vase1;565;1408;100,100,100,0;5;2;all;90;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;4;64;5;0;0;1000;3;0;1;1;;2|74;236;1440;0;;1;0.5;1;move,vase5,0,9999,1,0:move,svase5,236,1430,1,0:exit|314:vase5;236;1424;1.5;2;0;100,100,100,100,0,0,0,0,0,0,-100;0|7:vase5;251;1407;100,100,100,0;5;2;all;90;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;4;64;5;0;0;1000;3;0;1;1;;2|74;265;1440;0;;1;0.5;1;move,vase4,0,9999,1,0:move,svase4,265,1430,1,0:move,gbct,240,1200,1,0:sleep,1:exit|314:vase4;265;1424;1.5;2;0;100,100,100,100,0,0,0,0,0,0,-100;0|7:vase4;280;1407;100,100,100,0;5;2;all;90;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;4;64;5;0;0;1000;3;0;1;1;;2|74;294;1440;0;;1;0.5;1;move,vase3,0,9999,1,0:move,svase3,294,1430,1,0:exit|314:vase3;294;1424;1.5;2;0;100,100,100,100,0,0,0,0,0,0,-100;0|7:vase3;309;1407;100,100,100,0;5;2;all;90;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;4;64;5;0;0;1000;3;0;1;1;;2|45:svase5;232;1584;|40:svase3;296;1584;|50:svase4;432;896;1;200,300,100,100,0,0,0,0,-20;1;0.7;99;move,svase41,0,214,0,0:sleep,1|6:gbct;63;1469;400;450;0;1;subtitle,3,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFCC33%22%3E5%3C/font%3E%20%3Cfont%20size%3D%2220%22%20,50:sleep,30:subtitle,0,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFCC33%22%3E4%3C/font%3E%20%3Cfont%20size%3D%2220%22%20,50:sleep,30:subtitle,0,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFCC33%22%3E3%3C/font%3E%20%3Cfont%20size%3D%2220%22%20,50:sleep,30:subtitle,0,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFCC33%22%3E2%3C/font%3E%20%3Cfont%20size%3D%2220%22%20,50:sleep,30:subtitle,0,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFCC33%22%3E1%3C/font%3E%20%3Cfont%20size%3D%2220%22%20,50:sleep,30:subtitle,0,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFCC33%22%3E0%3C/font%3E%20%3Cfont%20size%3D%2220%22%20,50:sleep,30:move,svase4,9999,0,0,0:exit|6:counter;60;1543;16;16;0;1;branch,2,4,g_counter,10:branch,3,4,g_counter,10:subtitle,1,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFCC33%22%3E%u25B2%3C/font%3E%20%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%3E%20x%20%7B%24g_COINS%7D,0:goto,5:subtitle,1,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFCC33%22%3E%u25B2%3C/font%3E%20%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%3E%20x%200%7B%24g_COINS%7D,0:sleep,10:subtitle_off:goto,0|6;368;1344;64;96;0;1;activate,counter|6;832;1320;64;128;0;1;activate,counter|6:counter;835;1533;16;16;0;1;branch,2,4,g_counter,10:branch,3,4,g_counter,10:subtitle,1,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFCC33%22%3E%u25B2%3C/font%3E%20%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%3E%20x%20%7B%24g_COINS%7D,50:goto,5:subtitle,1,%3Cfont%20size%3D%2220%22%20color%3D%22%23FFCC33%22%3E%u25B2%3C/font%3E%20%3Cfont%20size%3D%2220%22%20color%3D%22%23FFFFFF%22%3E%20x%200%7B%24g_COINS%7D,50:sleep,10:subtitle_off:goto,0|40:svase41;352;1192;|40:svase41;320;1192;|40:svase41;288;1192;|40:svase41;256;1192;|40:svase41;224;1192;|40:svase41;384;1192;|40:svase41;416;1192;|40:svase41;448;1192;|40:svase41;480;1192;|40:svase41;512;1192;|40:svase41;544;1192;|40:svase41;576;1192;|40:bst17;176;1264;|40:bst17;80;1264;|40:bst17;112;1264;|40:bst17;144;1264;|40:bst17;80;1296;|40:bst17;112;1296;|40:bst17;144;1296;|40:bst17;176;1296;|40:bst17;176;1328;|40:bst17;144;1328;|40:bst17;112;1328;|40:bst17;80;1328;|40:bst17;80;1360;|40:bst17;112;1360;|40:bst17;144;1360;|40:bst17;176;1360;|40;544;1336;|40;544;1360;|4;0;992;25;18;100,100,100,100,0,0,0,0,0,0,-100|40;208;1424;|40;208;1392;|6;513;1345;100;96;1;1;move,eye1,331,1349,1,0:move,eye2,483,1327,1,0:exit|6;512;1216;100;64;1;1;move,eye1,322,1338,1,0:move,eye2,483,1306,1,0:exit|6;186;1216;100;96;1;1;move,eye1,305,1338,1,0:move,eye2,454,1317,1,0:exit|6;186;1376;100;64;1;1;move,eye1,305,1359,1,0:move,eye2,466,1327,1,0:exit|6;352;1216;96;96;1;1;move,eye1,322,1338,1,0:move,eye2,466,1306,1,0:exit|6;352;1344;96;96;1;1;move,eye1,322,1359,1,0:move,eye2,466,1327,1,0:exit|6;448;1344;64;96;1;1;move,eye1,322,1359,1,0:move,eye2,475,1336,1,0:exit|6;448;1216;64;64;1;1;move,eye1,322,1338,1,0:move,eye2,475,1298,1,0:exit|6;448;1280;64;64;1;1;move,eye1,331,1349,1,0:move,eye2,475,1317,1,0:exit|6;512;1280;100;64;1;1;move,eye1,331,1349,1,0:move,eye2,492,1317,1,0:exit|6;186;1312;100;64;1;1;move,eye1,294,1349,1,0:move,eye2,454,1317,1,0:exit|6;288;1216;64;96;1;1;move,eye1,314,1330,1,0:move,eye2,466,1306,1,0:exit|6;288;1376;64;64;1;1;move,eye1,314,1368,1,0:move,eye2,466,1327,1,0:exit|6;288;1312;64;64;1;1;move,eye1,314,1349,1,0:move,eye2,454,1317,1,0:exit|6;352;1312;96;32;1;1;move,eye1,331,1349,1,0:move,eye2,454,1317,1,0:exit~My%20Level~~0~0;0;0~0~0;0~0;0;3~1369166357~0.3
Image

Big thank you to FrozenFire who created this masterpiece. : )
User avatar
-BY
Honorary Member

 
Posts: 900
Joined: May 23rd, 2012, 11:43 pm
Location: 298

Razzian Fighter

Thumbs Up given: 72 times
Thumbs Up received: 100 times

Re: Designer Tips and Tricks

Postby KABOOM » May 21st, 2013, 12:16 pm

Cannon???
Code: Select all
80x50~am16.64am7ai2am7.64am6ai4am6.64am5ai6am5.64am7ai2am7.64am3aiam3ai2am3aiam3.64am2ai2am3ai2am3ai2am2.64amai14am.64amai14am.64am2ai2am3ai2am3ai2am2.64am3aiam3ai2am3aiam3.64am7ai2am7.64am5ai6am5.51aa12.am6ai4am6.51aa13am7ai2am7.51aa13am16.51aa13.67aa13.67aa13.67aa13.67aa9.3aa.67aa9.3aa.79aa.79aa.67aa13.457ab.77ad2ae.76afae3.75abaaae3.75aaae4.75ae5.73afaeaaae4.73afaeaa2ae3.74aeaa2ae3.74afaa2ae3.75aa2ae3.75aa2ae3.75aa2ae3.22ah.52aa2ae3.22aaah2.50aa2ae3.22aa3ac.ad2.24ag.20abaa2ae3.22aa3ae2aa2ag.23aeac.16ah2aeaa3ae3.22aa7agafad.ad.19aeaaah2.13afaaae2aa3ae3.22aa10ae3ad2.abah3ac.10ae4aaah2.2ad2.4ah2ae4aa3ae3.22aa15ae2aa4ah2.8ae3aa4ae2aaac2.2abae6aa3ae3.22aa23ac.7ae3aa7ah4aaae6aa3ae3~~~6;128;1440;64;64;0;1;turnoff,cannon1|6:cannon1;464;1240;160;32;1;1;turnoff,cannon1:movechar,this,0,0,0,-25,1,0|6:cannon1;616;1264;32;160;1;1;turnoff,cannon1:movechar,this,0,0,25,-4,1,0|6:cannon1;464;1416;160;32;1;1;turnoff,cannon1:movechar,this,0,0,0,25,1,0|33;400;1512;1;1;0;;|6;368;1440;64;64;1;1;subtitle,0,This%20is%20a%20Cannon%20Block.%20Get%20close%20to%20it%2C%20and%20it%27ll%20pull%20you%20in%20with%20its%20gravity.%20Then%2C%20jump%20off%20one%20of%20its%20sides%20and%20you%27ll%20be%20flung%20a%20long%20distance%20in%20that%20direction.,50:invis_wait:subtitle_off|606;592;1344;1;1;0;;0|6:cannon2;1168;1272;160;32;1;1;turnoff,cannon2:movechar,this,0,0,0,-20,1,0|6:cannon1;224;576;32;160;1;1;turnoff,cannon1:movechar,this,0,0,-25,-4,1,0|6:cannon1;248;552;160;32;1;1;turnoff,cannon1:movechar,this,0,0,0,-25,1,0|6:cannon1;400;576;32;160;1;1;turnoff,cannon1:movechar,this,0,0,25,-4,1,0|6:cannon1;248;728;160;32;1;1;turnoff,cannon1:movechar,this,0,0,0,25,1,0|6:cannon2;1144;1296;32;160;1;1;turnoff,cannon2|6:cannon2;1320;1296;32;160;1;1;turnoff,cannon2|6:cannon2;1168;1448;160;32;1;1;turnoff,cannon2|6:cannon3;1144;976;32;160;1;1;turnoff,cannon3|6:cannon3;1168;952;160;32;1;1;turnoff,cannon3|6:cannon3;1320;976;32;160;1;1;turnoff,cannon3:movechar,this,0,0,25,-4,1,0|6:cannon3;1168;1128;160;32;1;1;turnoff,cannon3|6:cannon4;1847;911;32;160;1;1;turnoff,cannon4|6:cannon4;1871;887;160;32;1;1;turnoff,cannon4|6:cannon4;2023;911;32;160;1;1;turnoff,cannon4:movechar,this,0,0,25,-4,1,0|9:cannon4block;1951;991;;16,16;am92aiam15ai2am9ai8am8ai8am13ai2am14aiam83;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;1;turnon,cannon4;0.125;0.125;0;80;1|6:cannon4;1871;1063;160;32;1;1;turnoff,cannon4|5;1777;980;0;1;0;set,loop,0:move,cannon4,0,-4,0,0:move,cannon4block,0,-4,0,0:sleep,1:add,loop,loop,1:branch,2,1,loop,64:sub,loop,loop,64:sleep,30:move,cannon4,0,4,0,0:move,cannon4block,0,4,0,0:sleep,1:add,loop,loop,1:branch,2,8,loop,64:sub,loop,loop,64:sleep,30:goto,1|33;1136;1512;1;1;0;;|6;1232;1478;64;64;1;1;subtitle,0,When%20a%20Cannon%20Block%20fires%20you%20left%20or%20right%2C%20press%20the%20opposite%20direction%20to%20stop%20your%20flight.,50:invis_wait:subtitle_off|33;1264;1546;1;1;0;;~0;192;1432;1;0;0|6:cannon1;440;1264;32;160;1;1;turnoff,cannon1:movechar,this,0,0,-25,-4,1,0|6;1104;1444;64;64;1;1;subtitle,0,Some%20Cannon%20Blocks%20only%20work%20when%20you%20jump%20off%20certain%20sides.%20You%20can%20tell%20which%20sides%20work%20by%20the%20arrows%20on%20the%20block.,50:invis_wait:subtitle_off|9;1248;1376;;16,16;am23ai2am13ai4am11ai6am12ai2am14ai2am14ai2am14ai2am14ai2am119;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;1;turnon,cannon2;0.125;0.125;0;80;1|9;544;1344;;16,16;am23ai2am13ai4am11ai6am12ai2am10aiam3ai2am3aiam5ai2am3ai2am3ai2am3ai14am2ai14am3ai2am3ai2am3ai2am5aiam3ai2am3aiam10ai2am12ai6am11ai4am13ai2am23;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;1;turnon,cannon1;0.125;0.125;0;80;1|9;1248;1056;;16,16;am92aiam15ai2am9ai8am8ai8am13ai2am14aiam83;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;1;64;5;0;0;1000;3;0;1;turnon,cannon3;0.125;0.125;0;80;1|2;2479;739~6;160;1368;64;64;0;1;turnoff,cannon1:turnoff,cannon2:turnoff,cannon3:turnoff,cannon4~Cannon%20Block%20test~KABOOM~1~1;0;0~0~0;0~0;0;3~1369167331~0.3

After hours of designing, I got something cannon-related to work.
User avatar
KABOOM
Prophet of Shadowsquid

 
Posts: 1144
Joined: October 16th, 2009, 11:31 am
Location: Just a little further.

A Good Start

Thumbs Up given: 44 times
Thumbs Up received: 121 times

Re: Designer Tips and Tricks

Postby Raz » May 21st, 2013, 12:40 pm

Now remake sm63 in a ll level
Karyete, Master of Civil Conversation
Disclaimer: none of these messages have been edited, context can be provided if needed (thanks discord!) but absolutely does not change anything about these messages and that he's too overly defensive and cocky to make situations better

Karyete: I don't have anything to say to you, I've been deliberately trying to not offend you for years, actually, but apparently everything I say to you is wrong. You come across as so aggressive that you successfully intimidated me into not wanting to talk to you
Karyete: Seriously, what is your problem? And not only that, you fail to even acknowledge you might be in some wrong here.
Karyete: Oooh it's you? Hello. Feel free to drop this right now. You're going to make yourself look like an idiot.
Karyete: We don't want to hear your opinion at this stage.
Karyete: You're not getting any apology, especially after now.
Karyete: You can stay up on your high horse, continue to twist the truth and act like an absolute child all you want. I refuse to give respect to a man who right now is picking up a dropped argument because he simply cannot fathom the idea that he might be in the wrong.
Karyete: How pathetic
User avatar
Raz
"quite easily the most manly man of all" --Raz

Error contacting Twitter
 
Posts: 4432
Joined: July 12th, 2010, 5:48 pm
Location: :-)

Razzian Fighter

Thumbs Up given: 40 times
Thumbs Up received: 367 times

Re: Designer Tips and Tricks

Postby AwesomeJRFD » June 13th, 2013, 7:51 pm

Disabled Transitions are very useful.

Disabled transitions can be used for a plethora of graphical effects.

Lasers:
Code: Select all
llitem:x15;0;0;1;1;0;100,100,100,100,255


Sunbeams:
Code: Select all
llitem:x15;0;0;1.5;1;0;100,100,100,100,127,127,0,0,90


There are other uses as well. Go find them yourself!
Image
User avatar
AwesomeJRFD
Honorary Member

 
Posts: 836
Joined: November 11th, 2010, 2:06 pm
Location: Sixteenth Dimension: Hyperspace

Runouw Votes Winner
Best Thread (An Explanation of Triggers) in Runouw Votes Summer 2013

Thumbs Up given: 50 times
Thumbs Up received: 38 times

Re: Designer Tips and Tricks

Postby JSlayerXero » June 15th, 2013, 7:49 am

So, I figured out a way to retain global variables after death. To copy it straight out of my Mini-LLLDC entry:
Code: Select all
llitem:6:achv2mem;4203;348;64;64;0;1;branch,5,4,g_achvt,1:set,a,1:set,g_achv2t,1:exit:branch,5,7,g_achv2t,1:set,g_achv2t,1:add,g_achv,g_achv,a:set,g_achvt,0|46;4210;280;branch,5,6,achv,1:add,g_achv,g_achv,1:set,achv,1:activate,achv2mem:subtitle,1,%3Cb%3EAchievement%20Unlocked%3A%20%7B%24g_achv%7D/4%3C/b%3E%0DThe%20Ghost%27s%20Heart,75:sleep,60:subtitle_off|6;4288;256;64;64;0;1;set,g_achvt,1:activate,achv2mem

To explain this is layman's terms, basically what happens is that the Large Heart has the code to make my achievements. These are only built to activate once, and will end prematurely if you've ever gotten them before. These then activate a "memory" trigger, in this case the "achv2mem" trigger. The blank hitbox trigger I should've renamed something like "memrecall" since that is its function. It sets a "test" variable and activates the memory trigger. The test variable makes it so that the actually memory function doesn't activate prematurely. When the achievement trigger activates the memory, it also sets a global variable to let the memory know that you got that particular achievement in this life. This prevents you from getting the achievement again when you activate the recall trigger. However, since it is global, it is also used to detect if you have the achievement, but died afterwards. There are probably better ways to word this, but I've explained the basic functions.

Keep this in mind when placing these: The achievement, and to my knowledge, the memory can be anywhere in the level, but the recall has to be placed in such a way that it must be activated before going through a mandatory transition.

Keep in mind that this system is custom-built to work with my level. Modifications may be necessary to make this compatible with other levels.
Image
I hang out with Jesus.
Even though I prefer to go by Xero, nobody calls me that it seems.
User avatar
JSlayerXero
The Legacy

 
Posts: 572
Joined: July 27th, 2010, 7:44 am
Location: The Edge of Insanity

Stars Everywhere

Thumbs Up given: 23 times
Thumbs Up received: 37 times

Re: Designer Tips and Tricks

Postby Cyvern » June 18th, 2013, 8:04 am

Spring, Bouncepad, Launch Device, whatever you want to call it

Just step on the switch and it springs you up. Simple to make, useful in levels.

Code: Select all
llitem:5:spring1;3343;1492;0;4;0;movechar,this,0,0,0,-13,0,0:sleep,30:turnon,spring1


If you want it to go higher, just decrease the number in yspeed, like -50 will send you way up, -15 is a nice boost. Just don't do positive numbers, it'll send you down.
ok good
User avatar
Cyvern
Code: Awesome

 
Posts: 294
Joined: October 6th, 2009, 4:57 pm
Location: A nice place.

Thumbs Up given: 60 times
Thumbs Up received: 15 times

Re: Designer Tips and Tricks

Postby JSlayerXero » June 18th, 2013, 8:25 am

You do realize I posted about this back on page 6 right? To be fair though, I gave instructions, not an actual item.
Image
I hang out with Jesus.
Even though I prefer to go by Xero, nobody calls me that it seems.
User avatar
JSlayerXero
The Legacy

 
Posts: 572
Joined: July 27th, 2010, 7:44 am
Location: The Edge of Insanity

Stars Everywhere

Thumbs Up given: 23 times
Thumbs Up received: 37 times

PreviousNext

Return to Last Legacy Level Designer