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 Haxe to accompany them.
Getting Started.
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.
| BasicSimulation | FixedDragging | |||||||
| Setting up a basic Nape simulation with debug drawing. |
|
Fixed time-step simulations and dragging objects with mouse. |
|
|||||
Feature Demonstrations.
Samples make use of a Template class to hide common code and focus on features. Download samples to view this class.