Tagged Questions
0
votes
1answer
55 views
How to stretch Movie Clip according to user's touch coordinates?
I have code like this:
touchX = stage.stageX;
touchY = stage.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 ...
-1
votes
1answer
98 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 ...
-1
votes
1answer
59 views
What is faster, TimerEvent.TIMER or if(timer.running)?
In my game, I'm trying to prevent lag. I have timers for pushback. I'm using if(pushtimer.running), but is it faster to do pushtimer.addEventListener(TimerEvent.TIMER)?
Basically, should I add a ...
-4
votes
2answers
52 views
addChild with same MovieClip after RemoveChild
I have quite a bit of code like this:
var mov = new movclass;
if(somethinghappens){
addChild(mov);
}
inside the movclass class:
//im not going to put code right now, so just imagine a thirty ...
0
votes
1answer
97 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
50 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 ...
0
votes
1answer
67 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
0answers
35 views
Are Flash AMF calls blocking on AS3 client side?
Are Flash AMF calls blocking on AS3 client side i.e. Do they block the client till the response is returned from the server side? What is the underlying transport protocol used for AMF, If it is HTTP ...
0
votes
2answers
61 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
0answers
47 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
58 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
47 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 ...
0
votes
1answer
87 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
117 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
118 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 ...