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.
-1
votes
0answers
16 views
AS3: Handle collision with ground. Velocity's and hitTestObject()
I'm working on a sidescroller game but i'm having issues with my screen region and collisions.
I will just stick to 1 problem because once this is fixed i can probably also fix my screen so it scrolls ...
-1
votes
2answers
37 views
as3 game levels : frame to frame
which is easy and comfortable when programming a flash game levels. I ask this question for that because if I use frame to frame I will need to write code for each frame code area so the main class ...
0
votes
1answer
47 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
75 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
57 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 ...
3
votes
2answers
43 views
How can I disable the forward/back buttons in AS3?
How can I disable the Flash player forward and back button in AS3? These buttons make it possible to cheat in my game by moving from level to level.
-2
votes
1answer
52 views
add new variable?
Is it possible to add a variable twice?
For example:
var variable:Movieclip = new MovieClip;
addChild(variable)
addChild(variable)
How would I make it spawn the variable twice?
this code only ...
-4
votes
2answers
45 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
73 views
Help with AABB collision detection [closed]
making my first attempts at implementing AABB collision. I got it to work...kinda. I've run into an odd issue I cant seem to fix.
Basically when the objects overlap, I push one out. The pushing part ...
-8
votes
0answers
63 views
How to develop a random character creation system in AS3? [closed]
I'm developing a flash game.I need to create a random character creation system that would randomly match different parts of a body and create a character out of them.Is there some way to do it in ...
-2
votes
0answers
33 views
Bullet Array Lag [closed]
In my game, the user holds down their finger to create an array of bullets. One bullet creates every 8 frames, and my framerate is 24. How do I prevent lag with such an array? To add to the ...
0
votes
1answer
76 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
49 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
56 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
1answer
28 views
Type Error for hit testing two objects created with actionscript
I am making a zombie shooter game where I get an error when I try to hit test two objects created with actionscript. Could someone post a possible fix please.
Here is the Error Code;
TypeError: ...