About


FlashPunk is a free ActionScript 3 library designed for developing 2D Flash games. It provides you with a fast, clean framework to prototype and develop your games in. This means that most of the dirty work (timestep, animation, input, and collision to name a few) is already coded for you and ready to go, giving you more time and energy to concentrate on the design and testing of your game.

NOTE: FlashPunk is targeted towards games with 2D bitmap graphics, as opposed to vector graphics. This means that instead of using Flash vectors as sprites, you'll be working with embedded PNG, JPEG, or GIF sprites.

Features


  • Framerate-independent and fixed-framerate timestep support.
  • Fast & manageable rectangle, pixel, and grid collision system.
  • Helper classes for animations, tilemaps, text, backdrops, and more.
  • Sound effect support with volume, panning, and fading/crossfading.
  • Powerful motion tweening for linear, curved, and path-based movement.
  • Z-sorted render lists for easy depth management.
  • Simple keyboard and mouse input state checking.
  • Quick & efficent particle effects and emitters.

Working with Flex


This framework is designed for use with the free Flex framework, used for building Flash applications; by combining this with a code editor such as FlashDevelop or Flash Builder, you can import the FlashPunk library and develop games without the need of the official Flash IDE.

Latest Media

We're sorry, but no images, videos or audio files have been added to this gallery.

If you would like to share media with the community, sign up and you can.

Blog RSS Feed Report abuse Latest News: Control Schemes

About Magnaut with 0 comments by TheLastBanana on May 23rd, 2013

Okay, let's talk controls!

The first version of Magnaut (technically Magno-Warrior) had some serious control issues. The main problem was that the attachments didn't arrange themselves automatically, and the ship pointed its front toward the mouse -- if you only had attachments on the sides, that made it pretty hard to aim. Obviously that's no longer an issue, but I still want to make sure that everyone can be comfortable with the controls.

Sadly, I just learned the other day that Flash doesn't have native joystick support. It's sort of possible to get it working in AIR, but it would be a huge hassle to get it functional cross-platform, so for the time being, I'm going to be leaving gamepad controls out.

So, what I've come up with is a few different PC-based control schemes that you can switch between. Also keep in mind that in all of these cases, you'll be able to re-bind the keys.

Method 1: Keyboard Only (Radial)


Description

You turn your ship manually, then can either go forward or backward. Firing is a separate button. Basically, this works like Asteroids. This is the one I've been using in all of the videos and pictures you've seen to date.

Pros/Cons

+ Easier to use non-frontal attachments
+ Movement looks more acrobatic and round
- Aiming takes longer
- Some might find the movement awkward, especially in intense moments

Method 2: Keyboard Only (Twin-Stick)


Description

You use a set of directional keys to move your ship, and another set to aim the attachments. Attachment firing is automatic while you aim.

Pros/Cons

+ Movement is intuitive
+ Can be plugged into Joy2Key pretty easily
- Aiming is locked to 45-degree increments
- If you're not using Joy2Key, it can be a bit difficult managing all these keys

Method 3: Mouse and keyboard


Description

You use a set of directional keys to move your ship, and aim with the mouse. Click to fire.

Pros/Cons

+ Aiming is faster and more precise
+ Movement is intuitive
- Harder to aim with non-frontal attachments
- Flash doesn't let me constrain the mouse (except in fullscreen), so that could get annoying in windowed mode

Games
Celestial Mechanica

Celestial Mechanica Celestial Mechanica Indie

Updated 1 year ago Released Jun 24, 2011 Single Player Platformer

As some would call a surprise collaboration; Roger Hicks (rComplex) and Paul Veer (animator of Super Crate Box) have teamed up to tell the story of "Celestial...

Dungeon Contractor Strikes Back

Dungeon Contractor Strikes Back Dungeon Contractor Strikes Back Indie

Updated 1 year ago TBD Single Player Roguelike

Dungeon Contractor Strikes Back (DCSB) is an inverted roguelike where you, the creature defending an overlord's dungeon from invading heroes, takes matters...

Flying Raven

Flying Raven Flying Raven Indie

Updated 10 months ago TBD Single & Multiplayer Arcade

A game about a little raven trying to protect his home.

Freq Leak

Freq Leak Freq Leak Indie

Updated 6 months ago TBD Single Player Arcade

Freq Leak is a hectic, fast paced puzzler about a sentient, awkwardly placed radio tower who just wants to fit in. It must use it's only ability, sending...

Gravity Cubes

Gravity Cubes Gravity Cubes Indie

Updated 9 months ago Released Jul 31, 2012 Single Player Puzzle Compilation

Puzzle game where you control gravity, collect stars and connecting cubes, avoiding the many obstacles, such as lasers, spikes, and more.

Post comment Comments
01kadir01
01kadir01 Oct 1 2010, 1:21pm says:

this program s very good to make flash games i vote this

+3 votes     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Platforms
Windows, Mac, Linux, Flash, Web, Mobile
Company
FlashPunk
Contact
Send Message
Official Page
Flashpunk.net
Licence
MIT
Release Date
TBD
Engine Watch
Track this engine
Share
Statistics
Rank
27 of 515
Last Update
3 weeks ago
Watchers
38 members
Games
19
News
27