Articles in the ‘All’ Category

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…)

Optimizing MooTools builds sans Internet Explorer

Written By Arian Stolwijk, on Monday, August 13th 2012, 1:32pm

Since the very beginning of MooTools you can only pick the right components that you need with the MooTools Download Builder, to ensure there are no useless bytes going through the wires. But this means you still download browser-specific code. What if you could optimize the code further by removing unnecessary browser-specific code?

The good news is, you can optimize MooTools builds to remove specific (IE) code! Packager has been used to concatenate builds since MooTools 1.3. Removing certain code blocks, like MooTools 1.2. compatibility or specific IE code is one of the features of Packager. Lets see how it works. We begin with downloading Packager.

(more…)

JavaScript Challenge #3 (Cows all the way down)

Written By Christopher Pitt, on Wednesday, August 8th 2012, 2:51am

This week we get graphical! Many people are exposed to some form of turtle drawing program when they first learn programming (or just basic computer usage and analytical thinking). It’s also a good way to develop the parts of your brain that deal with forward planning.

(more…)

JavaScript Challenge #1: Review

Written By Christopher Pitt, on Wednesday, August 8th 2012, 2:50am

The first JavaScript challenge was a huge success, with many excellent entries. While there are many excellent entries, we found the following few taught us interesting and helpful lessons…

(more…)

JavaScript Challenge #2 (Whac-A-Moo)

Written By Christopher Pitt, on Wednesday, August 1st 2012, 4:49am

Hopefully the first challenge got you excited for JavaScript development in a competitive environment…

One of the most common requirements of web applications is to be able to respond to user input, and in particular clicks (or touches). Continuing with our theme of element generation (and in some cases animation); this week’s challenge will be to create a basic whac-a-mole game.

(more…)