For those who are wondering how shadow generator works and can't seem to understand the "Shadow Generator.dm" file. Here is a quick simple explanation.
I use an icon called "shadow.dmi". This icon is a black 32x32 square.
I use Scale()and Width() and Height() to resize it to be the same size as whatever object that needs a shadow. In this example we'll use the tree.
I use the Blend() proc to fuse the new resized rectangle shadow to with our tree.
I then, Rotate it and apply some pixel offsets.
Here is a small picture. For the visuals! ;)
Copyright © 2019 BYOND Software. All rights reserved.