Live data from Hacker News

Helicopter Game using HTML5 (Canvas / font-face etc)

arandomurl.com

21–30 of 55 posts

Re: Helicopter Game using HTML5 (Canvas / font-face etc)

#21
post #7
post #5

Earlier quoted context omitted.

You click and hold the mouse button to gain altitude You release to descend. Sounds like you aren't using the controls correctly. My first time up I just clicked once and my copter fells to a speedy death.

I realize that, that's what I've been doing. Maybe I'm just slow, and don't like action games.. the only games I've ever really liked are turn-based RPGs, strategy, and adventure.. so I'm probably not the target audience for this anyway.

I'm having the same problem. When I just tap the enter key, the copter shoots up into the ceiling. Way too quick to control.

Re: Helicopter Game using HTML5 (Canvas / font-face etc)

#22
post #3

You need to tweak the speed - this is completely unplayable on my Macbook with 4GB of RAM and an SSD hard drive. Copter crashes in a second before I can do anything. But looks cool!

thats strange, its a fixed and low framerate and it isnt maxing any cpu so it shouldnt really get any faster on a faster machine. I have been told between this and pacman that I make the games a little fast, but I do like them on the fast side.

I think it's a little disconcerting that you basically have to keep the button held down as you start or you crash.

Re: Helicopter Game using HTML5 (Canvas / font-face etc)

#23
post #3

You need to tweak the speed - this is completely unplayable on my Macbook with 4GB of RAM and an SSD hard drive. Copter crashes in a second before I can do anything. But looks cool!

Which browser are you using? The speed is vastly different for me when I play this in Chrome vs FireFox...

Re: Helicopter Game using HTML5 (Canvas / font-face etc)

#24
Fun game and impressive script!

Personally, the game was too fast (speed wise) in Chrome. However, FireFox and Safari 5 played at a much more reasonable speed.

While, I was expecting the speed to be a bit slower in FireFox, I was curious about the difference between Chrome and Safari (a V8 vs SquirrelFish difference...??)

Re: Helicopter Game using HTML5 (Canvas / font-face etc)

#30

Great game and great code. daleharvey - your javascript is a pleasure to read sir. I'm trying to learn js/canvas more and its good quality stuff like this that really helps. Well done.

Thanks that is really nice to hear. I have spent a long time writing some really big applications with javascript and still find it such a strange language, every time I think I have found "the style" I hit a reason why I shouldnt be doing it that way, luckily its really fun at the same time.

You've got me curious: What type of big js applications do you spend that time writing? Anything game related, or is this purely a hobby?
Post reply on HN