News for hackers. Stuff that matters.
Re:Show HN: Asteroids game made with polymer by krapp on Monday September 14, 2015 @12:13PM (#10215787)
At first, I thought the hitbox in front of the player was too large, but then I noticed the asteroid images are apparently being resized, so I suspect the hitbox for the asteroids is assuming the original dimensions, causing collisions in apparently open space. I'm only assuming this is what's happening, since I don't want to wade through that much javascript to find out.

Since this seems to be a demo i'm not going to get too pedantic about the gameplay, but that definitely is something you would want to address in an actual game.

Re:Show HN: Asteroids game made with polymer by catalintro on Tuesday September 15, 2015 @06:38AM (#10219848)
thanks, the meteor is replaced with an explosion, but doesn't keep up with the scale

you're right, it's a technology demo I had fun making, not that much invested in game-play

thanks for the pointers

Re:Show HN: Asteroids game made with polymer by codepope2014 on Monday September 14, 2015 @07:05AM (#10214513)
Cut to Sam Jackson going "ASTEROIDS... HAVE YOU EVER SEEN IT?"

(This is a side scrolling game which has rocks to shoot)

Re:Show HN: Asteroids game made with polymer by dvh on Monday September 14, 2015 @06:45AM (#10214464)
The licensing notes all over the source code are pretty obnoxious. I mean 27 times in one file? Come on!
Re:Show HN: Asteroids game made with polymer by catalintro on Monday September 14, 2015 @07:04AM (#10214512)
haha, you mean the polymer licensing right? I have none :) actually you can even see the full code here, it's open sourced https://github.com/catalint/asteroids
Re:Show HN: Asteroids game made with polymer by catalintro on Monday September 14, 2015 @07:06AM (#10214517)
also, it's 27 times because of bundling, and their way of typing license in each file header
Re:Show HN: Asteroids game made with polymer by catalintro on Monday September 14, 2015 @07:18AM (#10214551)
Try it on mobile also