Questions tagged [actionscript-3]
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.
322 questions
0
votes
0
answers
42
views
Coding a health and stamina bar above player in Adobe Animate
I am using Adobe Animate for my school assignment.
I have a three-segment health and stamina bar that is above the player (it isn't set to be attached to the player yet).
I have a single enemy ...
2
votes
1
answer
238
views
Feasible to do all game logic on PHP server?
For the turn-based browser Flash RPG I'm working on, I'm keeping all player stats in a MySQL database, with PHP as the go-between, for the sake of persistence and to prevent cheating by memory editing....
0
votes
1
answer
146
views
Better way than url-encoded query stings to pass data from PHP to Flash?
For the turn-based browser Flash RPG I'm working on, I'm using url-encoded query stings to pass data from PHP to Flash. Basically, Flash posts a request to PHP, then PHP pulls some data from a MySQL ...
0
votes
2
answers
130
views
Is there any way to change the layering of objects in Actionscript 3 without altering the run order?
I'm making a simple platformer in Adobe Animate, and I need the player to be layered in front of the stage because of a gimmick in the game. Unfortunately, whenever I change the layering order, it ...
1
vote
1
answer
73
views
How does Actionscript choose which order to run objects' code in?
I can only assume that Flash runs code in the order that objects were created - so newer objects are run later. Is this true?
Is there any way, other than deleting and recreating objects, that I can ...
0
votes
1
answer
820
views
Should a bowling game use a 2d or a 3d physics engine? [closed]
I'm creating a bowling game in flash+as3. I'm new to physics engines, so, to start I've begun to learn Box2D since I've heard it's one of the most popular physics game engines.
Currently, I'm not sure ...
0
votes
1
answer
218
views
Character jumping but not returning to ground platform game AS3
I am making a platform game where the main character moves right and left and jumps however my character jumps and does not return to the ground but stays on top of the stage.My characters movie-clip ...
0
votes
1
answer
705
views
Rotation of objects from different axes in Flash AS3
In my game, I have made 4 lines with different colors to form a square but the colored lines are different objects. I want to rotate the lines in a way that the lines will still form a square. Eg:
But ...
0
votes
3
answers
258
views
Camera and enemy behaviour in AS3 platformer
beginner in AS3 here. I am working on a platformer game based on the code of a provided example exercise. I have the following problem:
I have an enemy who shoots bullets. The enemy is the parent, and ...
-1
votes
1
answer
60
views
How do I load an array of display objects with shared objects using action script 3.0? [duplicate]
I'm making a city builder game, where players can build their town using different constructions. A player has the possibility to save his city. In the main menu, a player can choose to see different ...
1
vote
1
answer
76
views
Reversing translational dependency of Sprite on Mouse instantaneously at runtime without causing the sprite to jump
Help me think through a logical way to implement the desired effect.
Goal: (I'm using Adobe Animate CC 2017 targeting AIR for Desktop)
Move a sprite using a controller (mouse on a PC for instance) ...
1
vote
2
answers
212
views
How can we test a section of a game?
I'm making a clone of an old atari 2600 game, so it's simple, only slightly more complex than the original.
I'm realizing that even the simplest of games have different "parts", what is a good ...
1
vote
0
answers
154
views
Drawing simulator - Tracking mouse movement
I was wondering what would be the logic behind coding a drawing simulator like the one on this website: https://www.mdbg.net/chindict/chindict.php?page=chardict&cdcanoce=0&cdqchi=
The ...
0
votes
1
answer
105
views
lineStyle removed after colorTransform
I have these shapes with a lineStyle to outline the shapes, however, when I tried to do colorTransform, it will completely remove the outline of the shapes. Is there a way to make lineStyle constant? ...
3
votes
1
answer
656
views
AS3 move object to a point
I'm trying to make a room full of monster each side and the player stay in the middle. I have a problem, I don't know how I move each monster to the player and rotate each of them to face the player, ...