Install Circle Chain on your iPhone for free and get the source code!! 645 downloads to go - last updated: April 21, 2012

Archive for the ‘Actionscript 3’ Category:

Understanding pixels and meters with Box2D and how to select an object with mouse – part 2

Emanuele Feronato on Nov 17, 2008 • 10 Comments

Ok, time to learn once for all how does Box2D manages object sizes, and how to set them right when working with AS3 In previous step I used a 90×90 pixel crate. The problem is Box2D does not works with pixels because it does not have a native pixel render engine. In other words, Box2D [...]

Understanding pixels and meters with Box2D and how to select an object with mouse – part 1

Emanuele Feronato on Nov 16, 2008 • 17 Comments

This will be the longest post title in blogging history… anyway I am about to explain you two things that seem to be still unclear about AS3 version of Box2D. The first one is Box2D measuring units that may seem weird until you realize Box2D works with meters where 1mt = 30 pixels. The second [...]

AS3 Flash game creation tutorial – part 5: gameplay

Emanuele Feronato on Nov 13, 2008 • 10 Comments

Once introduced the score in AS3 Flash game creation tutorial – part 4: score, it’s time to create some gameplay. The idea is to create a game like Collectabubble, just a bit more polished and with some more features. The first thing to introduce is the rotating bar, a movieclip called bar with bar.as class. [...]

AS3 Flash game creation tutorial – part 4: score

Emanuele Feronato on Nov 11, 2008 • 9 Comments

In AS3 Flash game creation tutorial – part 3: walls I introduce some obstacles to kill the circle, now it’s time to make it earn some points when it collects the coins. As usual, I am creating a new movieclip called score with its score.as class. This is how score.as looks like: 1 2 3 [...]

AS3 Flash game creation tutorial – part 3: walls

Emanuele Feronato on Nov 6, 2008 • 8 Comments

Welcome to the 3rd step of this tutorial. It’s time to cover walls, or whatever you may call some fixed, deadly obstacles. Continuing on the OOP lane, the new object called wall has a class coded in a file called wall.as saved in the same path as the other ones. This is how we will [...]

AS3 Flash game creation tutorial – part 2: coins

Emanuele Feronato on Nov 4, 2008 • 7 Comments

In the previous step I showed you how to create a simple “move-the-ball” game using AS3 classes. Now it’s time to introduce some more elements… some coins to pick up. Obviously the coin must have its own class, called coin.as, saved in the same path as the other ones. This is the fully commented coin.as [...]

ActionScript 2.0 to 3.0 Migration Cheatsheet

Emanuele Feronato on Nov 2, 2008 • 2 Comments

If you are worried about the changes introduced by AS3 and would like a cheatsheet for a quick reference of most of them, then you should take a look at http://actionscriptcheatsheet.com/ This site provides some interesting printable quick reference cards for the ActionScript language. AS3, Flex, AIR, Papervision, and more. Unfortunately the site seems to [...]

Flash game creation tutorial – part 1 (with AS3 classes)

Emanuele Feronato on Oct 31, 2008 • 23 Comments

Old readers should remember Flash game creation tutorial – part 1… it’s an ond AS2 tutorial about the creation of a game like Ball Revamped and its sequels. Later Tim Edelaar coded it into AS3 in Step by step AS3 translation of Flash game creation tutorial – part 1, but with the whole code in [...]

Introduction to AS3 classes

Emanuele Feronato on Oct 27, 2008 • 13 Comments

In my opinion one of the most important reasons people are afraid to migrate from AS2 to AS3 is its way of scripting. Pure AS3 coding dislikes coding on the timeline and wants us to write and use custom classes. Don’t worry: you can still write your script on the timeline but you won’t be [...]

Platform game basics using Box2D

Emanuele Feronato on Oct 26, 2008 • 31 Comments

I wrote about Box2D Flash version about a year ago, then I published Playing with Box2DFlashAS3 and Create a Flash game like Totem Destroyer as examples covering what you can do with this library. But I was really impressed by a thread on TriquiTips submitted by Hawdon called Box2DAs3 For Beginners! (read steps 1 and [...]

Page 32 of 34« First...1020...3031323334