thiezar Posted October 15 Share Posted October 15 Hi. What is the best way to build and render an image in Pixi.js 8 pixel by pixel? I know in previous version of something like `Texture.fromBuffer` allowing to create a texture from an array of colors but I cannot find this function in version 8. I guess I can still create a canvas and use `canvas.PutImageData`, then `Texture.from(canvas)` but I find this approach a bit cumbersome. Is there a way to do it directly with some specific Pixi.js API? Also what is the best way to update and render it every frame? For some context: I'm trying to write a simple raycast engine. Thank you for your help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.