Page 1 of 1

Flowing Liquid Animation

PostPosted: Mon Jul 21, 2014 3:52 am
by AwesomeJRFD
Flowing Liquid Animation

Code: Select all
llitem:6:animateLiquid;-16;1664;16;16;0;1;set,a,0:move,liquid,1,0,0,0:sleep,1:add,a,a,1:branch,2,1,a,32:move,liquid,-32,0,0,0:goto,0


Paste this into your level. Make sure to activate "animateLiquid". Any item tagged "liquid", and placed like this will be animated:
Image

Make sure the liquid extends 1½ tiles to the left of the edge of the pool, and ½ tile to the right of the pool.

Remember: triggers do not work through level transitions, so you must have an "animateLiquid" and activate it in every section of the level which you want animated liquids and that is separated by level transitions.