Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not that familiar with html5/js, but I am curious if it is viable to develop games for it old-school. What I mean by that is having a framebuffer and direct per pixel control. Is this what people do?



Canvas w/ ImageData lets you do exact pixel control, and with requestAnimationFrame you can time animations best for the system.


Thanks! But do people use that for web game development at all?


I've certainly used it myself (for loading levels - bitmaps are great for level designing), dunno about performance with direct pixel access. It may be higher or lower.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: