Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm trying to make a platformer with Flash/AS3 and have been looking for something to help with some of the collision etc. I've look at a few engines and Box2D/WCK seems the most sophisticated. Do I need that level of sophistication or should I just stick to something simple like Fixel or Flashpunk? OR should I just do everything myself?

share|improve this question

4 Answers 4

up vote 4 down vote accepted

Box2D is a physics engine; Flixel and Flashpunk are game frameworks. You can use both Flixel and Flashpunk with Box2D.

I highly recommend using a framework like Flixel or Flashpunk. It will simplify and accelerate your coding experience.

For a platformer, Box2D is probably not necessary unless you want interesting physics to be a part of your gameplay. If you do, Box2D will probably be useful, but I recommend using it on top of a framework.

share|improve this answer

You can also try with the Citrus Engine, http://citrusengine.com which it's specifically made for platform games and implements box2d for the physics. It's also open source

Cheers!

share|improve this answer

Doing everything on your own will make you learn new things, but it's always better to not to reinvent the wheel. I've only used Box2D in my projects and let me tell you, it's so easy to use that you'll never want to do collision coding on your own.

You may fall into performance problem, but it's easy to solve them (Mainly you'll get lower performance only when you'll add lot's of bodies or when you chose wrong scaling factor. You should read official faq for that).

share|improve this answer
    
+1, great answer! –  Oskar Jul 12 '12 at 9:36

It's hard to know what is best for you, but I'd recommend you target the GPU for better result and take a look at starling.

http://gamua.com/starling/

It's painstakingly easy to hit the wall in terms of performance with the software renderer in flash player. Particularly to get a decent frame rate.

Some people have successfully implemented box2d in Starling, that's what I would look at using personally.

http://www.aymericlamboley.fr/blog/citrusengine-goes-stage3d-with-starling/

http://www.aymericlamboley.fr/blog/wp-content/uploads/2012/01/index.html

share|improve this answer
    
Basically I'm learning programming by making games. I don't know enough to create elaborate stuff like that on my own. I don't want to use something too complex because I wont learn anything from it. –  inzombiak Jun 16 '12 at 15:58
3  
If you're planning on using bitmap graphics instead of vector graphics, performance isn't going to be an issue. Both Flixel and Flashpunk assume bitmap graphics. –  Gregory Avery-Weir Jun 17 '12 at 22:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.