Author Archives: Joe

News, updates and more from the world of Play My Code. Keep informed, follow @playmycode on Twitter or subscribe via RSS.

Updates: New Front Page, Painter Fixes, and API Additions

Posted: by Joe under Play My Code Announcements

We very recently rolled out a Play My Code update featuring additions to the API, keyboard shortcuts for our integrated paint application SkyBrush, a refreshed front page and a whole range of other bugfixes and tweaks. Read on for details… … Continue reading

3 comments

Update: API Additions, Bug Fixes

Posted: by Joe under Play My Code Announcements

Following our last major release, we’ve rolled out an incremental update which includes a few handy API additions we didn’t have time to get out the door last time ’round, as well as some extra polish and a number of … Continue reading

no comments yet

Building a Game Mainloop in JavaScript

Posted: by Joe under Game Development

HTML5 is being touted as the next technology for browser games, but even common and straight forward parts like a ‘mainloop’ can be difficult to write in JavaScript. This is a thorough explanation of how to go about writing your … Continue reading

4 comments

JavaScript Per-Pixel HTML5 Canvas Image Collision Detection

Posted: by Joe under Under the Hood

Recently Play My Code gained per-pixel image collision detection. Here is a small demo of it in action: Like the previous blog post about our image tinting implementation, here’s some behind the scenes information on how we added pixel-perfect collision … Continue reading

2 comments

Updates: Full Screen, Auto Play, API Additions, Bug fixes and More

Posted: by Joe under Play My Code Announcements

We’ve finished a new round of updates for Play My Code including bug fixes, new API additions and some changes to the site and player. Bug Fixes Most of these were internal bugs, which rarely occurred or were quite minor. … Continue reading

no comments yet

Updates: Anonymous Functions, Image Collisions and Rounded Rectangles!

Posted: by Joe under Play My Code Announcements

Since our last update, we’ve been doing more then just playing around with raycasting engines…. This latest release is primarily about bug-fixes, which easily made up more then half of the changes. We also put a lot of effort into … Continue reading

no comments yet

Realtime Image Tinting on HTML5 Canvas

Posted: by Joe under Under the Hood

We’ve improved our setColor() API function, so it can now be used to set the colour of images as well as text and primitives. See below for an example: However the HTML5 canvas doesn’t support tinting images out of the … Continue reading

5 comments

Sound Support, Editor Improvements and More

Posted: by Joe under Play My Code Announcements

The past few weeks have seen a slew of brand new functionality and improvements on Play My Code. Here’s a summary of all the new features we’ve been rolling out: Sound Support! It’s been a long time coming, but audio … Continue reading

no comments yet

Integrating WordPress Within an Existing Framework

Posted: by Joe under Under the Hood

WordPress is an awesome blogging system. It’s pretty much become the CMS to use, but one of its traits is being very much designed to be deployed as a stand-alone piece of software. To build this blog, we used WordPress … Continue reading

one comment

Simple Yet Effective Javascript Optimisations

Posted: by Joe under Under the Hood

The latest Play My Code update yielded some huge performance increases. These were all pretty minor changes code-wise and yet compilation, loading times and game execution speed has increased by up to 400% in some cases. All of our games … Continue reading

7 comments