Live data from Hacker News

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

arandomurl.com

31–40 of 55 posts

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

#31

Your games don't load in Chromium from the dev channel, could you please fix that?

I will check it out. strange that any of the feature tests would be failing.

I'm on Linux btw, that might be part of it too.

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

#32

Earlier quoted context omitted.

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?

I was a cofounder of an online spreadsheet company funded by seedcamp, the ui was entirely in javascript(15+kloc), and I have some chat clients + some other things that arent complete.

The game stuff is purely a hobby (for now), they are quite fun to play and to program, and I learn a lot from it.

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

#35
My HTMLcopter goes schwaa schwaa schwaa schwaa schwaa...

Nifty game. Gravitational acceleration constant should be tweaked so my HTMLcopter doesn't go CRASH because I wasn't ready for the game to start. Great proof of concept nevertheless.

Here's one I wrote (but was "designed" by Shinji Kobayashi, a humorous character of mine):

http://www.parodycheck.net/shinji/cannon/

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

#36
post #35

My HTMLcopter goes schwaa schwaa schwaa schwaa schwaa... Nifty game. Gravitational acceleration constant should be tweaked so my HTMLcopter doesn't go CRASH because I wasn't ready for the game to start. Great proof of concept nevertheless. Here's one I wrote (but was "designed" by Shinji Kobayashi, a humorous character of mine): http://www.parodycheck.net/shinji/cannon/

I couldn't control it with the mouse reasonably at all, control seemed laggy compared to enter key.

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

#37
post #36
post #35

My HTMLcopter goes schwaa schwaa schwaa schwaa schwaa... Nifty game. Gravitational acceleration constant should be tweaked so my HTMLcopter doesn't go CRASH because I wasn't ready for the game to start. Great proof of concept nevertheless. Here's one I wrote (but was "designed" by Shinji Kobayashi, a humorous character of mine): http://www.parodycheck.net/shinji/cannon/

I couldn't control it with the mouse reasonably at all, control seemed laggy compared to enter key.

For some reason, I was able to control it with the mouse for 6 seconds, then it became too laggy and also had to use enter.

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

#38
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.

Is there any technical reason for the 19fps framerate or is it just something you used to balance the speed?

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

#39

Earlier quoted context omitted.

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.

Is there any technical reason for the 19fps framerate or is it just something you used to balance the speed?

Yeh I started it at 30fps and it was nice and smooth, but as it got harder I needed to slow it down, 19fps was the slowest that didnt look terrible, just reminded me to fix up the code so I can speed up fps while slowing down the play, it was running 30fps with no problems or lag.
Post reply on HN