Page 10 of 13

Re: Designer Tips and Tricks

PostPosted: May 19th, 2013, 2:29 pm
by AwesomeJRFD
It works fine. It's just not visually perfect. And as I said, I'll try to fix that.

Re: Designer Tips and Tricks

PostPosted: May 20th, 2013, 10:46 am
by CedarBranch
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.

Re: Designer Tips and Tricks

PostPosted: May 20th, 2013, 11:41 am
by Zunar
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.

Re: Designer Tips and Tricks

PostPosted: May 21st, 2013, 12:05 pm
by -BY
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

Re: Designer Tips and Tricks

PostPosted: May 21st, 2013, 12:16 pm
by KABOOM
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.

Re: Designer Tips and Tricks

PostPosted: May 21st, 2013, 12:40 pm
by Raz
Now remake sm63 in a ll level

Re: Designer Tips and Tricks

PostPosted: June 13th, 2013, 7:51 pm
by AwesomeJRFD
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!

Re: Designer Tips and Tricks

PostPosted: June 15th, 2013, 7:49 am
by JSlayerXero
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.

Re: Designer Tips and Tricks

PostPosted: June 18th, 2013, 8:04 am
by Cyvern
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.

Re: Designer Tips and Tricks

PostPosted: June 18th, 2013, 8:25 am
by JSlayerXero
You do realize I posted about this back on page 6 right? To be fair though, I gave instructions, not an actual item.