On Shrek 4, the witches have different weapons. One of them was explosive pumpkins.
The system was created in Maya the particle with many expressions. This include with my fake small rigid body simulation (debris braking and bouncing on the ground). This same debris was paint the ground when they touch it. Unfortunately the camera motion and the shot was too fast you see this part of the development (classical :-).