1
votes

I need simple game engine with pixel-perfect collision detection, camera component with following function, network and particle components would be desirable. Anyone knows whether the engine right under these requirements?

3
I suspect you'll get more traction on this sort of question over on gamedev.stackexchange.comJohn Parker

3 Answers

4
votes

I recommend either Flixel or Flashpunk. The Flash Game Dojo is a great place to find out about both of these libraries...

4
votes

FlashPunk is able to do exactly what you want. Furthermore, the FlashPunk Community is lovely awesome and really helpful.

Pixelmask is easily implementable in FlashPunk, all you have to do is pass a BitmapData to the mask property of an Entity and the rest will be handled for you. More information in the docs: net.flashpunk.masks.Pixelmask.

For camera, following would be translated as this in your entity:

override public function update():void
{
    super.update();
    FP.camera.x = x;
    FP.camera.y = y;
}

And if you want easing and that stuff, you can use FlashPunk Tweens or take a look at the view class from the Advanced Platform Engine.

Particle Emitters are supported by default as well. Here you have a comprehensive tutorial about FlashPunk Emitters.

About Network… I'm sad that there's no included network system on FlashPunk. Luckily, there are a lot of Network systems for AS3 which you can adapt very easily for FlashPunk. SmartFoxServer and Player.IO are good examples of AS3 Network systems.

0
votes

There's this question on gamedev stackexchange. Unfortunately it only got 2 answers.

However, there's:
Flixel
Pushbutton
Flashpunk

A comparison of Flixel and Flashpunk.