This is a documented example project that shows how to use the Noble Engine, along with a handful of libraries.
Libraries included are:
- AnimatedSprite: Used for the player
- pdParticles: Used for walking pdParticles
- Playout - Used for the information popups in the Stats scene
- Signal - Used to notify the scene when an item is collected
- I've created a base scene that:
- Uses the SDK's debug drawing tools, simply add
drawDebug
to your sprites! - Callbacks for device sleeping lifecycle
- A simple event bus for sending messages in the scene
- A some default behavior that makes it easier to interact with the system menu
- And probably a few things more!
- Uses the SDK's debug drawing tools, simply add
- The play scene uses sprites for the world, and most of the input is handled by the Player class
- The stats scene draws the grid in the background so it always shows up behind sprites
- Noble branded assets are taken/modified from the project template
- Other image assets are from Kenney:
- I've also included my
.vscode
settings, it has a build task that kills the simulator (if running), cleans the build directory, builds the project, zips the build directory, and starts the simulator. It uses the path for the sdk from thesettings.json
file, so you'll need to update that to your own path.