• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

HTML5 HTML5 and image_alpha [SOLVED]

G

gold_maker

Guest
HI, i compiled my game to HTML5 and notice that image_alpha has no effect!

IS THAT NORMAL?
 
J

Jaqueta

Guest
YoYo Manual said:
NOTE: On the HTML5 and Windows8 (JavaScript) platforms, this variable is not clamped. Therefore if you have a value greater than one, it will "wrap" back to 0 again, giving flickering results. Likewise if you go below 0, the alpha will "wrap" back to 1. You can use the function clamp for this.
Are you setting the image_alpha to a value lower than 0?
If you aren't, try using WebGL and see if the problem persists.
 
Top