Re:Show HN: I created a Mars colony RPG based on Kim Stanley...
by ariaalam on Sunday February 08, 2026 @02:15PM
(#46937489)
vanilla JS and canvas plus a hefty bit of technical help from Claude.
[ Parent
| on HN ]
Re:Show HN: I created a Mars colony RPG based on Kim Stanley...
by lukan on Sunday February 08, 2026 @03:28PM
(#46938196)
It seems you draw everything every frame onto the canvas? The result is quite GPU heavy, for your next game I would recommend looking into a graphic libary like pixijs, to make use of the webgl/webgpu .. then it would run smooth even on old mobile phones.
Re:Show HN: I created a Mars colony RPG based on Kim Stanley...
by evilhackerdude on Sunday February 08, 2026 @04:49PM
(#46938864)
check out raylib, it should be amazing for this :)