Flash Tutorials

Box2DFlash Tutorials
 - Tutorial 1: Hello Box World
 - Tutorial 2: Sprites!
 - Tutorial 3: Joints and you, a comprehensive guide

Nape Physics Engine
 - Tutorial 1: Hello Nape World
 - Tutorial 2: Sprites!
 - Tutorial 3: Joints and you, a comprehensive guide
 - Tutorial 4: Bump and Grind 

 - Tutorial 5: Use the Force


Github Repository
 

7 comments:

Sean said...

Hi, thanks for putting up the first tutorials they have come in very useful. I'm currently trying to rig up a system of interconnected bodies and could do with understanding joints as much as possible. Any idea when the 3rd tutorial will be ready?

Thanks
Sean

Sean said...

For Nape that is!

David 'Irish' Bindloss said...

Hi Sean,

Thanks for the positive feedback! I'm actually holidaying at the moment, but will be back in front of the microphone mid feb, so stay tuned for the third installment of the tutorial series then. Glad to see another nape fan :).

Cheers,

David.

Michael Corrigan said...

David, these tutorials are great and get me up to speed on the Nape engine and working with physics engines in general. I've done loads of development but never with a physics engine and it's been fun following along with your tutorials. Right now I am trying to figure out how to apply a random force to body on click but the methods in the documentation have't been able to get me there. Like you have said, there is very little in the way of tutorials for Nape. Also, any idea on how would you make complex polygons like a half circle or path based polys?

Thanks for all your hard work and I'm excited to see the next tutorials you produce next!

David 'Irish' Bindloss said...

Hi Michael,

Thanks for the question! Forces are something that I'm yet to cover, and to be honest, I haven't had the chance to look at what kind of API NAPE has in this regard, I've made a note of it and I'll try and fit it somewhere into the Tutorial schedule that I have (after the next tutorial (4), I've got some work that I want to do with user defined constraints and collisions, but they are quite tricky things, so I might slot a tutorial in there about forces for yourself and the rest of the viewers).

In regards to making half-circular or path based polygon's, I know that there is a function called GeomPoly, which accepts a series of points. And as for things like half-circles, I can provide you with this: http://deltaluca.me.uk/docnew/swf/DestructableTerrain.html which is a link to the HaXe version of the Destructable Terrain sample that Delta has put up on the site.

It's not exactly the answer, but have a look into the Marching Squares in the documentation but that is going into some pretty tricky stuff.

Thanks again for the post!

David.

Unknown said...

hi david, thanks for a great series of tutorials, I'm just getting into nape and starling and it looks very exciting. can you give me a tip or point me towards using joints to build a rope like connection between two bodies? is it just a series of small bodies with joints? thanks, phillip

Unknown said...

Hi, first of all, thanks for all the tutorials. I'm a flash developer so it's a bit sad to hear you are going to stop making tutorials for as3. But I'm probably still going to read your tutorials ( It's always fun to learn new stuff). Anyhow I was wondering where I can find part 5 of the Nape tutorial series?

Thanks!
/ Anton

Post a Comment