Quote:
Originally Posted by i8bit
Not sure if this is the right thread to ask this, but I have this:
PHP Code:
level.tilelayers[0].alpha = 0.4;
for a motion blur, but it doesn't seem to work on my gmap.
I have it running in a looping timeout, is that possibly why?
|
Nope. It's because it needs to be gmap.tilelayers[0].alpha instead.
Also, you don't need it on a timeout unless you have some other script on that map that would try to change it. Changing it once is enough. The effect will stay active until you restore the alpha back to 1 or change maps.