I had some cool tricks in my
levels topic, but never properly explained them, so here goes.
These two tricks are so easy, even MoD can use them!
Easy Scrolling Camera:1. Go to Tiles, select a blank space, and create a moving block out of it. Name this block "camera", or whatever you want.
2. Have this blank block set to Custom Path, and draw whatever path you want the camera to follow. (If you just want the camera to move in a straight line, you can use regular motion.)
3. Place a Box Trigger over your character's starting position, with a single action: Camera --> check Linkage --> Lock on to: *name of your block* (in our case, "camera")
4. ???
5. The Game
Here's an example:
- Code: Select all
150x50~0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*45*5d02K*3*0*47*2K*3*0*26*5d0*20*2K*3*0*23*5d0*5*5d0*17*2K*3*0*44*5d0*2*2K*3*0*21*5d0*9*5d0*15*2K*3*0*47*2K*3*0*42*5d0*4*2K*3*0*21*5d0*10*5d0*14*2K*3*0*40*5d0*6*2K*3*0*38*5d0*8*2K*3*0*21*5d0*10*5d0*14*2K*3*0*36*5d0*10*2K*3*0*47*2K*3*0*22*5d0*11*5d0*12*2K*3*0*25*5d0*5*5d0*15*2K*3*0*28*5d0*18*2K*3*0*36*5d0*10*2K*3*0*47*2K*3*0*47*2K*3*0*35*5d0*11*2K*3*0*47*2K*3*0*47*2K*3*0*33*5d0*13*2K*3*0*47*2K*3*0*47*2K*3*0*32*5d0*14*2K*3*0*47*2K*3*0*47*2K*3*0*31*5d0*15*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*32*5d0*14*2K*3*0*47*2K*3*0*47*2K*3*0*33*5d0*13*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*33*5d0*13*2K*3*0*47*2K*3*0*47*2K*3*0*13*5d0*5*5d0*5*5d0*5*5d0*15*2K*3*0*16*5d0*5*5d0*5*5d0*18*2K*3*0*47*2K*3*0*47*2K*3*0*29*5d0*17*2K*3*0*47*2K*3*0*47*2K*3*0*28*5d0*18*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*28*5d0*18*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*28*5d0*18*2K*3*0*28*5d0*18*2K*3*0*28*5d0*18*2K*3*0*28*5d0*18*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*0*47*2K*3*~1,109,1436,0,0,r|3:camera,59,1392,1,1,100,0,64,16,0,0,0,0,133&21;242&-13;357&-65;418&-137;443&-195;517&-255;584&-314;612&-412;642&-511;605&-612;579&-711;486&-740;386&-736;287&-735;220&-670;195&-584;221&-477;285&-418;381&-384;477&-383;576&-318;675&-253;764&-285;873&-348;964&-382;1056&-419;1176&-385;1281&-348;1407&-352;1500&-416;1507&-606;1502&-792;1503&-996;1530&-1037;1543&-904;1542&-705;1541&-516;1630&-483;1737&-511;1851&-513;2029&-518;,1,1,64,64,0,0,r,0,0.2,0.2,c,0,2,999|6,78,1403,camera:1;0;0;0;camera;100;1;10,0,1,64,64|14,2088,864,r,0|6,2016,739,turnoff:camera,0,1,128,128~0*7500*~~My%20Level~1~1,1~0~
Note: If you want the camera to stop at a certain point, use a Box Trigger with the action Turn Off --> *name of your invisible block*, as seen in the example.
Foregrounds:Normally, items appear behind tiles, which can be distressing if you're trying, say, to put some trees in the foreground, in front of the ground and the character. There's an easy fix for this, however. Simply change your entire ground into a moving block, with speed and rotation set to 0. Now, all items placed afterward will appear in front of the ground. Not an incredible trick, but those of you who like designing environments might find this tip useful.
Example:
- Code: Select all
150x50~2J*7500*~1,112,1432,0,0,Right|3,2368,1520,150,3,101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101,0,64,16,0,0,0,0,-,1,1,64,64,0,0,0,0,0.2,0.2,c,1,1,0.2|118:foreground,266,1632,r,0|6,80,1405,moveitem:foreground;1;0;0;0;0;300;300,0,1,64,64~0*7500*~~My%20Level~1~1,1~0~
Bonus: Try combining this with the "
Running Away Item" trick for a more realistic (?) foreground.
- Code: Select all
150x50~2J*7500*~1,640,1440,0,0,Right|3,2368,1520,150,3,101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101.101,0,64,16,0,0,0,0,-,1,1,64,64,0,0,0,0,0.2,0.2,c,1,1,0.2|118:foreground,898,1632,r,0|6,609,1410,moveitem:foreground;1;0;0;0;0;300;300,0,1,64,64|6:mover,640,1216,moveitem:foreground;1;-1;0;1;0;0;0:moveitem:mover;1;1;0;1;0;0;0:turnon:this,1,1,64,256|6:mover,576,1216,moveitem:foreground;1;1;0;1;0;0;0:moveitem:mover;1;-1;0;1;0;0;0:turnon:this,1,1,64,256|6:mover,648,1216,moveitem:foreground;1;-1;0;1;0;0;0:moveitem:mover;1;1;0;1;0;0;0:turnon:this,1,1,64,256|6:mover,688,1216,moveitem:foreground;1;-1;0;1;0;0;0:moveitem:mover;1;1;0;1;0;0;0:turnon:this,1,1,64,256|6:mover,680,1216,moveitem:foreground;1;-1;0;1;0;0;0:moveitem:mover;1;1;0;1;0;0;0:turnon:this,1,1,64,256|6:mover,672,1216,moveitem:foreground;1;-1;0;1;0;0;0:moveitem:mover;1;1;0;1;0;0;0:turnon:this,1,1,64,256|6:mover,664,1216,moveitem:foreground;1;-1;0;1;0;0;0:moveitem:mover;1;1;0;1;0;0;0:turnon:this,1,1,64,256|6:mover,656,1216,moveitem:foreground;1;-1;0;1;0;0;0:moveitem:mover;1;1;0;1;0;0;0:turnon:this,1,1,64,256|6:mover,528,1216,moveitem:foreground;1;1;0;1;0;0;0:moveitem:mover;1;-1;0;1;0;0;0:turnon:this,1,1,64,256|6:mover,536,1216,moveitem:foreground;1;1;0;1;0;0;0:moveitem:mover;1;-1;0;1;0;0;0:turnon:this,1,1,64,256|6:mover,544,1216,moveitem:foreground;1;1;0;1;0;0;0:moveitem:mover;1;-1;0;1;0;0;0:turnon:this,1,1,64,256|6:mover,552,1216,moveitem:foreground;1;1;0;1;0;0;0:moveitem:mover;1;-1;0;1;0;0;0:turnon:this,1,1,64,256|6:mover,560,1216,moveitem:foreground;1;1;0;1;0;0;0:moveitem:mover;1;-1;0;1;0;0;0:turnon:this,1,1,64,256|6:mover,568,1216,moveitem:foreground;1;1;0;1;0;0;0:moveitem:mover;1;-1;0;1;0;0;0:turnon:this,1,1,64,256~0*7500*~~My%20Level~1~1,1~0~
....this needs some fine-tuning, but you get the idea (I hope :X).
More to come later!