Jump to content

How to start with PIXI.js and drawImage

Daniel Ribeiro

Recommended Posts

Hey guys!


First of all, I want to understand better the real idea of PIXI.js, and what it's actually supposed to do.


I'm developing an engine for tilemaps and I currently draw tiles like this:


That is what actually renders the tile to the canvas I have previously created.


My questions are:

  • How can PIXI.js be used on my engine in order to improve the way things are rendered – think about how Phaser uses it internally?
  • How can I make that simple drawImage example using PIXI.js and a canvas?
Link to comment
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.

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.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...