At 10/14/11 11:51 AM, TomFulp wrote:
At 10/14/11 11:44 AM, PrettyMuchBryce wrote:
What is everybody working on? I am working on an easy pathfinding API. I am tired of using other peoples code for such a common problem. I am also playing with ND2D, which I find better than starling so far.I started learning Flixel this week with the hope that it will adapt well to hardware acceleration. I started looking at ND2D as well, are there any good tutorials for people who really need a hand-holding through getting started?
I'm not sure if there is yet since it's so new. It's pretty similar to Starling in the way you start it up. Maybe I could write a basic "Getting Started" tutorial over the weekend.
I'm not sure if Flixel will transition well to hardware acceleration since its still being rendered with software (BitmapData.copyPixels). I am sure there will be new engines that take advantage of the GPU stuff sooner or later though. Starling and ND2D are not really like Flixel. Flixel is unique because it geared 100% for making games. So it includes graphics, sound, physics, state machine, etc. Starling and ND2D are just for graphics, so you have to write the rest of the game logic yourself. Learn Flixel anyways though! The concepts will carry over.
As far as the difference between Starling and ND2D. I have no statistics to back this up, but I find that ND2D is just faster. It has a nice support for animating your sprite sheets similary to the way Flixel does it. Starling has no documentation other than a massive messy PDF file. I worry that Starling is trying so hard to imitate the traditional display list that it is making concessions with performance. One downside to ND2D however, it has bad support for smoothing. For example, if you're looking to make a pixelly game, you might want to go with Starling for now. If you resize a texture in ND2D then it will automatically smooth it and there is no way to turn this off. The work around I found is to resize your sprites with bitmapData.draw before you make it into a Texture2D in ND2D. Lars says that he is working on fixing this, though. In Starling there are a number of resize modes you can choose from which is pretty nice. ND2D also has a brutally awesome virtual camera. Honestly though it probably doesn't matter too much which one you use. They will probably both change a lot over the coming months.