Adobe ActionScript is the open source multiparadigm language supporting object oriented, imperative, structural and functional programming and used within Adobe Flash Platform. ActionScript 3 is a dialect of ECMAScript, targeted for Adobe Flash Player 9 and higher.
64
votes
9answers
17k views
What are some programming design patterns that are useful in game development? [closed]
I have a few books on Design Patterns, and have read some articles, but cannot intuitively figure out which programming design patterns would be useful in game development.
For example, I have a book ...
20
votes
8answers
5k views
How can I develop Flash games without expensive software?
I've been playing with writing flash games in my spare time, but up to this point, I've just been using a trial version of Adobe Flash Professional. I'm aware of FlashDevelop, but their documentation ...
3
votes
9answers
941 views
How do I create a game that runs on Windows, iOS and Android?
I use C++ to create windows games and now I want to step into another other OS like Android or iOS. I'm totally familiar with C++ so I tried to create app for iOS using objective C it was working ...
11
votes
7answers
2k views
AS3/Flash Game Dev: Looking for good & current step by step
Flash tutorials and examples have been around so long it is hard to know what sites to actually read for good, current AS3 game dev.
I'm looking for a good start to finish for flash game development, ...
5
votes
6answers
4k views
Most efficient 3d depth sorting for isometric 3d in AS3?
I am not using the built in 3d MovieClips, and I am storing the 3d location my way.
I have read a few different articles on sorting depths, but most of them seem in efficient.
I had a really ...
9
votes
1answer
1k views
Angle of Reflection
I have this "Breakeout style" game.
I have a cannon at the center, blocks around the cannon and pads around the blocks. This is how the game looks like:
I've managed to get the collision per ...
1
vote
1answer
549 views
2d game view camera zoom, rotation & offset using 'Filter' / 'Shader' processing?
I wish to add the ability to zoom-in, zoom-out, rotate and move the view in a top-down view over a collection of points and lines in a large 2d map. I split the map into a grid so I only need to ...
0
votes
2answers
261 views
Dropping multiple objects using an array in Actionscript?
I'm trying to get these fireBalls to drop more often, I'm not sure if I'm using Math.random correctly.
Also, for some reason I'm getting a null reference because I think the fireBalls array waits for ...
18
votes
7answers
5k views
Easiest, most fun way to program 2D games? Flash? XNA? Some other engine? [closed]
this is a post detailing my search for the most enjoyable way for a hobbyist game programmer to sweeten his free time with making a game.
My requirements:
I looked at Flash first, I made a couple of ...
12
votes
2answers
1k views
What libraries do you use for developing games in Actionscript?
There are a couple of libraries I have used myself when developing games in Actionscript:
Flixel: Created by Adam Atomic, well known as the library created for Cannabalt. Very special for pixel ...
8
votes
1answer
2k views
How to handle physics of moving platforms in a platformer?
So after a few hours of searching on the internet, I have yet to find a pleasing answer on how to handle moving platforms in a 2d platform game. So I decided to make a simple prototype where you ...
10
votes
6answers
2k views
How do I ensure an appropriate payout ratio for a slot machine?
I have done a lot of research into random number generators for slot machines, reel stop calculations and how to physically give the user a good chance on winning.
What I can't figure out is how to ...
6
votes
5answers
1k views
Fastest bit-blit in C#?
I know there is Unity, and XNA that both use C#, but I am don't know what else I could use.
The reason I say C# is that the syntax and style is similar to AS3, which I am familiar with, and I want to ...
5
votes
2answers
2k views
How to detect 2D line on line collision?
I'm a flash actionscript game developer who is a bit backward with mathematics, though I find physics both interesting and cool.
For reference this is a similar game to the one I'm making: Untangled ...
5
votes
2answers
802 views
How do I get the distance between 2 points on an isometric grid?
How do I get the distance between 2 points on an isometric grid? I'm creating a facebook isometric game (in as3), and when I move around a particular type of building, I need to know if it comes ...
5
votes
3answers
4k views
Polygon/Shape definition changes in Box2D 2.1
I was going through a pretty good tutorial on Box2D here, but I ran into a problem when he made a b2PolygonDef, because the tutorials were made in 2.0, and I'm using 2.1. I could download 2.0 I guess, ...
2
votes
1answer
248 views
How to use Pixel Bender (pbj) in ActionScript3 on large Vectors to make fast calculations?
Remember my old question: 2d game view camera zoom, rotation & offset using 'Filter' / 'Shader' processing?
I figured I could use a Pixel Bender Shader to do the computation for ...
1
vote
5answers
1k views
How can I make my score-based game addictive?
I need some ideas to make players interested in the game result. Otherwise, the player plays again to get high score. My game is a calculation game that measures the speed of calculations that the ...
2
votes
1answer
798 views
Rotating sprite to face cursor
Given the sprites X and Y values, and the mouses X and Y values, how can I make the sprite face the mouse cursor?
I tried doing this in my move method which I found in another SO question:
...
3
votes
1answer
747 views
As3 Flash How to check if a bitmapdata is completely set to transparent using an eraser?
I'm trying to make a window-cleaning game with flash as3 on the timeline.
(Sounds boring I know, but I realy have some fun idea's with it)
So I have: A dirtywindow movieclip on the bottom layer
and ...
2
votes
1answer
293 views
Best way to generate pieces in match-3 games, and then tracking them?
I've been working on a match-3 style game in Actionscript using Flixel, and so far, I've been able to build the core mechanics of the game, including board generation, piece generation, piece swapping ...
1
vote
1answer
214 views
Placing items randomly in a dynamically generated terrain
I'm currently working on a 'Tiny wings' like game. I've already asked about the angle of the items in curved lines and i solved (thank you for responses),i'm currently placing the items in random ...
1
vote
4answers
860 views
Client server design question
I'm working on creating a multiplayer game, with the client in ActionScript and the server written in Java. I'm using XMLSocket in the client to connect to the server. The server code looks something ...
1
vote
2answers
1k views
Looking for a good actionscript 3 book
I've been looking for a book on actionscript3 development, but while there's tons of books out there, nobody seems to want to recommend any specific one.
One book I've been pointed towards is the ...
0
votes
1answer
359 views
AS3: limit objects to stage width?
I want to limit the creation of objects acording to the stage width.
My method is the following:
for (var i:int = 0; i<7; i++){
If I put something like this, it won't work
for (var i:int = ...
-4
votes
1answer
97 views
Importing a transparent image to flash [closed]
How do I import an image that has transparent background to flash and give it class and use addChild to show it on the screen? Transparent background should stay transparent.