Documentation for classes includes syntax, usage information, and code samples for methods, properties, and event handlers and listeners for those APIs that belong to a specific class in ActionScript. The classes are listed alphabetically. If you are not sure to which class a certain method or property belongs, you can look it up in the Index.
| Class | Package | Description | |
|---|---|---|---|
| Alarm
| net.flashpunk.tweens.misc | A simple alarm, useful for timed events, etc. | |
| AngleTween
| net.flashpunk.tweens.misc | Tweens from one angle to another. | |
| Anim
| net.flashpunk.graphics | Template used by Spritemap to define animations. | |
| Backdrop
| net.flashpunk.graphics | A background texture that can be repeated horizontally and vertically when drawn. | |
| Canvas
| net.flashpunk.graphics | A multi-purpose drawing canvas, can be sized beyond the normal Flash BitmapData limits. | |
| CircularMotion
| net.flashpunk.tweens.motion | Determines a circular motion. | |
| ColorTween
| net.flashpunk.tweens.misc | Tweens a color's red, green, and blue properties independently. | |
| Console
| net.flashpunk.debug | FlashPunk debug console; can use to log information or pause the game and view/move Entities and step the frame. | |
| CubicMotion
| net.flashpunk.tweens.motion | Determines motion along a cubic curve. | |
| Data
| net.flashpunk.utils | Static helper class used for saving and loading data from stored cookies. | |
| Draw
| net.flashpunk.utils | Static class with access to miscellanious drawing functions. | |
| Ease
| net.flashpunk.utils | Static class with useful easer functions that can be used by Tweens. | |
| Emitter
| net.flashpunk.graphics | Particle emitter used for emitting and rendering particle sprites. | |
| Engine
| net.flashpunk | Main game Sprite class, added to the Flash Stage. | |
| Entity
| net.flashpunk | Main game Entity class updated by World. | |
| Fader
| net.flashpunk.tweens.sound | Global volume fader. | |
| FP
| net.flashpunk | Static catch-all class used to access global properties and functions. | |
| Graphic
| net.flashpunk | Base class for all graphical types that can be drawn by Entity. | |
| Graphiclist
| net.flashpunk.graphics | A Graphic that can contain multiple Graphics of one or various types. | |
| Grid
| net.flashpunk.masks | Uses a hash grid to determine collision, faster than using hundreds of Entities for tiled levels, etc. | |
| Hitbox
| net.flashpunk.masks | Uses parent's hitbox to determine collision. | |
| Image
| net.flashpunk.graphics | Performance-optimized non-animated image. | |
| Input
| net.flashpunk.utils | Static class updated by Engine. | |
| Key
| net.flashpunk.utils | Contains static key constants to be used by Input. | |
| LinearMotion
| net.flashpunk.tweens.motion | Determines motion along a line, from one point to another. | |
| LinearPath
| net.flashpunk.tweens.motion | Determines linear motion along a set of points. | |
| Mask
| net.flashpunk | Base class for Entity collision masks. | |
| Masklist
| net.flashpunk.masks | A Mask that can contain multiple Masks of one or various types. | |
| Motion
| net.flashpunk.tweens.motion | Base class for motion Tweens. | |
| MultiVarTween
| net.flashpunk.tweens.misc | Tweens multiple numeric public properties of an Object simultaneously. | |
| NumTween
| net.flashpunk.tweens.misc | Tweens a numeric value. | |
| Particle
| net.flashpunk.graphics | Used by the Emitter class to track an existing Particle. | |
| ParticleType
| net.flashpunk.graphics | Template used to define a particle type used by the Emitter class. | |
| Pixelmask
| net.flashpunk.masks | A bitmap mask used for pixel-perfect collision. | |
| PreRotation
| net.flashpunk.graphics | Creates a pre-rotated Image strip to increase runtime performance for rotating graphics. | |
| QuadMotion
| net.flashpunk.tweens.motion | Determines motion along a quadratic curve. | |
| QuadPath
| net.flashpunk.tweens.motion | A series of points which will determine a path from the beginning point to the end poing using quadratic curves. | |
| Screen
| net.flashpunk | Container for the main screen buffer. | |
| Sfx
| net.flashpunk | Sound effect object used to play embedded sounds. | |
| SfxFader
| net.flashpunk.tweens.sound | Sound effect fader. | |
| Spritemap
| net.flashpunk.graphics | Performance-optimized animated Image. | |
| Stamp
| net.flashpunk.graphics | A simple non-transformed, non-animated graphic. | |
| Text
| net.flashpunk.graphics | Used for drawing text using embedded fonts. | |
| TiledImage
| net.flashpunk.graphics | Special Image object that can display blocks of tiles. | |
| TiledSpritemap
| net.flashpunk.graphics | Special Spritemap object that can display blocks of animated sprites. | |
| Tilemap
| net.flashpunk.graphics | A canvas to which Tiles can be drawn for fast multiple tile rendering. | |
| Tween
| net.flashpunk | Base class for all Tween objects, can be added to any Core-extended classes. | |
| Tweener
| net.flashpunk | Updateable Tween container. | |
| VarTween
| net.flashpunk.tweens.misc | Tweens a numeric public property of an Object. | |
| World
| net.flashpunk | Updated by Engine, main game container that holds all currently active Entities. |