Added test code for sprite opacity using globalAlpha.