In an article I was reading, it made the following statement which I'd like further clarification on.
10) Scroll to is faster than moving eveyting
Rare situation but it happened to me. Don't move every object if you can scroll your view.
My infinite "runner" game currently uses very specialized scrolling. I have a family of objects called "Scrollable" which move downwards as I "scroll" upwards. Should I re-do the scrolling so that it moves the view instead? How much of a performance boost might this give, and why? Is it worth it (I'm using CocoonJS to port it to mobile)?
Develop games in your browser. Powerful, performant & highly capable.
It probably makes no difference. If you think it does, try making a measurement. If you can't measure a difference, it doesn't matter.
Yeah it doesn't make a bit of difference for me looks like
Thanks for the response.