2
\$\begingroup\$

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?

\$\endgroup\$
4
\$\begingroup\$

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.

| improve this answer | |
\$\endgroup\$
1
\$\begingroup\$

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).

| improve this answer | |
\$\endgroup\$
1
\$\begingroup\$

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!

| improve this answer | |
\$\endgroup\$
0
\$\begingroup\$

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

| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ 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. \$\endgroup\$ – inzombiak Jun 16 '12 at 15:58
  • 3
    \$\begingroup\$ 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. \$\endgroup\$ – Gregory Avery-Weir Jun 17 '12 at 22:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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