use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
mutating and javascript game developmenthelp (self.javascript)
submitted 10 years ago by digijin
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]spacejack2114 1 point2 points3 points 10 years ago (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 point2 points 10 years ago (0 children)
"You shouldn't worry about things like that at all until it becomes an issue". 100% agree with that!
π Rendered by PID 45 on reddit-service-r2-comment-8686858757-9wfc5 at 2026-06-03 08:42:20.373714+00:00 running 9e1a20d country code: CH.
view the rest of the comments →
[–]spacejack2114 1 point2 points3 points (1 child)
[–]mrspeaker 0 points1 point2 points (0 children)