Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hamora
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
hamora
12y ago
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!
2.
▲
by
hamora
12y ago
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, ...).
3.
▲
by
hamora
12y ago
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!
4.
▲
by
hamora
12y ago
Ah yes, the scroll is annoying! I think I tried some sort of preventDefault thing, but definitely need to get that working. Thanks!
5.
▲
by
hamora
12y ago
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