Goals
Goals are the way CodeCombat decides whether or not a level is completed. They are used by the achievement system to award completion as well because it is possible to beat a level without completing all the optional goals.
This is what displays in the goal panel.
Be sure to include this field so translators can translate the goals.
A specific identification string to reference the goal programatically.
How long after the goal is completed to end the level.
How many times this goal needs to be satisfied to complete.
If this goal only appears after failure. Usually it is implied that the hero must survive, so it remains hidden until the hero dies.
This is to signify a goal as optional. If it isn't required to get the gems before escaping, the goal is optional.
What Thangs to save. This can be a specific Thang ID or a whole team.
Which locations specific Thangs need to get.
Whether or not code problems are allowed.
If specific units need to escape off the sides of the map.
Check if there is a limit on how many lines of code required.
Prevent certain units from leaving off the side of the map.
This is specifically for multi-player levels. Each side has their own victory goals, for example, a Human needs to slay all the Ogres and an Ogre needs to slay all the Humans. Each goal would be assigned to the individual team.
An expansion on how many need to get to a location.
A very basic goal. Usually killing all the Ogres on a map.
CodeCombat | Home | Blog | Forum | Teachers | Legal | Contribute
- Home
- Archmage Home
- Artisan Home
- Diplomat 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
- Debugging
- Artisan How-To Index
- Diplomat General
- i18n
- i18n Glossary nb
- i18n Glossary ru
- i18n Glossary es-419
- 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