How to Use
Place these scripts above main, with the Spriteset Map script above the other two. Instructions are included inside.
The 'anglemin' and the 'anglemax' values are set in degrees, in a counterclockwise manner. For example, if i want to make a shadow source that casts shadows only in a right angle, id add to the event
anglemin 0
anglemax 90
Here is a picture for reference
Also, for Sprite Shadow, when adding optional values for 'distancemax' and 'self_opacity' you have to specify 'anglemin' and 'anglemax' before them, otherwise it won't work. Here is how it should be: