Get $500+ of the best After Effects files, video templates and music for only $20!

Browsing Category

Tutorials

Playing Around with Elastic Collisions

Playing Around with Elastic Collisions

In this tutorial we will create a game where the objective is to prevent other objects from colliding with your cursor. We won’t use Flash’s built-in hitTestObject() methods; instead we will write our own collision detection routines.


This entry is part 6 of 12 in the You Do The Math Session
Look Up Movies with Flash and the Rotten Tomatoes API – Tuts+ Premium
plus

Look Up Movies with Flash and the Rotten Tomatoes API – Tuts+ Premium

Premium members: here’s this week’s tutorial. Here, you’ll learn how to interact with the Rotten Tomatoes API for looking up information about movies, as we put together an efficient library that is easy to use and can quickly be expanded.

Make a Tower Defense Game in AS3: Enemies and Basic AI

Make a Tower Defense Game in AS3: Enemies and Basic AI

Hey Flash Developers, welcome to the second part of my Tower Defense Game tutorial. In the first part, we developed the basic mechanism of creating turrets and making them shoot towards the point of mouse click. But that’s not what turrets are for! In this part we’ll extend the game to include enemies, basic artificial intelligence (AI) in turrets, and some more game elements. Are you ready?

Pixel-Level Collision Detection for Transformed Graphics

Pixel-Level Collision Detection for Transformed Graphics

In the previous tutorial, we went through the basics of pixel-level collision detection. In this tutorial, we shall explore the use of matrices in better defining the area of interest – very useful for graphics that have been rotated, translated, or skewed.


This entry is part 6 of 8 in the Collision Detection and Reaction Session
Build an Active Flash Game Menu: The Bounce

Build an Active Flash Game Menu: The Bounce

First impressions are very important on a Flash game portal; if your game doesn’t grab the player in the first few seconds, they’ve got plenty of other games to choose from. As the menu is the first point of interface, anything you can do to make it less dull will help. In this tutorial we will create a menu that incorporates swapping depth, smooth roll over effects, and two different transition designs.

Keep Your Flash Project’s Memory Usage Stable With Object Pooling

Keep Your Flash Project’s Memory Usage Stable With Object Pooling

Memory usage is an aspect of development that you really have to be careful about, or it might end up slowing down your app, taking up a lot of memory or even crashing everything. This tutorial will help you to avoid those bad potential outcomes!

Quick Tip: Fixing V-Sync (“Tearing”) Issues in Flash

Quick Tip: Fixing V-Sync (“Tearing”) Issues in Flash

In today’s (Very) Quick Tip, you’ll learn how to solve the common problem of flickering or tearing. This is a horrible effect in Flash where bitmaps flicker as they are updated, or appear to tear into two images (as in the thumbnail).

Simple Harmonic Motion and Its Applications in Games – Tuts+ Premium

Simple Harmonic Motion and Its Applications in Games – Tuts+ Premium

Premium members: here’s this week’s tutorial. Simple harmonic motion is a type of movement commonly used to describe pendulums and springs. In this tutorial, you’ll learn the concepts behind this type of motion, and understand the many different ways you can apply this in your games: from an animated health warning, to the motion of attacking enemy ships.

Understanding Affine Transformations With Matrix Mathematics

Understanding Affine Transformations With Matrix Mathematics

Inspired by Prof. Wildberger in his lecture series on linear algebra, I intend to implement his mathematical ideas with Flash. We shall not delve into the mathematical manipulation of matrices through linear algebra: just through vectors. This understanding, although diluting the elegance of linear algebra, is enough to launch us into some interesting possibilities of 2×2 matrix manipulation. In particular, we’ll use it to apply various shearing, skewing, flipping, and scaling effects to images at runtime.


This entry is part 11 of 12 in the You Do The Math Session
Squeezing More Juice Out of the Flash Player

Squeezing More Juice Out of the Flash Player

In this tutorial you’ll build an extreme particle system whilst learning how to squeeze more efficient goodness out of the Flash Player than you ever thought possible!

Page 5 of 59« First...23456789...Last »