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.
-4
votes
1answer
91 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.
1
vote
2answers
281 views
Moving player in Box2d without forces
How do I move player with keyboard without applying forces? If I do playerBody.setLinearVelocity(new B2Vec2(0, 2)) it moves the player but when I release the key for movement, the ball is continuously ...
6
votes
2answers
540 views
How could you create climbing movement in a 2D platformer?
Basically what I want to do is have a playable character that is able to "walk" on an organic surface at any angle, including sideways and upside-down. By "organic" I mean I want my levels to have ...
4
votes
1answer
157 views
Orbiting multiple objects evenly around a changing radius
I have multiple objects (circles) and I want to place them in a circle, with even distance between each one, and have them orbit the center of the screen.
If I remove one object, I want the orbit ...
1
vote
1answer
198 views
Use FlxAnim to Animate a FlxSprite in Flixel on FlashBuilder
I am trying to animate a FlxSprite, whose image I loaded from an embedded sprite sheet. I instantiate the sprite like this:
// embedding a png file given a relative path
...
0
votes
1answer
92 views
Use an external sprite or image file in flixel game in flashbuilder
Is there any way to use an external image/sprite file for the graphic of a FlxSprite instance?
Say I declare my player FlxSprite as follows:
player = new FlxSprite(FlxG.width/2 - 5);
...
3
votes
1answer
233 views
Change the tilemap shown on stage in Flixel
I am building a simple platformer using Flixel, beginning with the source code from Flixel creator's EZPlatformer . I would like to adjust the level's tilemap when the player sprite enters/overlaps ...
1
vote
1answer
42 views
Flixel level ceases to show on screen
I was following along with the EZPlatformer flixel tutorial(with some of my own modifications), and suddenly find that my level is not appearing on screen. I am unable to detect any changes I could ...
0
votes
0answers
319 views
Socket.io v.9 with Actionscript
I'm attempting to develop an online multiplayer game using Node.js for the server and Flash to display the client.
I've been reading up a bit and have found quite a few recommendations for the ...
3
votes
1answer
521 views
Best practice for organizing/storing character/monster data in an RPG?
Synopsis: Attempting to build a cross-platform RPG app in Adobe Flash Builder and am trying to figure out the best class hierarchy and the best way to store the static data used to build each of the ...
1
vote
4answers
852 views
Tile-based maps in AS3
I want to make a tile-based platformer in AS3.
I want my game to read an external maps file (in xml or json or somethimg similar) to draw a tile-based map.
I've seen loads of tutorials for this in ...
2
votes
2answers
190 views
Zelda like multiplayer combat
I have in mind coding a multiplayer game with a similar combat to zelda's. Since i will use flash, i'm limited to use TCP. My question is, is this goal possible? It's not as fast-paced as some ...
0
votes
0answers
83 views
box2D simulation doesn't work [closed]
has been a while since last time i used box2D, and i needed to make some stuff, and i saw that my simulation don't worked (compiles, but do anything). i haven't been able to even have working the ...
1
vote
0answers
43 views
Stage3D engine with FlashPlayer 10 compatible (no wmode setting) fallback to software Rendering
https://github.com/pshtif/Genome2D/downloads ist the only Stage3D engine with FlashPlayer 10 compatible (no wmode setting) fallback to software Rendering i am aware of.
Unfortunatly they drop this ...
3
votes
9answers
849 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 ...
1
vote
1answer
218 views
Create and use a Button class on AS3.0
I am currently working on a game and it is all going well.
On the shop screen there are several buttons that affect the player's stats for when the player restarts the game.
The button's names (with ...
2
votes
1answer
99 views
Can't click on a button with startDrag() active on stage
I need to know how can I enable mouse click on a button when I have a MouseEvent listener for the stage.
I have an MClip associated with the mouse cursor:
Mouse.hide();
scope.startDrag(true);
And ...
0
votes
1answer
154 views
Stage3D: Camera pans the whole screen
I am trying to create a 2D Stage3D game where you can move the camera around the level in an RTS style. I thought about using Orthographic Matrix3D functions for this but when I try to scroll the ...
0
votes
1answer
157 views
How do I check on non-transparent pixels in a bitmapdata?
I'm still working on my window cleaning game from one of my previous questions
I marked a contribution as my answer, but after all this time I can't get it to work and I have to many questions about ...
-1
votes
1answer
206 views
Help needed throwing a ball in AS3
I'm working on a flash game, coding on the time line.
What I'm trying to accomplish is the following:
With the mouse you swing and throw/release a ball which bounces against the walls and eventualy ...
1
vote
0answers
110 views
Flick Kick like game with box2d and flash as3
What would be the best approach for creating a game like flick kick with box2d and AS3?.
To make my self more clear, what i would like to do is to use the physics of box2d in the z-axis, i know that ...
2
votes
1answer
257 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 ...
2
votes
2answers
99 views
How to add a ramp in a flash game?
I am a huge novice and this isn't really a programming question, but here I go, say I want to make a game that involves rolling up a ramp like this one:
to move upwards, similar to how it would work ...
4
votes
4answers
621 views
Is ActionScript 3 used by Serious Indie Developers? [closed]
This question is for dedicated independent game developers:
My dream is to be a game developer. I am a senior in high school who has taken Computer Science for all four years. I have used Java the ...
0
votes
0answers
291 views
RTS-style fog of war woes
So I'm trying to make an RTS-style line of sight fog of war style engine for my grid based game. Currently I am getting a set of vertices by raycasting in 360 degree. Then I use that list of vertices ...
0
votes
1answer
64 views
Read an object from compressed file generated from ActionScript 3 [closed]
I have made a simple game Map Editor and I want to save a array that contain map tile info to a file, as below:
var arr:Array = [.....2d tile info in it...];
var ba:ByteArray = new ByteArray();
...
-2
votes
1answer
122 views
Whats the potential for actionscript flash? [closed]
Is flash programming a tool for beginners?
if i mastered flash programming,can i do full option, 2d games or 3d games ,
what are the limitation for flash
if not can you advice me about other tools
3
votes
1answer
258 views
Panning a 3d viewport in 2d direction with rotated camera
I am using below code to pan the viewport (action script 3 code using flare3d framework)
_mainCamera.x-= Input3D.mouseXSpeed;
_mainCamera.z+= Input3D.mouseYSpeed;
Where as Input3D.mouse[X|Y]Speed ...
-4
votes
2answers
104 views
Read only array, deep copy or retrieve copies one by one? (Performance and Memory) [closed]
The question is asked regarding an environment with garbage collection.(Java, AS3)
I am writing a level editor using MVC and the view needs to have read only access to the data in the model for ...
0
votes
1answer
45 views
Affect movieclip scale from a .as doc to another [closed]
I've been working on a game following a tutorial on the internet, the game is an avoider where you have the Avatar, that has to avoid the objects that fall.
The way it is made is: I have a ...
1
vote
0answers
77 views
Any advice for dynamic music control?
I would like to be able to dynamically progress the score, and affect the volume levels of separate channels within the music. How could I do this?
From my experience with mod music (olden days Amiga ...
2
votes
1answer
223 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 ...
2
votes
0answers
224 views
Nape physics - Moving a body
Hey I'm currently getting started with physics engines and I set up a body (box shaped) which represents my character.
Question: Which methods can I use to move a Nape.Body aka my char?
I tried so ...
1
vote
1answer
527 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
1answer
353 views
How to Generate Spritesheet from a 'problematic' animated Symbol in Flash Pro CS6?
In the new Flash Pro CS6 there is an option to generate spriteheet from a symbol. I used these tutorials:
http://www.adobe.com/devnet/flash/articles/using-sprite-sheet-generator.html
...
3
votes
1answer
111 views
Extract derived 3D scaling from a 3D Sprite to set to a 2D billboard
I am trying to get the derived position and scaling of a 3D Sprite and set them to a 2D Sprite.
I have managed to do the first part like this:
var p:Point = sprite3d.local3DToGlobal(new ...
1
vote
1answer
993 views
Workflow with Flash Pro CS6 and FlashDevelop: Using fla and swc to store assets
I am using this tutorial:
http://www.flashdevelop.org/wikidocs/index.php?title=AS3:FlexAndFlashCS3Workflow
In the past older versions of Flash Pro I was able to complete these steps:
right-click ...
0
votes
2answers
190 views
Large Sprite Performance
I've got a large Sprite generated using a set of vertices(x,y coordinates) and a bitmap pattern (using moveTo, lineTo, beginBitmapFill, endFill ...etc). It's about 15000 pixels wide and between 1500 - ...
0
votes
0answers
193 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:
...
1
vote
1answer
192 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 ...
2
votes
1answer
1k views
What are the advantages and challenges of using HaXe over ActionScript 3?
I read this:
http://webr3.org/blog/haxe/bitmapdata-vectors-bytearrays-and-optimization/
And this:
...
0
votes
0answers
63 views
Faking Display tree (Sprite) parent child relationships with rasters (BitmapData) in ActionScript 3
I am working with Rasters (bitmapData) and blliting (copypixels) in a 2d-game in actionscript 3. I like how you can move a sprite and it moves all it's children, and you can simultaneously move the ...
0
votes
2answers
104 views
Is there is IO text files in actionscript2 or 3?
i tried actionscript recently,am little scared
i want to make a game that input a word from about 3000 randomly,
do actionscript support that,or
should i try another language?
1
vote
1answer
94 views
A few meta questions about making flash games [closed]
A few questions for a beginner game maker without an artist.
Is there a site where flash game creators can download (and use) free art? I don't need character sprites but environments like trees, ...
1
vote
1answer
434 views
Using Event Driven Programming in games, when is it beneficial?
I am doing a refresher on ActionScript 3.
Other than using rudimentary tools like, Event.ENTER_FRAME and using events to receive input from the user's mouse and keyboard, I find that I rarely use ...
1
vote
1answer
125 views
How to center a game in Flash Projector (like AdamAtomic's CAPSULE)
Adam Atomic's game Capsule is a flash projector. If you press escape, the game goes out of fullscreen and just shows windowed. How do I get my (FLIXEL/AS3) game to show up centered like that?
-1
votes
1answer
177 views
Any multiplayer webgame engine based on Flex
My team is developing a multiplayer webgame (like a virtual world) in a short time(several months using after-school time), and I wonder if there are any webgame engine based on Flex.
When I googled ...
2
votes
2answers
213 views
Tiny Wings - Placing items
I'm currently developing a Flash game like 'Tiny Wings'. I have a lot of work done, but i'm currently working on placing the items ( coins and obstacles ) on the terrain.
My player it is moving on a ...
0
votes
2answers
165 views
AS3 Stage3D Mouse click problem?
I have a problem with Mouse interaction and Stage3D.
The only way I found to register to listen to mouse clicks and interact with Stage3D, is to add a mouse eventListener directly to the .stage.
...
0
votes
1answer
312 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 ...
