Attachment:
Snow.gif [ 570.84 KiB | Viewed 9129 times ]
Remake of Zed`s QuadRain.xpl, with optimised script.
It works very smooth and fast, doesn`t couse any fps drop.
Deleted stuff that could couse laggy:
- deleted ground collision check;
- improved unloading snowballs (
immidietly unload, against add to "Dead" state and check from ALL of the objs if dead then delete.. those objs can be few thousands! ofc it will be laggy that way) - btw its same improvement as i made with pxparticles.pxl. MAKES THINGS WORK VERY FAST
;
- added second layer, where snowballs goes behind the map with lower speed and smaller size. First layers is on top with larger snowballs and higher speed.
- increased wind affecting;
Idea, first changes, added snowball sprites and christmas sounds - by StepS.
Njoy it!
merry x-mas ^^