KenC

Members
  • Content Count

    3
  • Joined

  • Last visited

About KenC

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. This fixed my problem also. I was initially using 4.4.X. Wondering, though, why I didn't see some kind of error. Is the place to look for error messages the Javascript console, or is there somewhere else also?
  2. KenC

    Displaying the canvas

    Never mind, works as expected now by using version 5.3.3.
  3. I'm trying to follow the first tutorial. I don't understand why I don't see anything unless I uncomment out the resize() (which is not in the tutorial), and even when I do, the background color is not as specified in the Application object. Any pointers would be appreciated. <!doctype html> <html> <head> <meta charset="utf-8"> <title>Hello World</title> </head> <body> <script src="pixi/pixi.min.js"></script> <script type="text/javascript"> //Create a Pixi Application let app = new PIXI.Application({ width: 256, height: 256, antialiasing: true, transparent: false, backgroundColor: 0x0000f0, resolution: 1 }); // If I comment below, then I see a nothing. Also, why is the canvas // background black instead of 0x0000f0? app.renderer.resize(256, 256); document.body.appendChild(app.view); </script> </body> </html>