T&C Surf Design in JavaScript
[Jon Raasch]After playing Javascript Mario Kart, I’ve been wanting to develop a classic video game with jQuery. T&C seemed like a good fit because its motion and overall simplicity are ideal for jQuery’s animation library (and it’s really fun).
I’m fairly pleased with the performance, which is vastly improved through the use of cell-based collision detection. Instead of having to check for collision every pixel, it can be checked every 32, with huge processing savings. Additionally, the use of CSS sprites greatly reduces the number of HTTP requests and the need to use the src attribute of any objects.
The main obstacle in development was cross-browser keyboard support. Thankfully jQuery’s keyboard event objects, along with a little Javascript hacking makes it work in all browsers.
Developing Javascript and jQuery video games is always a challenge, and often more than it’s worth. I only do it because I love DOM scripting and pushing its boundaries. Sure these games might be easier program in Flash, but JS/jQuery can handle it.
I hope you enjoyed playing the game as much as I enjoyed developing it. Check out the real NES version too, it’s much more fun!
T&C Surf Design in JavaScript
[Jon Raasch]After playing Javascript Mario Kart, I’ve been wanting to develop a classic video game with jQuery. T&C seemed like a good fit because its motion and overall simplicity are ideal for jQuery’s animation library (and it’s really fun).
I’m fairly pleased with the performance, which is vastly improved through the use of cell-based collision [...]
Make a Money-Making Porn Site in Minutes
Preamble about it being the biggest industry.
Here are 5 easy steps to help you set up your very own money-making porn web site in minutes.
1. Register a domain name or buy an adult domain name from Ebay.
Already got one tat you’re not using? Use that! Registering a domain name can be done easily via a [...]
T&C Surf Design in JavaScript
[Jon Raasch]After playing Javascript Mario Kart, I’ve been wanting to develop a classic video game with jQuery. T&C seemed like a good fit because its motion and overall simplicity are ideal for jQuery’s animation library (and it’s really fun).
I’m fairly pleased with the performance, which is vastly improved through the use of cell-based collision [...]
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.
POPULAR NEWS
- Silverlight 3 Candies – Drag & Drop
- Simple JavaFX Delicious RSS Feed Reader
- DevShed: Designing a Captcha System with PHP and MySQL
- New Version of my Simple Kanban Board Application
- Cal Evans' Blog: XAMPP, PHP 5.3, PEAR, and PHAR (what a mess)
- Herbert's Blog: PHP with SQL on Google App Engine
- Make a Money-Making Porn Site in Minutes
- Front-end optimization with PHP Speedy - increae Yslow grade in 10 minutes!
- Joshua Eichorn's Blog: Adding Supr urls to your site
- T&C Surf Design in JavaScript
RECENT NEWS
- Four Tools for CSS Optimization & Compression
- Applying Mathematics To Web Design
- 15 Free Mac OS X Apps That Can Make Your Lives Easier
- Community News: Latest PECL Releases for 02.09.2010
- The Future of Web Content: HTML5, Flash & Mobile Apps
- BBQ Shack Silverlight Application
- 21 Great Resources for Asp.Net Developer
- jQuery with Rails 3
- Real World Observation about Grails
- 20 Fonts Ideal For The iPhone And Other Mobile Screens




