Skip to content
This repository has been archived by the owner on May 4, 2020. It is now read-only.

EliteAsian123/noa-plus-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

noa-plus-plugins

I have stopped updating this project. Some of these plugins may not work.

This is a library that adds plugin support to Noa Engine. noa-plus-plugins is in beta so there isn't much yet. The test-game is based off of the Hello World Example. If you are using this, it is required that you have prior knowledge of Noa.

Usage - Using Plugins

Clone this repository and move the all-plugins folder into your project (Make sure you have Noa Engine installed in that same project!) then in the index.html file, add these lines of code above bundle.js:

<script type="text/javascript" src="all-plugins/noa-plus-plugins-base.js"></script>
<script type="text/javascript" src="all-plugins/example-plugin.js"></script>

Yep! No npm! This is done to make it easier to develop plugins for noa-plus-plugins, because you don't have to compile it everytime! To setup noa-plus-plugins, go into you index.js (that'll compile into your bundle.js) and add:

// Init noa-plus-plugins
var nppb = new NoaPlusPlugins(noa, BABYLON);
  
// Add the ExamplePlugin and make it say "Hello World" (You can delete this)
var examplePlugin = new ExamplePlugin(nppb, "Hello World!");
nppb.addPlugin(examplePlugin);

// Add any other plugins here

Note that BABYLON is the legacy BABYLON variable, and can be gotten like this:

import * as BABYLON from '@babylonjs/core/Legacy/legacy'

More info is available in the Wiki Tab!

Usage - Making Plugins

Info will available in the Wiki Tab!

Thanks

MASSIVE thanks to Andy Hall for making this amazing engine in the first place! Also thanks to Levlups for helping me with some code!

License

MIT

About

Noa Engine... With Plugins!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published