1 vote

Improving bouncing logic - Atari breakout clone

The system in both the original arkanoid and pong work the same way. You need to know 2 things, the distance of the bounce position on the paddle from one if the edges of it (here marked as d) and the ...
Bálint's user avatar
  • 14.9k
1 vote

Air AS3 Desktop - Detecting wrong screen resolution and coordinate offset

In order to listen to stage resize, orintation change, and to position items correctly on your screen, the only option is: Stage.align = StageAlign.TOP_LEFT; Stage.scaleMode = StageScaleMode.NO_SCALE; ...
FilippoG's user avatar
  • 111
1 vote

flashpunk animation problems

I assume that with texture packer you mean TexturePacker, right? The default settings in TexturePacker assume that you use a data file wich describes the positions of the sprites in the sheet. Why? ...
Andreas Löw's user avatar
1 vote

AS3/Flash Develop - Radial Gravity (character on planet simulation)

I'll use vector notation to be concise. You can translate this into individual vectorX and vectorY numbers if you're not using a vector math library, just be careful to calculate the length below ...
DMGregory's user avatar
  • 134k

Only top scored, non community-wiki answers of a minimum length are eligible