Pushing the boundaries with WordPress Custom Post Types Part 1 – On Games

When people say “Drupal should be used for the big jobs” I say “bah hum bug!”. I don’t believe there is anything that WordPress can’t do or be integrated with. In fact it can pretty much do anything except make your morning coffee… and even then its just a matter of time before your WP powered robot is doing that too!! You think I’m joking – imagine for one moment coupling the Darwin Robot with Apache and WordPress. The possibilities are endless! I digress. We’ll take a look at that next year!!

Thanks to Custom Post Types, Instinct, the main contributing organisation behind GetShopped has been able to do some pretty amazing stuff, we’ve created a new Group Deals Plugin, we’ve migrated the old WPEC Products Database to use Custom Post Types and perhaps what might be the most unique and ambitious use of Custom Post Types ever we’ve managed to make Games – Powered by WordPress.

This Game Powered by WordPress

The idea is a simple one. Anybody can make games.

During the past year, a small, semi secret team, has been working night and day to merge the gap between Game and WordPress. I’m certain that our project, DoubleHappy, is one of the most unique and ambitious uses of the WordPress Database you may ever see.

Every Level in every Game is a Custom Post Type consisting of a corresponding level array. Seperate Custom Post Types are home to every Sprite, Tile, and in-game Object. This means that for us as administrators we can use the WordPress User Interface to take control of our gaming world in a way that has never been done before. Via our WordPress admin we can edit levels manually, we can publish levels, we can put levels into draft mode, we can even schedule the release of a level to a certain event or date. We can upload game sprites, comment on levels, and we can vote on levels. In theory anything you can do to a blog post you can now do to a game!

Social Networking

Thanks to BuddyPress, Social Networking is all just part of the package, we’ve got a gaming activity stream, we’re busy integrating an achievements system (if you don’t know what that is… you’re not a gamer) which is cooked right in to the heart of our service and users can easily push their games out to their social networks via Facebook & Twitter integration.

So you want to make a game? Its easy, no coding necessary, just a drop dead sexy *cough* beta *cough* drag and drop interface full of cool features. And thanks to the lovely way WordPress handles its data we’re just a hop, skip and a jump away from launching iPhone and Android versions to boot.

The Future

Top down games. iPad. Android. Internationalization and  Japanese launch party, a whole lot of HTML5 and a DoubleHappy scripting language for people that want to make more complex games.

The Game Editor is built in Flash because its the best there is at the moment. But I’ll admit – we’re getting a tad tired of Flash so stay tuned for our upcoming HTML5 game creator and HTML5 game engine. We see HTML5 games playing an integral part in the future of online casual gaming. And DoubleHappy is sure going to help be a part of this movement!

Make, Play & Share

So go on & check it out! Head on over to DoubleHappy now and play our WP Christmas Game. A litte something that I whipped up for fun. It isn’t a complex game by any means but you will find yourself playing a Custom Post Type and thats just crazy!!

And finally while I have your attention I’d like to say that we’re open to your ideas (and investment ;)), if you have an idea for a game, or a story that you’ve always wanted to see realized in a game then this might be the tool for you. Maybe you’re an illustrator with characters & sprites and you want to see these realized in a game, if so then then leave a comment, introduce yourself…

» Make and Play Games Now

12 responses... add one

And i want to add that it’s really easy to use plugins, taxonomies and all other WP stuff on custom post types. For example we use rating and sharing plugins for our games and taxonomies to have and Editors Choice. WP just makes everything easier 🙂

I like the articles here I am starting to use WP ecommerce for selling products online. Can I ask if you have a newsletter form so that I can just add myself, I would like to be updated on your blog post.

Hi Catherine,

Yes, you should see a popup on the bottom left of the screen that will ask you to sign up. There’s also a place to sign up in the footer area, at the bottom of the site.

Hope that helps!

@Mike Loved your post. Thanks for sharing.

@Dan, Blog post idea! Maybe. Is it safe/secure/okay to allow Facebook connect or gmail login for users on a website using wp ecommerce? Or should I require all new users to create new WP accounts and passwords? Basically, I’m setting up a community with BuddyPress that will have an integrated gold cart store with, I intend, *lots* of products. A true store, not just a small shop on a website. What are your thoughts on the security of login creds such as gmail and facebook for use with WP E-commerce?

Do you have a spam issue on this blog; I also am a blogger, and I was curious about your situation; we have created some nice methods and we are looking to swap techniques with others, be sure to shoot me an email if interested.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.