Page:
Components And Systems Tabs
Pages
Access dev database
Access power user features
Access url params in a view
Accessing data through data attribute
Add a Mongoose Model
Add a collection schema
Add a collection
Add a form
Add a route
Add a view
Add basic REST endpoints for a collection
Add events to a view
Add methods for special server endpoints
Add space between elements
Adventurer Home
Aether
Ambassador Home
Archmage Home
Artisan Home
Artisan How To Index
Autocomplete Tuning
Building A Level
Call server from view
Change player level
Chat Room Rules
Chat Room
Chief Artisan Level Audition
Client models
Coco Models
Coding Guidelines for Artisans
Coding Guidelines
Component Authoring Guide
Component
Components And Systems Tabs
Connect Backbone to new collection
Cookbook
Debug a template
Dev Setup: General Information
Dev Setup: Issues
Dev Setup: Linux
Dev Setup: Mac
Dev Setup: Vagrant
Dev Setup: Windows
Developer organization
Diplomat Home
Edit page translations
Editing Thang Components
Educational Standards
Events, subscriptions, shortcuts
File system
Git Policies
Goals
HOWTO: Create static teacher page
Handle a server error
Home
Important Artisan Concepts
Inspect a view
JSON Schema
Keyboard Shortcuts
Level editor
Make yourself admin
Mission statement
Multiplayer
Organize a complicated template
Permissions
Programming Concepts
Project Ideas List
Referee Scripting
Run dev client on prod db
Sample Code
Scribe Home
Scripts Tab
Scripts
Settings Tab
Show data in a view
Simplify Collision
Start a New Level
Surface
System
Tasks Tab
Technical overview
Test client interface
Test client
Test server endpoint
Testing
Thang Component System
Thang
Thangs Tab
Third party software and services
Tome
Translate page strings
Treema
Versioning
Views
World
i18n Glossary es 419
i18n Glossary nb
i18n Glossary ru
i18n
No results
1
Components And Systems Tabs
Scott Erickson edited this page 2014-01-30 15:11:03 -08:00
Components and Systems are built and edited in the Components and Systems tabs. They can also be used to get more detailed information on what any given one does. Only Components that Thangs in your Level have will show up in the Components Tab.
To See What Any Component Does
- If it's not already on one of the Thangs in your Level, add it to one.
- Go to the Components Tab
- Click on the now listed Component and view its code and other details.
This is really hacky, but right now the only way to view any given Component and all its data.
To See What a System Does
- If it's not already added to the list of systems, add it with the 'Add System' button at the lower left.
- Click on the now listed System and view its code and other details.
To Build a new Component or System
- Click 'Add New Component' or 'Add New System' on the upper right. If you're adding a new Component, include the System it depends on in lower case (so 'ai' or 'event').
- In its settings, give it a description, name, and list dependencies on other systems or components.
To Define a Component's Configuration
- Read up on how JSON-Schema works. Configurations are defined with them.
- Select the Component on the left.
- Click 'Config Schema' on the Component pane that appeared to the right.
- Use the Treema that appeared to edit the Component's Configuration Schema.
- To test a config, try configuring it. See Editing Thang Components.
To Test a Component or System
- Select the Component on the left.
- Edit the code in the ACE editor that appeared.
- Press Play to see what happens. Use console.log to debug. There are some limitations to logging though when running the code in the background.
To Understand How Components and Systems Work
Explore the existing Components' code and talk with us for any questions you have.
- Home
- Archmage Home
- Artisan Home
- Adventurer Home
- Scribe Home
- Diplomat Home
- Ambassador Home
- Archmage General
- Mission statement
- Coco Models
- Coding Guidelines
- Cookbook
- File system
- JSON Schema
- Technical overview
- Testing
- Third party software and services
- Artisan General
- Building A Level
- Coding Guidelines for Artisans
- Editing Thang Components
- Important Artisan Concepts
- Keyboard Shortcuts
- Artisan How-To Index
- Adventurer General
- Scribe General
- Diplomat General
- i18n
- i18n Glossary nb
- i18n Glossary ru
- i18n Glossary es-419
- Ambassador General
- Dev Setup
- Dev Setup: Linux
- Dev Setup: Windows
- Dev Setup: Mac
- Dev Setup: Vagrant
- Dev Setup: Issues
- Game Engine
- Component
- Multiplayer
- Surface
- System
- Thang
- Thang Component System
- Tome
- World
- Artisan Tabs
- Components And Systems
- Scripts
- Settings
- Thangs
- Other
- Aether
- Client models
- Developer organization
- Educational Standards
- Events, subscriptions, shortcuts
- Chat Room
- Chat Room Rules
- Permissions
- Project Ideas List
- Treema
- Versioning
- Views
CodeCombat | Home | Blog | Forum | Teachers | Legal | Contribute