Wednesday, June 30, 2010

Basic 3d using ActionScript 3

With the come of AS3, a new axis Z is introduced, allowing the users to work in 3d world. The following example lets you rotate the picture using the X, Z and Y axises:

Tuesday, June 29, 2010

AS3 Beginner Tutorial - part 3: Mouse followers

Let's create a simple mouse follower.

1. Create a movie clip on frame 1 with an instance name of "Cursor" without quotes.
2. Open the actions tab for frame 1.
3. Use this script:

Sunday, June 27, 2010

AS3 Beginner Tutorial - part 1: Introduction

This tutorial is meant for people who are unfamiliar with Actionscript 3 and want to start learning it. In this tutorial we will see what's new in AS3, take a look a the variables, learn how to make simple buttons, preloaders and mouse followers.

Saturday, June 26, 2010

AS3 Adding zeros to score

A lot of games have this feature, and the question has been asked on some flash game development forums recently: "How do you make your score appear with zeros in the beginning? Like 000350 and 003500."

Here's the code:

A coder's blog

Developing flash games and utilities is my hobby, and I plan on becoming a real programmer in future. I've noticed that I have more and more to say about this topic, so from this moment this blog is dedicated to ActionScript 3.0 tutorials, reviews, articles, etc...

Enjoy your stay!