Games & JavaScript & YahooSaturday, August 30th, 2008

Pacman!

pacman.gifSo here it is, my new project after a one year break. I know it’s not perfect and of course you can find some bugs, errors, not well optimized lines of code, mistakes, etc. , but I’m tired of figuring out what is wrong, how sprites should change their position, what/where/when should something happend. I said that I like to writing games, but I’m not a cybernetic-humanoid from the future, and sometimes I need to do something else to refresh my mind. bla bla bla.

…so I decide to show you what I’ve created, hope you spend some time playing the yellow-ball-face-man running from the four angry ghosts. NO FLASH, pure (xHTML + JS) = YUI

Warning! Ghosts are very smart, they are spending most of the time trying to find where are you hiding and when they finally finds you, they run away :)
(one of the A.I. bug!)

Have fun!

PACMAN!


12 Responses to “Pacman!”

September 2nd, 2008

Tim Broder

sweet!

September 5th, 2008

Mark Snap

I like it, however its really hard to play using Google Chrome - its just too fast! Load in IE7 for a more leisurely experience.

September 5th, 2008

Monica

Cool game! I was actually googling for a good pacman game for days.Not to mention it is very impressive to have this no flash, only html and js.
Great job!

September 5th, 2008

#Kris

Thanks! Game should works fine in Google Chrome, the speeds of each ghost is not browser or hardware specific but depends on function window.setinterval() - 90 miliseconds per move!

September 8th, 2008

Jeff Schiller

Cool, but too fast to play in Firefox 3 on my Macbook Pro also.

September 8th, 2008

Hans Duedal

Moves way too fast in FF3 on OS X, both the pacman and the ghosts are too fast.

Kinda strange if they are timed.

September 8th, 2008

#Kris

Hmm, That’s really strange. I’ll check it once again on a few different computers and browsers…

September 8th, 2008

spawnrider

Very great game. yeahhh ^^
Your realisation is a good proof-of-concept for any Yui developer.
Thanks a lot!

September 10th, 2008

s

nice topic !!!!

September 11th, 2008

Lori H-C

This is a really cool example of what’s possible with JavaScript (and it’s fun to play :-). Would you be willing to let us distribute it as a sample with Aptana Studio/Cloud? I can give you more info about the intended use in a separate e-mail. -Lori

September 19th, 2008

MarkW

This is really nice. Good work. I am also a JavaScript game creating geek :-) Keep up the good work. Perhaps we could collaborate on something in the future ?!

You can see my stab at arcade gaming in JS here > http://www.rebelideas.co.uk/proto/test

September 25th, 2008

John

I’m searching for some games that I can add to a website for children to use in a private area of a children’s hospice website. Do you allow free use, or would we have to pay to add your games to the website.
We would credit you as the author
Thanks,
John


Leave a Reply

  • Name: (required)
  • E-mail: (not required/will not be published)
  • Website:
  • Comment: (required)
  • Enter Above Code:
  • Letters left: 255
  • Note: Your comment will appear on the site within a few hours after you submit it.