2 ms·
I mean... yes, if you are building a webpage, you should consider the capabilities of the web browser. I'd be surprised if copy/paste is something you want in
by taeric 3y ago
I mean... yes, if you are building a webpage, you should consider the capabilities of the web browser.
I'd be surprised if copy/paste is something you want in your game. Scrolling for a game is again something you probably have specific ideas on. You could make it so that a side scroller builds everything so that html scrolling gets what you want. Odds are high that you'd have an easier time taking over a lot of that on your own. (Indeed, this is essentially how popular mapping "tiles" work. You don't have all tiles in the DOM, but play with the ones visible to work as desired.)
And what I mean for absolute positioning is more in line with what I do in https://taeric.github.io/cube-permutations-1.html https://taeric.github.io/cube-permutations-1.html. And even there, I do not keep some things in state such that I have no control over the actual path a face travels as it moves into its new current spot.