Adobe Flash is a cross-platform multimedia runtime used to embed animations, video, and interactive applications into web pages.

learn more… | top users | synonyms

3
votes
1answer
170 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 ...
3
votes
1answer
792 views

Pixel-perfect collision against rotated sprite in Flixel

I've got a roughly 500x50 graphic of a lockpick that I need to be able to rotate very finely while doing pixel-perfect collision detection against the lock object. There's no way to do pixel perfect ...
3
votes
1answer
486 views

How to properly render a Frame Buffer to the BackBuffer in Stage3D / AGAL

After doing a render pass with RenderToTarget (RTT), how do you properly render that texture buffer to the screen while maintaining original scale / proportions so it doesn't stretch or lose quality? ...
3
votes
0answers
252 views

Choosing a (browser) game environment [closed]

I apologise in advance if this post is something you've heard a million times already or seems like a trolling attempt. I just want some advice and I'm coming up short with my own Google searches. ...
3
votes
0answers
329 views

How is Ping-Ponging done in Stage3D & AGAL (Flash Player 11)

Does anyone know how to create a Texture feedback effect in Stage3D / AGAL? I've just found the term "ping-ponging" in some GPU wikipage, hopefully I'm using it in the right place! I'll share with ...
3
votes
3answers
2k views

Multiplayer API with Unity 3.5 and AS3

On the faq for the current preview release, http://unity3d.com/unity/preview/faq it says that while networking is not currently supported for flash compilation, we can write our own in AS3 using the ...
2
votes
7answers
545 views

Is there a fundamental technical reason for Flash being a more popular game platform than JavaScript?

Both Javascript and AS3 are implementations of ECMAScript. Is there a fundamental technical reason for Flash being so much more prevalent as a game-publishing platform, when compared to Javascript?
2
votes
3answers
475 views

How much info can I store in a cookie?

Im developing a flash game and I'd like to know how much info can I store in a browser cookie. The game is simple, but it needs to store several variables in order to save all the details of your ...
2
votes
5answers
592 views

“Play Now” via website vs. download & install

I've spent some time looking over the various threads here on GDSE and also on the regular Stackoverflow site, and while I saw a lot of posts and threads regarding various engines that could be used ...
2
votes
5answers
503 views

How to produce assets effectively on large Flash game projects?

I have been working on Flash games professionally for two years now and somehow, having our artists producing assets the right way is one of our biggest challenge. More precisely, it is very hard to ...
2
votes
1answer
322 views

Why do games for Facebook have to be about 622 pixels high?

I am wondering, why do games for Facebook have to be about 622 pixels high?
2
votes
4answers
371 views

Are there any command line swf packing tools?

I want to packing image files(png, jpg) into swf, then game can load files easily. But I want to do this by a Makefile, not FLASH CS. Do you know any command line swf tool set can do that? And can I ...
2
votes
1answer
857 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
3answers
2k views

Can one develop an application with Bluetooth support on iOS using Flash Builder 4.5?

I have heard about Flash Builder 4.5.1. As I have understood, one can make an application using Flex with Flash Builder 4.5.1 and also export the release build for iOS, Android and Blackberry. Is it ...
2
votes
4answers
1k views

Should I used Box2D for a Flash platformer or use something for gaming like Fixel or Flashpunk?

I'm trying to make a platformer with Flash/AS3 and have been looking for something to help with some of the collision etc. I've look at a few engines and Box2D/WCK seems the most sophisticated. Do I ...
2
votes
3answers
2k views

Best practices XML data files and xml compression for Flash Games?

I am working on a game, and the xml files are getting to be a few megs, and the final game might have a hundred megs of uncompressed xml. If I zip the xml files up I can get something that is about 3 ...
2
votes
3answers
203 views

Swap Child and Child's Child

Is it possible to use swapChildren() with a child and a child's child? Every time I try, I get this error: ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. Why ...
2
votes
1answer
413 views

Can using different vertex-buffers for each vertex-attributes be good in certain scenarios?

Is there scenarios where this is actually good practice? Or does it slow down performance? Example: //Vertex format is: //X, Y, U, V var myXYs:Vector.<Number> = new <Number>[ -1, -1, ...
2
votes
2answers
1k views

Make object follow mouse angle?

what I'm trying to do is make the paddle follow the mouse position(red dot). I know how to rotate the paddle relatively to the center of the screen, but I'm not sure how to determinate the ...
2
votes
1answer
332 views

Sprite vs 3d Model in Flash Facebook Game

I'm looking at creating a real time strategy/tower defense mashup game for facebook (and other platforms like google+) along the same feel, but of course different mechanics, as backyard monsters. ...
2
votes
4answers
3k views

What 2D engine can I use to port my flash game to iOS and Android? [closed]

I would like to port my 2D flash game to Android and iOS. Is there any cross platform engine you could recommend? Corona is the only promising one I have found so far.
2
votes
3answers
970 views

Flash AS3 Tower Defense Problem

I am working on a tower defense game in Flash. Right now most towers find the the nearest enemy in range (enemies are in an array), get the enemies coordinates, and fire a bullet. When it hits the ...
2
votes
4answers
829 views

How can I add a Silverlight menu/hud/interface to an XNA game?

There are some programs that allow you to design some menus/hud/interfaces in flash and then insert them into your game. But is there something similar for making all of this stuff in Silverlight and ...
2
votes
1answer
1k views

2d games unity vs Flash [closed]

do people find unity better than flash for 2d games while unity is 3d engine , or Flash still better because it's made for 2d games and flash can get the job done faster ,and now flash is better for ...
2
votes
2answers
5k views

Exporting the frames in a Flash CS5.5 animation and possibly creating the spritesheet

