Reputation: 1400
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?
Upvotes: -1
Views: 3252
Reputation: 6400
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.
Upvotes: 0
Reputation: 328
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.
Upvotes: 4
Reputation: 494
I recommend either Flixel or Flashpunk. The Flash Game Dojo is a great place to find out about both of these libraries...
Upvotes: 3