nhtnhan Posted June 16, 2021 Share Posted June 16, 2021 Hi, I'm working on a web game project made with pixi.js and django. Basically Django process/sends data from backend for Pixi.JS to process and render the game on HTML Canvas. I have seen some references for testing pixiJS, however they're all working with react (mentioned in this post) and none mentions how to test with django. Additionally, I have also considered using chrome plugin to monitor pixijs, another plugin called gstatjs to monitor graphic statistics, and screenshot testing. Ultimately I would love to be able to automate testing of pixi objects on the canvas (i.e. test if the health bar decreases when shooting the wrong objects, etc). I'm rather new with this and would love to hear some advice/suggestions from anybody, thank you! Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted June 18, 2021 Share Posted June 18, 2021 Its possible and I did that, but there's no public solution for this. You'll have to take convolutions to measure only edges of objects, and several other interesting metrics. Its a big job, unless you specify what exactly do you want. 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.