Some time ago, I asked a question here to know what would be the best way to create animations when making an Android game and I got great answers. I did what people told me there by exporting each ...
2
votes
3answers
354 views

Optimizing graphics for an iOS flash game

A friend of mine and myself are working on a flash developed iOS (and later Android) puzzle board game. He's a developer and I'm a designer/developer so (no surprise) we have different points of view. ...
2
votes
2answers
136 views

A decent design for handling large creation/deletion of random objects?

So I was attempting a 'Hit the X' game (e.g Toss the turtle, spank the monkey) in which an uncontrollable object travels across the screen in hopes of hitting certain objects and avoiding others. My ...
2
votes
2answers
1k views

Rotate spritesheet graphics in flixel

I am using the flash flixel engine, and have a sprite sheet of a spaceship from top-down view. The sprite sheet includes a bunch of different states and animation frames. Problem is that I have drawn ...
2
votes
1answer
481 views

Persisting high score table in flash game without a network. (Featuring: HttpListenerException)

this question is very programming-centric, but it's for a game so I figured I might as well post it here. I'm doing polishing work on a GGJ '11 game because it will be shown at an indie arcade ...
2
votes
4answers
910 views

Good way to implement really basic physics in Flash?

I'm making a somewhat simple side-scroller in Flash. The way I'm currently doing the really basic physics(you don't fall through floors/can't walk through walls) is that I have a big symbol of all the ...
2
votes
1answer
295 views

Handle Multiple Scene

For my game, now I adopt the strategy to create multiple scene. For this I have to ask two question please provide your view for my and other members for improvement. I have created single ...
2
votes
2answers
173 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 ...
2
votes
2answers
2k views

Sprite-sheets vs Sprites/MovieClips in Flash

We create 3D models in Maya2011 and create PNGs and import the bunch into Adobe Flash CS5 to create a sprite. I read somewhere that sprite-sheets can save space over making the sprite in Flash. How ...
2
votes
1answer
938 views

How does one disable the right-click context menu in Flash?

I happened to play around with habbo.com social game portal. It clearly uses Adobe Flash as platform (if you look into the source code of the HTML page). But when you do right mouse click you don't ...
2
votes
2answers
758 views

How to calculate vector that is perpendicular to the direction of moving in Flash?

In flash i have a class that extends movieclip and i am moving it forward, up and down, and rotating it. How can i calculate the vector that is perpendicular to this movieclip?
2
votes
1answer
2k views

Java or Flash for MMO Game?

I hope this question hasn't been asked before. I'm thinking of creating an MMO game, perhaps for Facebook. I've investigated the options of using Java or Flash/Flex. But I'm still not sure which to ...
2
votes
1answer
348 views

How to organize timeline in a Flash project?

I am starting a new Flash game and I was wondering if there is a better way to organize the timeline of the project. In my previous games I define a keyframe for each possible status of the game ...
2
votes
3answers
459 views

Managing flash animations for a game

Ok, I've been writing C# for a while, but I'm new to ActionScript, so this is a question about best practices. We're developing a simple match game, where the user selects tiles and tries to match ...
2
votes
1answer
819 views

How can I find out what URL my game is executing from in Flash?

I want to upload my game to Kongregate and other sites, but on Kongregate I want to invoke one function and other sites I want run another function. How to check in AS3 where (I want to get host like: ...
2
votes
3answers
177 views

What determines which key combinations register in a Flash game?

Many times when I'm working on Flash games I'll find that a particular combination of keys held at the same time doesn't register, e.g. LEFT, DOWN and SPACEBAR. I know from my days playing Doom this ...
2
votes
4answers
1k views

Flash framerate reliability

I am working in Flash and a few things have been brought to my attention. Below is some code I have some questions on: addEventListener(Event.ENTER_FRAME, function(e:Event):void { if (KEY_RIGHT) ...
2
votes
1answer
604 views

Does swf provide better compress rate than zlib for png image?

Somebody told me that when a png image is stored in swf, it's separated to several layer, hence the alpha channel can be compressed better. Is it true? Or, once png image is imported into a swf, it's ...
2
votes
2answers
683 views

How to draw a charts by flash cs5

Hey all , I want to make something more interesting in my game some thing like a charts Analysis for a flash game. When THE PLAYER FINISH THE GAME . The score appears in charts . I want to integrate ...
2
votes
2answers
146 views

Splitting game into multiple standalone parts

I'm digging into Starling's CitrusEngine game engine. I try to understand the idea of structuring the game. If you take a look at chrome.angrybirds.com or puddingmonsters.com you see that games load ...
2
votes
1answer
158 views

Is there a better alternative to Timers to increment speed?

I'm making a chaser game in flash, where you would press an arrow key and the player would move in that direction then stop on another point on a grid, as the enemy does the same and chases the ...
2
votes
1answer
267 views

How do I get URL parameters from a Flash game (developed with Unity3D)?

I made a simple Flash game in C# using Unity3D. It interacts well with a web page: There is a textbox for the player to type their name and that name is used in-game. Now I want to pass the player's ...
2
votes
1answer
143 views

Deep copying or cloning in actionscript 3

I would like to make a mirror reflection of an entity in Flashpunk. So I would like to copy a spritemap from one Entity to another (reflectionEntity). If i use something like this ...
2
votes
1answer
204 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 ...
2
votes
1answer
155 views

Is there a way to export all the images of my tweening effect in Flash?

i'm using Flash to create the animation of my character in 2D (i'm just beginning). Is it possible to make a tween effect of a character, and then automatically export all the images/frames? So far, ...
2
votes
2answers
264 views

How should I do my collision response?

I'm making a small lockpicking simulator. Obviously I'll need the pick to not pass through the lock, and I'll need the pins to move when you tap or push them with the pick. Here's what I have so far, ...