ActionScript 3.0

PsychedelicEffect

AS3 Level-4: Using Ping-Pong technique with RenderToTexture in Stage3D and AGAL

In this tutorial, I’ll cover how to use a rendering technique known as “Ping-Ponging” to achieve a colorful psychedelic post-processing effect. Basically, it is the process of alternating between two […]

ColorPerlinNoise

AS3 Level-4: PREVIEW Using RenderToTexture for Trailing Effects in Stage3D and AGAL

This is just a quick preview for a very special achievement in my exploration of Stage3D and AGAL. It’s my first attempt at using a “ping-ponging” technique to achieve a […]

Particle_System_AGAL_featured

AS3 Level-4: Setting up a 2D Particle System with AGAL and Stage3D

It’s been a few weeks since I started experimenting in AGAL and Stage3D. The bad news is… I didn’t figure out how to make a kick-ass 3D Engine with post-processing […]

AGAL_p5_featured

AS3 Level-4: Yet another AGAL helper library, ASGL (part 5)

While I was looking for some more advanced Math functionality in AGAL, I stumbled upon this neat library on Google Code called ASGL (available via SVN here). It’s actually more […]

AGAL_p4_featured

AS3 Level-4: Say Hello to XAGAL, the XML AGAL interpreter (part 4)

For the past few days, I have been experimenting with various options of writing AGAL code in ways that would be easier to follow than the raw code itself. I’ll […]

AGAL_p3_featured

AS3 Level-4: Manipulating RGB Colors on a Texture with AGAL (part 3)

In this third experiment of AGAL, I will show you how we can modify the colors of a Texture in realtime by using some FragmentShader constants based on where the […]

AGAL_p2_featured

AS3 Level-4: Experimenting with EasyAGAL (part 2)

You may have notice a slight difference with the title of this post when compared to my first post, “part 1” released previously. To further facilitate writing Vertex and Fragment […]

AGAL_p1_featured

AS3 Level-4: Experimenting with AGAL (part 1)

If you’re like me, you may have been struggling to understand how to use AGAL to make your own GPU shaders in Flash Player 11. Many developers out there are […]

TEST_ND2D_feature

AS3 Level-3: How to toggle Stage3D in Fullscreen mode

Fullscreen support in Stage3D was like pulling teeth at first. For this reason, I’ve put together a few observations during the course of this painful process to shave off a […]

BeachBall_featured

AS3 Level-3: Using TextureAtlas in ND2D (Stage3D Library)

Although I used some of my own library Classes in the code below, I would like to show you a demonstration of using a TextureAtlas file made with TexturePacker (by […]

Test Angles (featured image)

Math 101: Understanding Angles, Degrees and Radians

In this simple project, I will show you two scenarios where the use of angles are used. The two most common Trigonometric algorithms you will encounter in game development are […]

featured_image

Clean Coding: Refactoring a large project, in baby steps

If you have ever worked on a large project (or you are currently), you may have experienced the Janitorial-syndrome, which is “Man, I wish there was a virtual Janitor that […]

InterpolatingRect

Math 101: Aligning a Small Rectangle within a Large Rectangle along it’s path.

Have you ever wanted to create a Dialog Bubble for a game but just couldn’t quite get the tip of the bubble to align it to where the head (or […]

Matt Shaw's website (as of October 2011)

Debugging in Many Flash Player Versions

There was, once upon a time, a Firefox plugin that would let you switch between your previously installed Flash Players (if you want to download this outdated solution for one […]

Instantiation Optimization

While I was reading the PDF “Introduction to Starling” (downloadable here), I stumbled upon a pixel-level collision detection example. When I noticed the code involved instantiating a new Point for […]

Function Closures – Solving the Mystery

Function Closures, Local Functions, Generated Functions, Anonymous Functions… Yikes! First of all, before we even start to address the topic of Function Closures, I should point out the pros and […]

Starling = Stage3D (Molehill) for Flash Player 11 made easy.

The people that created this framework really made it a priority to make it easy for developers to carryover their knowledge of the current Flash DisplayList architecture – to this new powerful one.

AS3 Level-3: Using Custom Metadata Tags

Ever since I’ve typed my first keystrokes writing in AS3, I never knew even after 6 years I’d still be discovering new things in this powerful language. I’d like to […]

AS3 Level-1: Embedding Fonts (FP10)

One of my recent discoveries in the mysterious wonders of embedding fonts in Flash, is that it has changed ever so slightly – but enough to make me pull my […]

Flash Builder should have smarter code-completion

This is something I’ve noticed in FlashDevelop as well, but when I heard Flash Builder “Burrito” came out and had some neat code-completion features binded to the CTRL+1 key, I […]

css.php