Flash, Actionscript, Design, Games and Programming.
In: Actionscript|Classes and Functions|Flash|General|Source Code
16 Mar 2010I’ve been working on a project today and needed a function to remove a specific item from an array. This is what I came up with, so I thought I’d share it here. ?View Code ACTIONSCRIPT3 var myArrayOfLetters:Array = ["a","b","c","c","d","e","f","g","c"]; removeItemArray(myArrayOfLetters,"c"); //This will remove all instances of "c" from your array – so you will [...]
Following on from my post about Daniel Shiffman’s Nature of Code, and the benefits of digging into the processing community, here’s a post about the excellent site OpenProcessing.org – “What? A website to share Processing sketches??” Share your sketches with others. Help and collaborate with the community. Improve and polish your programming skills. Even if [...]
I’ve been playing about with processing lately, which is really good fun, and quite easy to jump straight into, coming from a Flash background. If you’ve not heard of Processing, it’s – Processing is an open source project initiated by Casey Reas and Benjamin Fry, both formerly of the Aesthetics and Computation Group at the [...]
I’ve been using Wonderfl.net more and more over the last few weeks. It’s an amazing site, with a great community – I I’m looking forwards to playing with it, when I’ve got a couple of hours to kill on an internet cafĂ© computer somewhere on the road. For those of you not familiar with it [...]
A few months ago, I looked back at my best performing flash games – the aptly named “Super Letter Game“, and showed how a similar control scheme can be coded in AS3. Today I’m going to look back over another of my AS2 games, which was reasonablly successful – 50 Red. Interactive artwork meets frantic [...]
This is the blog of Lawrie Cape, an interactive developer from Leeds, England.