Azern

Is PIXI force us to use PIXI.Application instead PIXI.Renderer ?

Recommended Posts

I have some trouble that I don't know what happen
I just want to change the background color of my renderer here
 

var webGLRender = new PIXI.Renderer({
antialias:true,
width:300,
height:400,
backgroundColor:0xf0f0fe})

as you see, the color there is not black, it's some grayish. But when I see the page, it's just black. The screen size is correct, only the color that's not working.

I've also tried using option as _backgroundColorRgba  and _backgroundColorString but still not working.
 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.