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.

learn more… | top users | synonyms (1)

2
votes
2answers
310 views

Show a range grid movement as3

How do I show range of grid movement in AS3? When player controls a character and chooses "move" options, the grid of movement will be displayed as 3 grid of X, 4 grid of Y (Both sides, + and -). So, ...
2
votes
1answer
54 views

2D Change Velocity Based on Distance XY While Moving Parabolic Arc

What I'm trying to achieve is that the entity moves in a parabolic curve, and no this has nothing to do with gravity before you ask. I give the entity a target position which it should move to, but ...
2
votes
1answer
324 views

Fixed timestep with interpolation in AS3

I'm trying to implement Glenn Fiedler's popular fixed timestep system as documented here: http://gafferongames.com/game-physics/fix-your-timestep/ In Flash. I'm fairly sure that I've got it set up ...
1
vote
1answer
214 views

How can I spawn a sprite based on a condition after the game starts?

How do I spawn a sprite anytime later in the game when the game starts? I'm using FlashDevelop with Flixel. I did try it in override public function create(): void. It works only in the beginning. I ...
0
votes
1answer
26 views

AS3/Flash Develop - Radial Gravity (character on planet simulation)

I am trying to create a program where a character shape will be constantly drawn towards the centre of a planet shape. I have taken on previous advice into using physics equations to generate the ...
0
votes
1answer
158 views

AS3 random events using a timer

I'm making a game for an assignment at university. The game I am making requires random household appliances around a house to "turn on" at random times. The player must run around the house turning ...
0
votes
1answer
28 views

AC3 FlashPunk Console doesn't show anything

I am making my project using flashpunk , I knew that it has a good console gui to give feed about states of the game , however when I tried making it appear with the FP.console.enable() method it ...
0
votes
1answer
584 views

Collision Detection fails with AI cars

I am making a car parking game in flash and AS3 wherein I drive my car along with other AI traffic cars moving along a specified path using Guidelines. I am using CDK for collision detection. The ...
1
vote
0answers
20 views

Host Migration (P2P) with RTMFP and AS3

I was wondering if this is a possibility with RTMFP since it acts like UDP/P2P.. Host Migration Player A starts and host a game.. Player B and C connects.. Player A quits.. Player B is now ...
1
vote
0answers
8 views

Citrus Engine - How do I set-up the camera?

(Would be great if someone with greater rep created the Citrus Engine tag and add it to this question) I want to make a game where my inner starling stage dimensions are 320x240. My game will have ...
1
vote
0answers
21 views

Customizing ease functions

I have this function that acts as a ease in: protected static function easeIn(ratio:Number):Number { return ratio * ratio * ratio; } Where ratio is a value between 0 ...
1
vote
0answers
101 views

How do I align textures properly with an exploding sprite / breakable body?

I'm working on a game based on Box2D and Starling which includes breakable bodies - bodies/objects that when hit with sufficient force break apart (into smaller pieces). I've managed the physics part ...
1
vote
0answers
505 views

How to code a 4x shader/filter which emulates arcade crt display behavior?

I want to write a shader/filer probably in adobe Pixel Bender that will do the best job possible in emulating the fill of an oldskul monochromatic arcade CRT screen. Much like this here: ...
0
votes
0answers
21 views

pick up items in inventory box in adventure game with Flash AS3?

I use Flash with AS3 to design an adventure game. 4 rooms in 4 frames. Each room has its own layer plus its own button layer. The button layer also contains the objects. In the Bedroom is a ...
0
votes
0answers
7 views

Flash builder import swc movieclip

I do make 2 frame movieclip with flash cs6, There are a int value = 0 in first frame, second frame this int value=1 and I published this movieclip swc. Flash builder Import swc file but not read int ...
0
votes
0answers
16 views

How do I make a FlxSprite do something if it is falling or rising?

I want to make my FlxSprite play an animation when it falls or rises. Something like: override public function update():void { if(player.movingUp) player.play("animUp") ...
0
votes
0answers
35 views

Advice on adding RGB values

I am trying to make a flash game (I don't want to say too much). Part of the game is mixing colors. The problem with this is that these are colored wooden tiles and at first I was going to have each ...
0
votes
0answers
8 views

Adding random IsoSpirite to the IsoSence

I am trying to add different type of objects to a scene using as3 Isolib. I have all of my objects ( each object has different class ) in an array and then pass them using for loop to a temp spirit ...
0
votes
0answers
24 views

Start a MovieClip inside IsoSprite

I am using as3Isolib and have some IsoSprite added to the isoSence. Those isoSprite contain a MovieClip. I want that when I click on the isoSprite, the MovieClip will play. I tried something like: ...
0
votes
0answers
19 views

Flixel FollowPath problems

So I have recently been using flixel for a while, but this is the first time I have tried to use the pathfinding functions. While this seems pretty straight forward, I am having a issue with it. I am ...
0
votes
0answers
77 views

Switch fullscreen resolution at game launch with Adobe AIR

I have a game built in AS3/Flixel that is turned into an executable with Adobe AIR. What's the best way to allow multiple fullscreen resolutions? We have already made the game work for multiple ...
0
votes
0answers
238 views

isometric movement

I'm developing an isometric strategy game in flash using the Starling framework. I wanted to know what is the best way to move units about the isometric grid, and to render them the right way. Now ...
0
votes
0answers
386 views

Big game in Flash - how to create levels structure

I'm building a game in Flash similar to the structure of Angry Birds or Cut the Rope (where there are a number of "rooms" and unique levels created within each "room"). The user gets through the game ...
0
votes
0answers
191 views

Tweening MovieClips collisions

I am making a platform game and I have trouble finding the right way to do the enemy collisions... I am a noob in as3 so I 'm gonna try to explain my situation! I have an enemy, movie clip, and I have ...