Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17064

Creator 3.0 Graphics not working?

$
0
0

I am trying to draw a simple rect, i created a class that get graphics component anb simply call fillRect.
Unfortunately nothing happens, no error no filled screen.

This code worked good on Cocos Creator 2.x.

> if ( this.graphics == null )
return;
this.graphics.fillRect(0, 0, 720, 1280);

Is this a bug?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 17064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>