Sprite.tint does not allow alpha

The documentation here is inaccurate: https://studio.code.org/docs/gamelab/tint/


What should be happening is that when sprite.tint is set to something like rgb(255, 255, 255, 0.5) or "rgba(255, 255, 255, 0.5)", the sprite should appear like a ghost. However this does not happen and the result is a normal, opaque cow.
image
Furthermore, it appears that in order for the tint to work, the color must be in string format. Meaning that doing rgb(0, 0, 0) will not work. I’m requesting that sprite.tint be fixed, allowing both rgb() and alpha to work.

Along with the tint problem, I would also like to suggest some features that will benefit game lab.

  • sprite.animation or sprite._animation which holds the “animation” passed when sprite.setAnimation was called
  • A way to get the length of a song and change its position & playback speed.
    • Will also include Pausing & Preloading
  • functions like sprite.onMouseOver should work regardless of frame rate