Skip to content

GammaGames/NobleEngine-Example-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Noble Engine Example Project

This is a documented example project that shows how to use the Noble Engine, along with a handful of libraries.

demo

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

Notes

  • 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!
  • 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 the settings.json file, so you'll need to update that to your own path.