Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Naming Conventions

FluffySheep edited this page Feb 23, 2013 · 3 revisions

Guidelines:

  1. Each name (variable, script, anim, etc...) must start with its corresponding naming convention. script for scripts, anim for animations, etc...
  2. Local and Private variables in functions do not need to be named with the naming convention if they cannot be accessed from other scripts.
  3. Use underscores ("_") to separate different words in a name. Do not use capital letters because it is hard to read.
  4. All created Global Variables and Functions must be documented in Game Document Wiki Page.

Naming Conventions

  • script_ : Name of scripts.
  • pref_ : Used on prefabs that are objects in the game.
  • anim_ : An animation object using Orthello that is placed in the scene.
  • spr : A container object using Orthello that is placed in the scene under OT->Container..
  • txt_ : An image that is used as a texture and NOT a sprite sheet.
  • sht_ : An image that is a sprite sheet for an animated sprite in game.
Clone this wiki locally