Better HN
topnewbestaskshowjobs
Log inSign up

hamora

20 karma · joined Aug 14, 2014 (12y ago) · 6 submissions

Submissions

comment 12y ago · link · parent

Asteroid collisions completely change the game! You also nailed that vintage look! Nice stuff! I'm diving into your source code for polygons in detail!

comment 12y ago · link · parent

Thanks for the comment. It's ideally supposed to be the same as the original. If it is not, it's because I haven't implemented some features yet (spaceships, slowing down eventually if you don't thrust, ...).

comment 12y ago · link · parent

My collision code is overly simplistic, and so I went with squares to give the asteroids some jagged edges. I should totally try out circles to see if they look better, though. Thanks!

comment 12y ago · link · parent

Ah yes, the scroll is annoying! I think I tried some sort of preventDefault thing, but definitely need to get that working. Thanks!

comment 12y ago · link · parent

Something I made with pure JS and the HTML5 Canvas. Play it, have fun, and if you have any thoughts on the quality of the source code, please let me know!

6.

Show HN: A Tribute to “Asteroids”(harimohanraj89.github.io ↗)

23 points · by hamora · 12y ago · 16 comments