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

Anyone can suggest similar books/tutorials with Javascript?


Phaser.io has a bunch of javascript resources and books.


While I really enjoyed Phaser, which in turn made me love TypeScript.

I had some serious issues with performance and trying to maintain 60 frames per second in any 16:9 resolution.

I've been looking into C++ and Java solutions and this book might be the perfect fit.


I had the same issues myself until I ended up dropping Phaser and using Pixijs (the rendering code used by Phaser) on its own and then writing a bit of code to only render the game in chunks. It seems like by default Pixijs (and this may have changed since I wrote my code) renders the whole scene no matter how large it is. Since I'm working on dwarf fortress type game, the game world has a lot going on and it crushed my game's performance and brought it to a halt. Since writing that chunking code I haven't had any performance problems that weren't my own doing.

tl;dr I would recommend checking out Pixijs on its own if you still want to use TypeScript (I recently converted my code from es6 to TypeScript a month or two ago and am in love love love).


I recommend looking at Love2d. It's fantastic.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: