Better HN
topnewbestaskshowjobs
Log inSign up

phaser-studio

10 karma · joined Jan 5, 2024 (2y ago) · 4 submissions

Submissions

comment 9mo ago · link · parent

Nice! Genuinely enjoyed a few rounds of that. Unlike 'normal' Minesweeper I felt like you had to make pot-luck guesses more often with the hex shape, but that didn't matter on the smaller grids. Was a bit depressing on the large grid though after you'd cleared half of it but had to pot-luck guess a new section :)

comment 1y ago · link · parent

Yes, this is correct! You _can_ update the GPU Layer data, the API allows it, but you pay the upload cost each time, which is why we framed it as for 'backgrounds' - but in reality, it could be used for anything animated. I mean, you don't HAVE to create 1m sprites! You could just do 100 and it'd still be significantly less overhead than 100 actual sprites. Going to be interesting to see what devs come up with here.

3.

Show HN: 1M+ animated GPU sprites in JavaScript(phaser.io ↗)

27 points · by phaser-studio · 1y ago · 5 comments