So as you can see from my screenshot the cc.RenderTexture is showing up~~ but the fillRect isn’t working as i expect it should.

dingping lv wrote:

“rgba(0, 0, 1, 0.8)”; need to “rgba(0, 0, 255, 0.8)”;
>
and when you create a RenderTexture, the context’s origin point is translate to left-bottom.
>this.context.translate(0, this.canvas.height);
>
If you want directly on the canvas，you need to know the y-axis is flipped。
so fillRect code need like this:ctx.fillRect(0, 0, size.width, -70);