Package | verlocity.settings |
Class | public class SettingsData |
Inheritance | SettingsData Object |
Property | Defined By | ||
---|---|---|---|
BGCOLOR : uint
BGCOLOR sets the background color of your project. | SettingsData | ||
CONTENT_FOLDER : String
CONTENT_FOLDER is a helper setting designed to keep assets organized. | SettingsData | ||
DEBUG : Boolean
Enabling DEBUG will turn on Debug mode. | SettingsData | ||
DEBUG_A3D : Boolean
This debug mode will draw 3D axises and other Away 3D debugging tools
Debug modes should NOT be in your finished product. | SettingsData | ||
DEBUG_COLLISION : Boolean
This debug mode will draw useful red dots and boxes for collision detection. | SettingsData | ||
DEBUG_UI : Boolean
This debug mode will draw boxes for UI elements. | SettingsData | ||
DEFAULT_KEYLIST : KeyData
Sets the default key list. | SettingsData | ||
DEFAULT_LANGUAGE : LanguageData
Sets the default language of the translation system. | SettingsData | ||
DISABLE_TAB : Boolean
DISABLE_TAB turns off the focus rectangle that occurs
when you press tab. | SettingsData | ||
FLASH_DISPLAYSTATE : String
Flash display state. | SettingsData | ||
FLASH_QUALITY : String
Default render quality. | SettingsData | ||
FLASH_SCALEMODE : String
Flash scalemode. | SettingsData | ||
FLASH_SHOW_DEFAULTCONTEXT : Boolean
Enable/disable the default right click context menu. | SettingsData | ||
FRAMERATE : int
FRAMERATE sets the framerate of the engine loop. | SettingsData | ||
GUI_MESSAGE_FORMAT : TextFormat
Sets the default GUI message text format. | SettingsData | ||
GUI_SCALE : Number
GUI_SCALE sets the scale factor of all Verlocity GUI. | SettingsData | ||
KEY_DOUBLETAP_TIME : uint
How long can we wait between key presses to check if they've been
double tapped? See verInput.KeyIsDoubleTapped. | SettingsData | ||
KEY_HISTORY_AMOUNT : int
The max amount of keys to store in history. | SettingsData | ||
PAUSEABLE : Boolean
PAUSABLE is the overall setting that completely
disables pausing. | SettingsData | ||
PAUSEMENU_GUI : Class
With SHOW_PAUSEMENU disabled, you can specify
your own pause menu GUI with this setting. | SettingsData | ||
PAUSE_ONFOCUSLOST : Boolean | SettingsData | ||
PHYS_GRAVITY : Point
The default gravity to apply on all physics objects if they have gravity enabled. | SettingsData | ||
RIGHTCLICK_PROMOTE : Boolean
Set if you want a promotional link to your website on the right click menu. | SettingsData | ||
RIGHTCLICK_PROMOTETEXT : String
Sets the right click promo text. | SettingsData | ||
RIGHTCLICK_PROMOTEURL : String
Sets the right click promo website. | SettingsData | ||
SHOW_MESSAGES : Boolean
SHOW_MESSAGES enables/disables VerlocityMessages. | SettingsData | ||
SHOW_PAUSEMENU : Boolean
SHOW_PAUSEMENU enables/disables the built-in pause
menu GUI. | SettingsData | ||
SHOW_SPLASH : Boolean
Please support Verlocity with this splash intro. | SettingsData | ||
START_VOLUME : Number
START_VOLUME is the starting volume of your project. | SettingsData | ||
STATE_TRANSITION_IN : MovieClip
STATE_TRANSITION_IN defines the transition MovieClip that occurs
when a state is first appearing (fading in). | SettingsData | ||
STATE_TRANSITION_OUT : MovieClip
STATE_TRANSITION_OUT defines the transition MovieClip that occurs
when a state is being removed (fading out). | SettingsData |
Method | Defined By | ||
---|---|---|---|
_Apply(sStage:Stage):void
Do not override this - it sets the Flash settings. | SettingsData |
BGCOLOR | property |
BGCOLOR:uint
BGCOLOR sets the background color of your project. This is required and is different from Flash's background.
public function get BGCOLOR():uint
public function set BGCOLOR(value:uint):void
CONTENT_FOLDER | property |
CONTENT_FOLDER:String
CONTENT_FOLDER is a helper setting designed to keep assets organized.
public function get CONTENT_FOLDER():String
public function set CONTENT_FOLDER(value:String):void
DEBUG | property |
DEBUG:Boolean
Enabling DEBUG will turn on Debug mode. Debug modes should NOT be in your finished product. While debug mode is enabled you can use verConsole, among various other tools. To activate the console press ~ on your keyboard.
public function get DEBUG():Boolean
public function set DEBUG(value:Boolean):void
DEBUG_A3D | property |
DEBUG_A3D:Boolean
This debug mode will draw 3D axises and other Away 3D debugging tools Debug modes should NOT be in your finished product.
public function get DEBUG_A3D():Boolean
public function set DEBUG_A3D(value:Boolean):void
DEBUG_COLLISION | property |
DEBUG_COLLISION:Boolean
This debug mode will draw useful red dots and boxes for collision detection. Debug modes should NOT be in your finished product.
public function get DEBUG_COLLISION():Boolean
public function set DEBUG_COLLISION(value:Boolean):void
DEBUG_UI | property |
DEBUG_UI:Boolean
This debug mode will draw boxes for UI elements. Debug modes should NOT be in your finished product.
public function get DEBUG_UI():Boolean
public function set DEBUG_UI(value:Boolean):void
DEFAULT_KEYLIST | property |
DEFAULT_KEYLIST:KeyData
Sets the default key list.
public function get DEFAULT_KEYLIST():KeyData
public function set DEFAULT_KEYLIST(value:KeyData):void
DEFAULT_LANGUAGE | property |
DEFAULT_LANGUAGE:LanguageData
Sets the default language of the translation system.
public function get DEFAULT_LANGUAGE():LanguageData
public function set DEFAULT_LANGUAGE(value:LanguageData):void
DISABLE_TAB | property |
DISABLE_TAB:Boolean
DISABLE_TAB turns off the focus rectangle that occurs when you press tab. It is recommended you keep this setting enabled to prevent users from bypassing different input behaviors (such as locating hidden buttons).
public function get DISABLE_TAB():Boolean
public function set DISABLE_TAB(value:Boolean):void
FLASH_DISPLAYSTATE | property |
FLASH_DISPLAYSTATE:String
Flash display state. Enable/disable full screen on start. To change during runtime use Verlocity.display.EnableFullscreen( true/false );
public function get FLASH_DISPLAYSTATE():String
public function set FLASH_DISPLAYSTATE(value:String):void
FLASH_QUALITY | property |
FLASH_QUALITY:String
Default render quality. To change during runtime use Verlocity.display.SetQualty( 1/2/3 );
public function get FLASH_QUALITY():String
public function set FLASH_QUALITY(value:String):void
FLASH_SCALEMODE | property |
FLASH_SCALEMODE:String
Flash scalemode. http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001543.html
public function get FLASH_SCALEMODE():String
public function set FLASH_SCALEMODE(value:String):void
FLASH_SHOW_DEFAULTCONTEXT | property |
FLASH_SHOW_DEFAULTCONTEXT:Boolean
Enable/disable the default right click context menu.
public function get FLASH_SHOW_DEFAULTCONTEXT():Boolean
public function set FLASH_SHOW_DEFAULTCONTEXT(value:Boolean):void
FRAMERATE | property |
FRAMERATE:int
FRAMERATE sets the framerate of the engine loop. This will also set the frame rate of the Flash application.
public function get FRAMERATE():int
public function set FRAMERATE(value:int):void
GUI_MESSAGE_FORMAT | property |
GUI_MESSAGE_FORMAT:TextFormat
Sets the default GUI message text format. Messages will only display if SHOW_MESSAGES is on.
public function get GUI_MESSAGE_FORMAT():TextFormat
public function set GUI_MESSAGE_FORMAT(value:TextFormat):void
GUI_SCALE | property |
GUI_SCALE:Number
GUI_SCALE sets the scale factor of all Verlocity GUI. This is useful if you have smaller resolutions
public function get GUI_SCALE():Number
public function set GUI_SCALE(value:Number):void
KEY_DOUBLETAP_TIME | property |
KEY_DOUBLETAP_TIME:uint
How long can we wait between key presses to check if they've been double tapped? See verInput.KeyIsDoubleTapped. Less time means less time to double tap.
public function get KEY_DOUBLETAP_TIME():uint
public function set KEY_DOUBLETAP_TIME(value:uint):void
KEY_HISTORY_AMOUNT | property |
KEY_HISTORY_AMOUNT:int
The max amount of keys to store in history. This is the longest amount of keys you can compare for verInput.KeyCombo. This also affects the verInput.KeyIsDoubleTapped function.
public function get KEY_HISTORY_AMOUNT():int
public function set KEY_HISTORY_AMOUNT(value:int):void
PAUSE_ONFOCUSLOST | property |
PAUSE_ONFOCUSLOST:Boolean
public function get PAUSE_ONFOCUSLOST():Boolean
public function set PAUSE_ONFOCUSLOST(value:Boolean):void
PAUSEABLE | property |
PAUSEABLE:Boolean
PAUSABLE is the overall setting that completely disables pausing. Disabling this will disable pausing completely. It is recommended to leave this enabled.
public function get PAUSEABLE():Boolean
public function set PAUSEABLE(value:Boolean):void
PAUSEMENU_GUI | property |
PAUSEMENU_GUI:Class
With SHOW_PAUSEMENU disabled, you can specify your own pause menu GUI with this setting.
public function get PAUSEMENU_GUI():Class
public function set PAUSEMENU_GUI(value:Class):void
PHYS_GRAVITY | property |
PHYS_GRAVITY:Point
The default gravity to apply on all physics objects if they have gravity enabled. Note: This can be bypassed by any physics object
public function get PHYS_GRAVITY():Point
public function set PHYS_GRAVITY(value:Point):void
RIGHTCLICK_PROMOTE | property |
RIGHTCLICK_PROMOTE:Boolean
Set if you want a promotional link to your website on the right click menu.
public function get RIGHTCLICK_PROMOTE():Boolean
public function set RIGHTCLICK_PROMOTE(value:Boolean):void
RIGHTCLICK_PROMOTETEXT | property |
RIGHTCLICK_PROMOTETEXT:String
Sets the right click promo text.
public function get RIGHTCLICK_PROMOTETEXT():String
public function set RIGHTCLICK_PROMOTETEXT(value:String):void
RIGHTCLICK_PROMOTEURL | property |
RIGHTCLICK_PROMOTEURL:String
Sets the right click promo website.
public function get RIGHTCLICK_PROMOTEURL():String
public function set RIGHTCLICK_PROMOTEURL(value:String):void
SHOW_MESSAGES | property |
SHOW_MESSAGES:Boolean
SHOW_MESSAGES enables/disables VerlocityMessages. They are small text messages notifying the user of any changes to the game engine. Stuff like pausing, volume changes, saving, etc. They are displayed in the top right hand corner.
public function get SHOW_MESSAGES():Boolean
public function set SHOW_MESSAGES(value:Boolean):void
SHOW_PAUSEMENU | property |
SHOW_PAUSEMENU:Boolean
SHOW_PAUSEMENU enables/disables the built-in pause menu GUI. You can disable this and use your own pause menu if you specify the pause menu class in the setting PAUSEMENU_GUI, below this setting.
public function get SHOW_PAUSEMENU():Boolean
public function set SHOW_PAUSEMENU(value:Boolean):void
SHOW_SPLASH | property |
SHOW_SPLASH:Boolean
Please support Verlocity with this splash intro. :) When splash is enabled, your product will show the Verlocity logo then instantly begin your first state.
public function get SHOW_SPLASH():Boolean
public function set SHOW_SPLASH(value:Boolean):void
START_VOLUME | property |
START_VOLUME:Number
START_VOLUME is the starting volume of your project. This is to prevent games from starting out EAR BLASTINGLY loud.
public function get START_VOLUME():Number
public function set START_VOLUME(value:Number):void
STATE_TRANSITION_IN | property |
STATE_TRANSITION_IN:MovieClip
STATE_TRANSITION_IN defines the transition MovieClip that occurs when a state is first appearing (fading in). Leave blank if you don't want the transition.
public function get STATE_TRANSITION_IN():MovieClip
public function set STATE_TRANSITION_IN(value:MovieClip):void
STATE_TRANSITION_OUT | property |
STATE_TRANSITION_OUT:MovieClip
STATE_TRANSITION_OUT defines the transition MovieClip that occurs when a state is being removed (fading out). Leave blank if you don't want the transition.
public function get STATE_TRANSITION_OUT():MovieClip
public function set STATE_TRANSITION_OUT(value:MovieClip):void
_Apply | () | method |
public function _Apply(sStage:Stage):void
Do not override this - it sets the Flash settings.
Parameters
sStage:Stage — The stage
|