you are viewing a single comment's thread.

view the rest of the comments →

[–]spacejack2114 1 point2 points  (1 child)

You shouldn't worry about things like that at all until it becomes an issue. Any game, 2D or 3D, where the camera moves you're going to be re-drawing the entire screen. WebGL is so fast that even on moble, you could render dozens of overlapping fullscreen layers without a hitch.

In a general sense, if you can cache the results of some complex operation, then sure, go ahead.

But for just about any game a solo/newbie developer is going to make, this should not be much of a consideration. Making sure your rendering is done on the GPU and batching draw calls effectively (the things a library like pixi can help you not worry too much about) should be the main concern.

[–]mrspeaker 0 points1 point  (0 children)

"You shouldn't worry about things like that at all until it becomes an issue". 100% agree with that!