|
Title: Installing Flixel and or Box2D into Flash. Post by: BrandonQ on December 08, 2011, 02:24:01 AM Any help guys? I need some help on how to add/install Flixel and Box2D into Flash and or Flash Builder. (preferably flash Pro as Flash Builder is a trial). Thank you in advance! :D
Title: Re: Installing Flixel and or Box2D into Flash. Post by: increpare on December 08, 2011, 02:32:02 AM you've checked out http://www.flashgamedojo.com/ (http://www.flashgamedojo.com/)?
If you're on windows, use flashdevelop, if you're on osx and broke, fdt (http://fdt.powerflasher.com/) now has a free version. If you're unemployed or a student, you can get a free copy of flash builder (cf here (http://www.adobe.com/devnet-apps/flex/free/) ). Title: Re: Installing Flixel and or Box2D into Flash. Post by: Fallsburg on December 08, 2011, 05:49:47 AM Second'd FlashDevelop.
As for "installing" either of those. Flixel has no installation per se, you just drop the org folder of into your development folder and boom, done. For Box2d there are two different libraries out there, one is an swc (a precompiled library) and the other is a pure AS3 port of Box2d. I would recommend using neither. Both are pretty slow. For physics in AS3 I would recommend nape (http://code.google.com/p/nape/). It is much faster (e.g. I was unable to get more than 180 dynamic objects in Box2d without slowdown, but I'm able to get 2500 in nape), easy to use, and was designed for AS3 from the beginning (as opposed to just being a port). EDIT: I also forgot. Personally, I'm moving away from Flixel and am using nd2d (http://www.nulldesign.de/2011/03/10/nd2d-molehill-2d-engine/) as my renderer of choice. This makes particular sense for you if you want to use a different physics engine than the one supplied by Flixel. If you need help getting this pairing set up, I can help. Title: Re: Installing Flixel and or Box2D into Flash. Post by: st33d on December 08, 2011, 08:23:07 AM You're suggesting he jump into haXe before he even knows how to compile?
Title: Re: Installing Flixel and or Box2D into Flash. Post by: increpare on December 08, 2011, 09:11:34 AM I should add, I don't recommend combining box2d and flixel - at least not until you've learned how to use flixel properly first. You can probably figure it out, but it'll be painful, and flixel's built-in physics is OK for many things.
Title: Re: Installing Flixel and or Box2D into Flash. Post by: Fallsburg on December 08, 2011, 09:32:23 AM @st33d
Well, if he wants box2d the best option is the alchemy compiled version, so I don't really see the difference between him using the pre-compiled swc of nape or the pre-compiled swc of box2d. To be honest, I'd suggest he get his feet wet with a simple project with just Flixel sans external physics library, but that's not what he was asking. Title: Re: Installing Flixel and or Box2D into Flash. Post by: bart_the_13th on December 08, 2011, 06:45:58 PM You're suggesting he jump into haXe before he even knows how to compile? Well, he has to compile it anyways, haxe or not...Title: Re: Installing Flixel and or Box2D into Flash. Post by: BrandonQ on December 09, 2011, 03:37:57 AM Thank you for all the replies, I might just go with flixel as there seems to be many tutorials out there for it and simple to setup ei. drag and drop it in. This forum has been really helpful!
|