X

Hey! We highly recommend you launch this experiment in Google Chrome. It may run slower, or not at all, in other browsers.

Okay, I'll download Google Chrome I'm willing to risk it
X

Report This Experiment

X

Share with a friend

An e-mail has been sent. Thank you for sharing this Experiment!

Close

Back to All

JavaScript Platformer Demo

July 07, 2009
Author:

Matthew Casperson

http://www.brighthub.com/hubfolio/matthew-casperson.aspx
Location:
Brisbane, Australia
Rate Experiment (216 ratings):
1 2 3 4 5  
From the Author:

It is the end result of an ongoing tutorial series (http://www.brighthub.com/hubfolio/matthew-casperson/blog/archive/2009/06/29/game-development-with-javascript-and-the-canvas-element.aspx) that demonstrates how a simple game can be made using JavaScript and the Canvas element. Although it works in a number of browsers, Chrome is definitely the best browser to run it in.

Technology:

The demo makes use of the Canvas element and JavaScript to produce a simple platform style of game.

Comments

By Bob Wilson on September 01, 2010

THANKS .. went thru the previous 2 tutorials in the series .. hope to be able to build a game with HTML5 after I go thru the tutorial associated with this one ..

Reply to this comment
By Anon on February 23, 2010

Y Halo Thar, XNA Platformer Starter Kit graphics

Reply to this comment
By Juwal Bose on February 20, 2010

Just trying different engines for HTML5. Great work here. But its severe on CPU usage. On firefox it takes usage upto 45% from 3%. May be some optimization can be dome. I was comparing it with a severe tile game on flash which only used 14% CPU.

Reply to this comment
By verrol neverson on December 24, 2009

not to bad at all could be better

Reply to this comment
By chrome fan on October 14, 2009

awsome, add in a gun that u can shoot other soldiers and make the dimonds into "pickup boosters" and this game would thrash others.

Reply to this comment
By Prof_Snakes on October 06, 2009

Awsome it apears to work on iPhone. Just missing controls to check it out with.

Reply to this comment
By joshua gallen on October 06, 2009

need more actions

Reply to this comment
By noobishjavascripter on October 03, 2009

nice proof of concept, could i use your graphics for one of my things? they're pretty cool

Reply to this comment
By LlubNek on September 23, 2009

you could do this with plain old img tags too... Though you'll need to preload your images.

Reply to this comment
By Daniel de Souza Telles on September 06, 2009

Runs on Firefox too!

Reply to this comment
By Codventu on August 31, 2009

I wanna to play full game mode.

http://www.codventure.com

Reply to this comment
By giathanh0106 on August 27, 2009

nothings

Reply to this comment
By Marrick on August 17, 2009

If I were you I would use original graphics as i know the were in the MICROSOFT XNA GS 3 Starter Kit.

Reply to this comment
By ashraf siddoqui on August 14, 2009

no cmment

Reply to this comment
By Moop on August 10, 2009

It's a really good proof of concept, however, it uses too much processor power, even more than flash. Hopefully javascript engines will become much less resource intensive, and game designers will know how to code their games to use less power.

Reply to this comment
By fish boi on July 29, 2009

do the java

dun dun dun

dedendu

do the java

bim bim bim belimp im.........

Reply to this comment
By D. Schimmele on July 27, 2009

This has been done over and over again and the graphics need more work.

Reply to this comment
By robert on July 27, 2009

i like java

Reply to this comment
By The Anomynous Mouse on July 24, 2009

My screen is too small... when ever I jump (space) it scrolls down. Otherwise, GROOVY!

Reply to this comment
By mkfan7 on July 24, 2009

I like the Idea, but its " sorta " boring, at least it's a test = more coming who knows when, who know where

Reply to this comment
By Stopa on July 20, 2009

Is it just me or does the character bump into thin air close to the blocks? Bounding box seems to be a little too wide.

Reply to this comment
By HBomb187 on July 16, 2009

Haven't you people ever heard of a proof of concept? This is mostly a tech-demo, it isn't a full fledged game. Mad props to author, you rock. Keep up the hard work!

Reply to this comment
By Nitz on July 16, 2009

Very Metal Slug. Props.

Reply to this comment
By juju on July 16, 2009

borrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr\

rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

ing

Reply to this comment
By jacoman74 on October 24, 2009

at least it runs

Reply to this comment
By juju on July 16, 2009

boooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

ring

Reply to this comment
By corey on July 17, 2009

it's a friggin experiment not a full game.

Reply to this comment
By sawmaster kingdom on July 21, 2009

He's right.

You must not have any mind.

Reply to this comment
By Game Developer on September 07, 2009

Hey!!

If youy thing that was boring then i support you...yet lemme ask you how did you like chrome?

Its a damn excellent browzer

Reply to this comment
By juju on July 06, 2010

BOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOORRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIINNNNNNNNNNNNNNNNNNNNNGGGGGGGGGGGGGGGGGG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Reply to this comment
By lewis on July 13, 2009

too short

Reply to this comment
By sawmaster kingdom on July 21, 2009

It is just a test.

Reply to this comment
By Person Alpha on August 10, 2009

Oh Wank Off, Its His Opinion, Don't Be So Derogative.

Reply to this comment
By carlos alberto on July 12, 2009

gostaria que fosse em portugues

Reply to this comment
By mark on July 11, 2009

Yes! I totally made the high score!

Reply to this comment
By chithran on July 11, 2009

I like it

Reply to this comment
By chithran on July 11, 2009

very good

Reply to this comment
By Stopa on July 10, 2009

For some reason the bounding box on the blocks seems to be wider than blocks themselves.

Reply to this comment
By Joel on July 09, 2009

I cant believe that was javascript. did you notice the three layers when you scroll?

Reply to this comment
By Bob Bobson on July 17, 2009

Yes, *very* impressive.

Reply to this comment
By Matheus on July 08, 2009

Not bad at all. But it could have some more action. Nice for a tutorial though.

Reply to this comment
By poo on July 08, 2009

not bad, but ts a little, short!

Reply to this comment
By jsuper8 on October 25, 2009

I am an early programmer with a program from mit called scratch.

This is not bad but a little short.

Reply to this comment

Add a comment

All fields are required to prevent spam.