Saturday, 3 October 2015

stencyl-nator has learned a new sentence of code - setting opacity

besides I have just post a new code topic called "get game attribute"
link: http://stencyl-nator.blogspot.my/p/stencyl-setting-opacity.html

sorry for the URL because I have just cancelled to write about it because I was short of ideas and one can fill the sinppet below with game attribute, common attribute or a number from list
g.setOpacity(Math.min((0*2.56),256));

anyway, it can insignificantly reduce the lag with
g.setOpacity(Math.min((0,256));
oh yeah, here is the page: http://stencyl-nator.blogspot.my/p/code-setting-opacity.html


No comments:

Post a Comment