Finally sat down this weekend and completed my Javascript Lunar Lander clone, JSLander. Decided to make it after messing around with midpoint displacement towards the end of last year. The development of JSLander overall wasn’t too bad, the trickiest thing was making everything work exactly the same when you were zoomed in, I happen to be horrible at math…
Categories
- Android (2)
- Canvas (16)
- css3 (2)
- Design (6)
- Game Development (15)
- Gaming (5)
- Hand Held (2)
- Javascript (11)
- jQuery (4)
- MySQL (1)
- PC (4)
- Programming (35)
- Tutorials (3)
- Uncategorized (2)
- Web Development (33)
- zombies (1)
Interesting Links
Projects
Archives
- January 2012 (3)
- November 2011 (1)
- October 2011 (5)
- April 2011 (1)
- March 2011 (1)
- December 2010 (2)
- November 2010 (1)
- October 2010 (1)
- September 2010 (5)
- August 2010 (1)
- July 2010 (2)
- June 2010 (2)
- May 2010 (4)
- April 2010 (7)
- February 2010 (2)
- December 2009 (3)
- October 2009 (1)
- March 2009 (1)
- February 2009 (5)
Tags
2d matrix algorithm android angle based movement Aviary canvas canvas games canvas invaders collision css date object development diamond square distance friction game heightmap jason brown Java javascript javascript snow jquery jquery snow jquery snow plugin js1k math midpoint displacement minecraft minecraft development OpenGL performance plugin quick sort Raven rotation Screensaver snow snowfall sorting sprite sheets vector Vector Graphics Web Design Web Development web sites
Nice, except that its unplayable due to a small problem. It’s a shame because your game / java wizardry is just SO AWESOME; more that its torture to not be able to fully enjoy the game because of a silly browser problem. Here’s the thing: when using the up/down arrows on your webpage, because the browser thinks the page is larger than the visible screen, the browser window starts to scroll the page up or down, just as you are attempting to change the thrust.
Is there some way you might be able to prevent the browser from capturing the up/down arrows OR just make the page dimentions smaller so that on an average sized 1024×768 screen, the browser removes its scroll bars?
Thanks for bringing back an absolute all time favorite game! Just pulling my hair out over the scolling browser thing; but the javascript itself is AWESOME!
- I
Hey thanks for the comment, has been updated to allow a, and z to change thrust.
Just thought I would let you know that performance seems to be lacking,for me, when crossing sides and zooming in. I think that might be just though.
Top marks for an awesome implementation of JSLander. There is an occasional bug, however, when the lanscape zooms in to a close view. A few times I have had it flicker continuously between zoomin-zoomout.
It is most common when you have a flat 1x with a 3x/5x dip in it, eg: –\_/— when I enter the dip it starts to toggle between zoomed in and zoomed out :/
(I filmed it if you want a video demonstration of the bug … email me
)
This is awesome… took me a couple tries though. Nice work dude!!