Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3978

Dynamically drawing & removing objects

$
0
0

Hello! I'm new to Pixi.js, and I'm building an online game with it.

The server is sending data to client about player and visible objects. Currently, I create a container, add those objects and destroy it each frame. I know this is bad practice and can be made better. I think about object caching and reusing it when it's visible.

So, are there other ways to do it more efficient?


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>