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

Systems

Tumble edited this page Mar 15, 2024 · 4 revisions

Things article is still under construction, so thing are still subject to changes

Getting started

  1. First create a gist
  2. use the createSystem fucntion to set up the system
(()=>{
	if(Object.hasOwn(globalThis,"STB_EDITOR")) {
		STB_EDITOR.createSystem({
			// System ID
			id:"my-new-system",
			//System Icon
			img:"https://avatars.githubusercontent.com/u/583231",
			/// System Name
			title:"An Excelent System",
			// System Description
			summary:"This is a sample game system",
			// In-editor confic
			panel:{
				html:`<p>This is a new system</p>`,
			},
		});
		// Initialize Editor Stuff
		console.info("Hello Editor");
	}

	// Game Engine Stuff
	console.info("Hello Engine");

})();

Once the engine becomes more fleshed out you will be able to see system examples.

Clone this wiki locally