0
votes
0answers
42 views

How to find correct offset to adjust sprite to the position of box2D body after rotation

I am trying to implement phsyics with the as3 box2d port. I currently have a b2body for each of some certain sprites in my game and I am able to update the sprite's positions correctly from the ...
0
votes
0answers
66 views

LibGDX vs Flash/Starling

I currently use Flash/Starling to develop cross platorm games. I love it because it has awesome features like tweens, texture atlases, DragonBones, touch gestures, ad integration, in app purchase ...
0
votes
1answer
21 views

How can I manage an animated UI from ActionScript?

I'm trying to code a game of Poker in AS3, using Flash Professional CS5 (although I try to keep as little code as possible in the .fla). When a player bets, for example, I need to be able to show an ...
0
votes
0answers
42 views

how to effectiently manage flash (mobile) game structure?

my team and I are building an android game using flash cs6.. 16 levels are done so far but we are still optimizing the game (specially the structure). our game is currently structured like shown in ...
1
vote
1answer
64 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 ...
0
votes
2answers
163 views

Make a lives display in HUD, Flash AS3 (not text!)

I've been searching the internet all day and I can't find the answer I'm looking for. In my HUD I want to use orange dots to represent lives. The user starts off with 5 lives and every time they die, ...
0
votes
1answer
70 views

CDK (as3) false positives when using it with array elements

I'm having problems when using the CDK (Collision Detection Kit) with elements in an array. It keeps getting me false positives of collision. I'm making a game in which the player controls a “ship”, ...
0
votes
1answer
157 views

How does MMO flash games works? [closed]

I want to know how does MMO flash games work, for example: Dofus and Club Penguin. I want to know if by ony using Adobe Flash and ActionScript you can do MMO games, or if there is other way to work ...
1
vote
1answer
186 views

How can I get my Flash game to scale to all mobile device screen sizes?

I want my application to automatically scale its size depending on the screen size. I want my application to fit any screen size automatically. I am making my application for mobile devices, how can I ...
0
votes
1answer
129 views

OnClick events - using Scaleform UI with Cryengine 3.5.4

I've created a UI in Flash, set up an xml file for it and designed a flowgraph to ensure it displays when I launch. However, clicking on the buttons doesn't appear to do anything, despite me writing ...
0
votes
1answer
84 views

Using external music mp3 in flash game [closed]

sorry for my english. Im relative new to flash game development, Im creating a game and I need some big size mp3 files. If I add them into flash, .swf file will be too big. I guess I need to host mp3 ...
0
votes
2answers
152 views

declaring variables in a render/game loop: good idea or bad?

I was just wondering how most of you like to declare your variables: for a variable you know will be used and changed frequently (i.e. every frame), do you declare those outside of the loop and simply ...
2
votes
0answers
109 views

Away3D & Directional Light w/ Rotating Meshes

This is likely a stupid error but I can't seem to find what I've done wrong. I've got a simple scene with 10 cylinders rotating at a default speed. If I grab one of these cylinders I can rotate it ...
0
votes
1answer
81 views

Dynamically editing a movieclip at runtime

I am trying to make a flash game(actionScript-3 if it matters) to test what I learned so far. And, in the game, I want to make the character(a robot?) customizable. The first solution I found was to ...
0
votes
1answer
383 views

AS3 + Flash IDE - Stage Boundaries and Collision in Sidescroller not working properly

I am trying to do a pretty simple sidescroller in Action Script 3 with Flash CS6 and I am currently stuck at the stage boundaries and the level scrolling. My hero should move freely in the middle of ...
0
votes
1answer
112 views

How to stretch Movie Clip according to user's touch coordinates?

I have code like this: touchX = e.stageX; touchY = e.stageY; I also have a player movieclip that I'm trying to make shoot lasers. So I got the MovieClip to appear and rotate according to the ...
-1
votes
1answer
256 views

Flixel or Pygame for a small game? [closed]

