Nape Samples are intended to both demonstrate the capabilities of the engine, as well as demonstrating how to use the engine through practice. All samples have documented source in AS3/Haxe to accompany them.
These samples are specifically intended to demonstrate the basics of using Nape. All code for the samples is self-contained with no additional utilities being used.
|Setting up a basic Nape simulation with debug drawing.||Fixed time-step simulations and dragging objects with mouse.|
Samples make use of a Template class to hide common code and focus on features. Download samples to view this class.