jQRPG — An Old-School Style RPG in jQuery

Javascript/jQuery and CSS compatibility is finally at a decent state amongst major browsers (IE and ACID3 notwithstanding). At least, similar/the same DOM manipulation behavior can be reproduced across those browsers. Not only that, but the JavaScript rendering speed of engines other than Trident (IE’s) is quite fast. With these developments, it is actually possible to create playable games (really, check those links out!).

The Demo

In about 4 hours I’ve created a demo RPG here using jQuery, JavaScript, CSS, and the Javascript jQuery Hotkeys Plugin. I’m surprised no one has created a complete, working one yet, as tile-based RPGs are much easier to make than action games with collision detection.
jQRPG Screenshot

If anyone is interested, I might continue building this, adding in turn-based menu battles (oh boy!), a shop system, and AJAX saving and loading with an HTML5 backend. Leave a comment!

Outro

Not that I’m against Flash (looking at you, Apple), but JavaScript is much easier to learn and there is much potential in using it for things other than special effects and Web Applications. We’ve already recreated all the basic elements used in the Nintendo games of yore using CSS and jQuery; e.g., sprite animation (with many techniques) and parallax scrolling. Combined with the super fance sliding, fading, easing, and opacity animations we are already afforded, the browser is a feature rich playground for game developers. Hopefully we’ll see more techniques emerge, and with them more games. I am looking forward to jQuery being the new QBASIC.

References

  1. jQuery Browser Compatibility
  2. Acid Browser Tests
  3. gameQuery
  4. jQuery Video Game Remake: T&C Surf
  5. Javascript jQuery Hotkeys Plugin
  6. JQuery Sprite Animation Plugin
  7. jParallax
  8. Scrolling Parallax jQuery Plugin

Share this article:

  • del.icio.us
  • StumbleUpon
  • Digg
  • Reddit
  • DZone
  • Mixx
  • Twitter
  • email

Leave a Comment

*

*
<pre>, <code>, and <blockquote> allowed.

Comments

  1. #339 on April 23, 2010 @ 9:56 am

    Epic!! I’d have to say I agree with about everything you say here. I was actually just wondering if anyone has looked into a jQuery RPG app as I’m about to make a series of games using jQuery to compete with any flash games and an RPG is one of them.


  2. Greg DeKoenigsberg
    #340 on April 25, 2010 @ 12:42 pm

    This is really great stuff. I would *love* to see this get extended — I’m a big fan of the idea of educational games written entirely in jquery.

  3. #360 on August 18, 2010 @ 3:51 am

    That’s really great stuff.
    Did you continue this project ?

    Good continuation