I have some experience in Bash and Python, Lua. I've always wanted to try and make point & click quest games. Most quest games I loved aesthetically and gameplay wise were made with Flash. So ...
0
votes
1answer
214 views

Develop a 2d isometric mobile game on Flash [closed]

I'm building a game on Flash that will run on web/Android/iOS. The game is 2d isometric.I heard that developing mobile apps on Flash sucks and the graphics looks just awful.It'd be quite uncomfortable ...
0
votes
2answers
80 views

Hide movieclip parts that are out of bounds

I'm making a game where one takes a picture of their face to use on a character. I have them zoom in on the picture, but the bitmapdata extends out of its movieclip. How do I assign bounds to my ...
1
vote
1answer
488 views

Camera in Flash

Im having a hard time trying to work out how to implement a smooth camera in flash. In something like openGL i would use a transformation matrix to move the camera around the scene. However with ...
0
votes
2answers
186 views

Changing colour while keeping gradient

I'm making a Flash game with ActionScript 3 and I have a square with a gradient applied to it. I am trying to programmatically changing the colour of the square depending on time, for example, some ...
0
votes
1answer
92 views

Make colour change depending on time

I'm making a Flash game (ActionScript 3) and for dynamics I'd like to make the background change colour depending on the clients' time of day. I have a rough idea on how I want to do this, At ...
0
votes
1answer
161 views

Revolve FlxSprites Around a Central FlxSprite in Flash Game made with Flixel

I have been working on a Flash game made in Flash Builder using the Flixel library. I have been trying to dynamically create a group of FlxSprites , and revolve them around a player controlled class ...
1
vote
1answer
84 views

Flixel: Is it possible to use a spritesheet for FlxButtonPlus?

I'm trying to change the graphic on a FlxButtonPlus. I want to get the graphic from a spritesheet. However, if I try the ' regular' way (make an animation and play it), it refuses to use just the part ...
1
vote
1answer
814 views

How to check the device type using Adobe AIR for iOS

How do I check what kind of device the user is running my Adobe AIR app on? Example: if(device == ipad3) { stagestuff.width = 300; }
2
votes
3answers
178 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 ...
0
votes
2answers
266 views

Using timer to reverse enemy movement in Flash game made with Flixel

I am creating a 2d flash game using Flixel 2.5 in Flash Builder. I am trying to reverse enemy movement on an interval so that they will move back and forth over a set space. I felt that a timer would ...
0
votes
1answer
403 views

Use of FlxG.camera.follow to follow a character vertically

I am developing a prototype for a game in Flixel in which a character floats upward continually to traverse the level. I would like to have a "tall" layout for levels and set the FlxG.camera to follow ...
0
votes
1answer
225 views

Hello World with FlashDevelop, Flixel, AS3: uneffective SWF macro

I just started with FlashDevelop and Flixel, and I already have a question. I created this basic hello world: package { import org.flixel.*; [SWF(width = "640", height = "480", ...
0
votes
1answer
121 views

Increasing height increases width

I have a game, where the user presses a button to spend money and increase the height of a Movie Clip. I use the following: height ++. The problem: When I test this out, it seems the width ...
3
votes
2answers
859 views

How to determine mouse position outside stage, and center the cursor?

I was wondering if it is possible to have my flash game determine the position of the mouse, even when the cursor is not inside the stage. My movie clip should move horizontally between x = 100 and ...
1
vote
2answers
205 views

ScaleX and Y for stretching MovieClip

I'm developing a game, and the game has a shop. In that shop there is an option for a house expansion. This is a movieclip that I want the user to be able to spend their coins to increase their ...
1
vote
2answers
529 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 ...
3
votes
1answer
535 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
4answers
2k 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
263 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 ...
1
vote
1answer
380 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
167 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
216 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
318 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
331 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
142 views

Flick Kick like game with box2d and flash as3 [closed]

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
716 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
151 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 ...
0
votes
1answer
49 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 ...
0
votes
1answer
516 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
159 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 ...
0
votes
2answers
262 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 - ...
1
vote
1answer
113 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
446 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?