Articles in the ‘All’ Category

MooTools 1.2.6 Released

Written By Cristian Carlesso, on Tuesday, February 19th 2013, 12:12pm

This is a new maintenance release for the old 1.2 series. The new ECMAScript 6 specification has a proposal for String.prototype.contains that unfortunately conflicts with the MooTools implementation of contains.

Firefox 18 already ships this new version of contains. This is not a problem for MooTools 1.3.x and onward, but this breaks MooTools 1.2.5, especially the code inside the MooTools framework that utilized this method, like selectors.

This new 1.2.6 release solves these issues by overwriting the native version with the MooTools version of String.prototype.contains.

For the next MooTools version, 1.5, we will use the standard ES6 version. If you rely on the old behavior (which is only when you use the second argument), it will be possible to use the old version through the compatibility layer.

JavaScript Challenge #3: Review

Written By Christopher Pitt, on Wednesday, August 22nd 2012, 5:54am

The third JavaScript challenge showed us what it would be like to draw with canvas. The challenge was open ended, in so far as there were no restrictions as to what drawing technology could have been used, but everyone just went straight for canvas.

(more…)

JavaScript Challenge #2: Review

Written By Christopher Pitt, on Wednesday, August 22nd 2012, 5:53am

The second JavaScript challenge was loads of fun! It seems the topic of game development creates interesting challenges and invited participation. Once again, there were many excellent entries but the following entries showcase something specific we want to point out…

(more…)

JavaScript Challenge #5 (Cows never forget)

Written By Christopher Pitt, on Wednesday, August 22nd 2012, 5:52am

The other day I was playing Fez when I was reminded of an old memory game I used to play where a sequence of colours are shown and the player has to repeat the sequence correctly to proceed. Players are shown increasingly long sequences or colours, stretching their memory to its limits!

(more…)

JavaScript Challenge #4 (Space, the final grassy gnoll)

Written By Christopher Pitt, on Wednesday, August 15th 2012, 6:01am

Back in the old days, there was an operating system named after transparent, glass-filled wall apertures numbering in mid-90’s. This operating system was designed to run on computers with CRT screens, which actually needed software to upset the patterns of light they generated, called screensavers.

This operating system had just such software, in a number of different variations. One of these created the “illusion” that the observer was travelling through space, passing stars. This is the subject of this week’s challenge.

(more…)