Away3D is opensource. Its Stage3D version is codenamed Broomstick. Its core development team currently consists of 9 developers. I’m sure these guys are all so incredibly intelligent that even if they speak English (or Afrikaans) I would not understand a word of it. Their dialect contains words like Quaternion and Eulers and they use phrases like Fresnel Specular Method and Single Object Depth Pass.

Anyway, back to normal English. I recently stumbled across Minecraft style tiles published on PixelJoint by Rusty. I have been meaning to try out Away3D, but could not decide what I wanted to create. These simple tiles ignited the desire to create a Minecraft-feel landscape generated using Perlin noise.

Tilecraft

As Broomstick is still in Beta, I did come across a few unfinished features (Skybox hides part of my scene, unable to move or remove a secondary view). These prompted me not to spend too much time on workarounds as the Away3D library may get updated and change the way some of these features work. In fact, I realised there had recently been a new release of Broomstick on Github. After recompiling all the vertical tiles were missing and the horizontal tiles showed the wrong textures.

There is still a lot I want to do with this little Away3D playground.  I can’t wait for more free-time.

 

Flash is now becoming a platform for games super quick. Most Flash developers know that with Flash Player 11′s Stage3D Adobe also invested in an accelerated 2D option, Starling.

NB: For those that think Adobe added the feature of GPU utilisation by simply adding the code VM.processor=GPU to the virtual machine, you need to go and read the following educational article: http://blog.kaourantin.net/?p=138

In this demo I create 100 MovieClips and perform a few random animation. There are a few Box2D frames in the sequence.

 

I don’t want to fall out of the bus with Stage3D so I started what I wanted to do for a long time – play with some Flash 3D libraries.

I used Alternativa3D version 7 which is built for Flash Player 10. I had to play with the pre-Stage3D library to better appreciate the new capabilities.

This one goes out to my lovely wife. With our baby on the way we are ending the just-the-two-of-us chapter. What a chapter it has been! Happy anniversary, liefie!

 

So having Gallery installed makes it easy for me to only spend time on a Flash client to display photos.

I wrote a PHP class that accesses the Gallery database, reads the item data and generates XML. The Flash client calls the PHP, reads the generated XML and loads the images – also stored by Gallery. Gallery takes care of all image uploading, resizing, editing and other admin while the Flash Clients simply displays it’s images.

I set it up here: http://photosflash.binaryme.co.za

Usage and other notes:

  • I created a list of 20 patterns selected from ColourLovers.com. When loading the Flash client one of them is randomly selected and used as the background.
  • The button takes you back – photo to album or album to parent album.
  • The  button changes the display mode to full screen or windowed view.

Technologies:

  • I did not want to spend any time on tweens so I used GTween.
  • This is my first Robotlegs app. This is definitely my new choice Flash framework. Thumbs up to Cliff Hall for the original PureMVC framework which Robotlegs is based on and Shaun Smith for initiating Robotlegs. (Shaun Smith is also a Capetonian by the way. Good Flash developers must be a Cape Town thing. :) )
  • You will also notice the deep-linking thanks to SWFAddress. Make browsing easier.
 

I got yet another mouthful from a ‘professional’ yesterday about Flash becoming redundant with HTML 5. It has lead me to contribute to the raging battles.

HTML was always for document formatting. This was from the beginning of internet it’s biggest demand: Markup that can visually structure information so that web browsers may display it. The markup also remained very basic so that any internet enabled device may be a medium to displaying information. “HTML is the basic building-blocks of webpages.

While the internet is a huge source of information the internet also became a massive marketing platform. Here the approach in design and development is radically different. Any person can compare www.wikipedia.org and www.theFWA.com to realise this.

The HTML-Flash war is producing some impressive results, but neither will ever take over the other’s primary purpose it fulfils on the internet.

Even if Flash is removed from the web for being redundant, Flash will still grow as a tool for standalone desktop applications under the name of Air. HTML has many limitation when used for a desktop application simply because it was designed for a stateless protocol.

Why make war if there is more than enough space for the both of us. If you want to use HTML then do so. If I choose to use Flash then leave me be.

Why argue about which is best? If we do may it be while keeping in mind that they can also work together. As Flash developer I am also excited about HTML5! As web developer I can now do even more with even less. At least now I don’t have to do all the basics of animation using Flash.

Let us agree that both technologies, HTML and Flash, have reached into the other’s grip on the internet. HTML can do rich and smooth animations (and video!). Flash can display huge amounts of information (with cascading style sheets) while remaining lightweight. And there are many more for both technologies.

Where you as HTML guru (or Steve) may think Flash is flawed, I am sure your example is one where the Flash developer just didn’t do as well as he could have done. I have also had face-palm moments after being exposed to some of the creations out there. But it would be ridicules to conclude that that is just how Flash is.

Maybe you war because you feel threatened by the other? Then I say that you as web developer should be able to fire both weapons. You should at least be able to learn how to. As JavaScript developer you should also be excited about Flash Player 11’s Stage3D. (Soon you will be able to take a quick break from struggling to get JavaScript to work on all internet browsers by playing an amazing online game from another tab.)

Last words go to Steve Jobs: Why did you limit your clients from viewing all of the internet when you could have so easily made it work?

Career Timeline

 Programming  Comments Off
Jul 012011
 

Working on a Flash version of my CV. Here is a part that is almost done.

Note: you need to click on the timeline (to give flash the focus) for the mouse-wheel scrolling to work.

Demonstration:

  • 3D shadow effect
  • Creating reflections
  • Simple generated background
© 2012 BinaryMe.co.za Suffusion theme by Sayontan Sinha