Table of Contents
CodeCombat scripts are a way of performing certain actions involving the playfield before anything happens. This is the area to set up the camera size as well as instantiate which music will play throughout the level. To access, go to the Scripts tab at the top of the editor and take a glance at the Introduction script.
Camera Boundaries
Look at the Surface setting inside the Introduction script. It takes two coordinates and restricts the camera to that size. Sometimes levels can be bigger than the camera boundaries. In which case the camera will automatically shift around focusing on whichever unit the player has selected.
Auto-Playback
This is to determine whether or not a level starts playing automatically. There are reasons to both do and not do this, so consider which choice best frames your level for the first time.
Music
There are a few music choices to select from, so try them all!
Dialogue
Within the CodeCombat script editor it is possible to create simple conversations between characters (or as a narrator telling the player what to do and what not to do.)
- 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