cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cocostudio Namespace Reference

Namespaces

 timeline
 

Classes

class  ActionFadeFrame
 
class  ActionFrame
 
class  ActionFrameEasing
 
class  ActionManagerEx
 
class  ActionMoveFrame
 
class  ActionNode
 
class  ActionObject
 
class  ActionRotationFrame
 
class  ActionScaleFrame
 
class  ActionTintFrame
 
class  AnimationData
 
class  Armature
 
class  ArmatureAnimation
 
class  ArmatureData
 
class  ArmatureDataManager
 format and manage armature configuration and armature animation More...
 
class  ArmatureDisplayData
 
class  ArmatureMovementDispatcher
 
class  BaseData
 The base node include a lot of attributes. More...
 
class  BaseTriggerAction
 
class  BaseTriggerCondition
 
class  BatchNode
 
class  Bone
 
class  BoneData
 
class  ButtonReader
 
class  CheckBoxReader
 
class  CocoLoader
 
class  ColliderBody
 
class  ColliderDetector
 
class  ColliderFilter
 
class  ComAttribute
 
class  ComAudio
 
class  ComController
 
class  ComRender
 
class  ContourData
 
class  CustomGUIReader
 
class  DataReaderHelper
 
class  DecorativeDisplay
 
class  DictionaryHelper
 
class  DisplayData
 
class  DisplayFactory
 
class  DisplayManager
 ! DisplayManager manages Bone's display More...
 
class  FrameData
 
struct  FrameEvent
 
class  GUIReader
 
class  ImageViewReader
 
class  InputDelegate
 
class  LayoutReader
 
class  ListViewReader
 
class  LoadingBarReader
 
class  MovementBoneData
 
class  MovementData
 
struct  MovementEvent
 
class  PageViewReader
 
class  ParticleDisplayData
 
class  ProcessBase
 
struct  RelativeData
 
class  SceneReader
 
class  ScrollViewReader
 
class  Skin
 
class  SliderReader
 
class  SpriteDisplayData
 
class  SpriteFrameCacheHelper
 
struct  stCocoFileHeader
 
struct  stExpCocoAttribDesc
 
struct  stExpCocoNode
 
struct  stExpCocoObjectDesc
 
class  TextAtlasReader
 
class  TextBMFontReader
 
class  TextFieldReader
 
class  TextReader
 
class  TextureData
 
class  TransformHelp
 
class  TriggerMng
 
class  TriggerObj
 
class  Tween
 
class  WidgetPropertiesReader
 
class  WidgetPropertiesReader0250
 
class  WidgetPropertiesReader0300
 
class  WidgetReader
 
class  WidgetReaderProtocol
 

Typedefs

typedef ProcessBase CCProcessBase
typedef BaseData CCBaseData
typedef DisplayData CCDisplayData
typedef SpriteDisplayData CCSpriteDisplayData
typedef ArmatureDisplayData CCArmatureDisplayData
typedef ParticleDisplayData CCParticleDisplayData
typedef BoneData CCBoneData
typedef FrameData CCFrameData
typedef MovementBoneData CCMovementBoneData
typedef MovementData CCMovementData
typedef AnimationData CCAnimationData
typedef ContourData CCContourData
typedef TextureData CCTextureData
typedef DecorativeDisplay CCDecorativeDisplay
typedef DisplayFactory CCDisplayFactory
typedef BatchNode CCBatchNode
typedef DisplayManager CCDisplayManager
typedef ColliderBody CCColliderBody
typedef ColliderDetector CCColliderDetector
typedef SpriteFrameCacheHelper CCSpriteFrameCacheHelper
typedef ArmatureData CCArmatureData
typedef Bone CCBone
typedef ArmatureAnimation CCArmatureAnimation
typedef Armature CCArmature
typedef ArmatureDataManager CCArmatureDataManager
typedef
cocos2d::tweenfunc::TweenType 
CCTweenType
typedef void(cocos2d::Ref::* SEL_MovementEventCallFunc )(Armature *, MovementEventType, const std::string &)
typedef void(cocos2d::Ref::* SEL_FrameEventCallFunc )(Bone *, const std::string &, int, int)
typedef void(cocos2d::Ref::* SEL_ParseEvent )(const std::string &, cocos2d::Ref *, const rapidjson::Value &)

Enumerations

enum  FrameType {
  kKeyframeMove = 0, kKeyframeScale, kKeyframeRotate, kKeyframeTint,
  kKeyframeFade, kKeyframeMax
}
 
enum  FrameEaseType {
  Custom = -1, LINERAR = 0, SINE_EASEIN, SINE_EASEOUT,
  SINE_EASEINOUT, QUAD_EASEIN, QUAD_EASEOUT, QUAD_EASEINOUT,
  CUBIC_EASEIN, CUBIC_EASEOUT, CUBIC_EASEINOUT, QUART_EASEIN,
  QUART_EASEOUT, QUART_EASEINOUT, QUINT_EASEIN, QUINT_EASEOUT,
  QUINT_EASEINOUT, EXPO_EASEIN, EXPO_EASEOUT, EXPO_EASEINOUT,
  CIRC_EASEIN, CIRC_EASEOUT, CIRC_EASEINOUT, ELASTIC_EASEIN,
  ELASTIC_EASEOUT, ELASTIC_EASEINOUT, BACK_EASEIN, BACK_EASEOUT,
  BACK_EASEINOUT, BOUNCE_EASEIN, BOUNCE_EASEOUT, BOUNCE_EASEINOUT,
  TWEEN_EASING_MAX = 10000
}
 
enum  FrameEasingType {
  kframeEasingInstant, kframeEasingLinear, kframeEasingCubicIn, kframeEasingCubicOut,
  kframeEasingCubicInOut, kframeEasingElasticIn, kframeEasingElasticOut, kframeEasingElasticInOut,
  kframeEasingBounceIn, kframeEasingBounceOut, kframeEasingBounceInOut, kframeEasingBackIn,
  kframeEasingBackOut, kframeEasingBackInOut
}
 
enum  MovementEventType { START, COMPLETE, LOOP_COMPLETE }
 
enum  DisplayType { CS_DISPLAY_SPRITE, CS_DISPLAY_ARMATURE, CS_DISPLAY_PARTICLE, CS_DISPLAY_MAX }
 
enum  BlendType {
  BLEND_NORMAL, BLEND_LAYER, BLEND_DARKEN, BLEND_MULTIPLY,
  BLEND_LIGHTEN, BLEND_SCREEN, BLEND_OVERLAY, BLEND_HARD_LIGHT,
  BLEND_ADD, BLEND_SUBSTRACT, BLEND_DIFFERENCE, BLEND_INVERT,
  BLEND_ALPHA, BLEND_ERASE
}
 
enum  AnimationType {
  SINGLE_FRAME = -4, ANIMATION_NO_LOOP, ANIMATION_TO_LOOP_FRONT, ANIMATION_TO_LOOP_BACK,
  ANIMATION_LOOP_FRONT, ANIMATION_LOOP_BACK, ANIMATION_MAX
}
 

Functions

const char *  ()
bool CC_STUDIO_DLL  (cocos2d::Sprite *sprite, cocos2d::Vec2 point)
 hit test function More...
 
bool CC_STUDIO_DLL  (cocos2d::Sprite *sprite, cocos2d::Vec2 point, cocos2d::Vec2 &outPoint)
var  ( var sprite, var point, var outPoint)
local  ( local sprite, local point, local outPoint)
cocos2d::Vec2 CC_STUDIO_DLL  (float t, cocos2d::Vec2 &point1, cocos2d::Vec2 &point2, cocos2d::Vec2 &point3)
 motion curve function More...
 
cocos2d::Vec2 CC_STUDIO_DLL  (float t, cocos2d::Vec2 &point1, cocos2d::Vec2 &point2, cocos2d::Vec2 &point3, cocos2d::Vec2 &point4)
cocos2d::Vec2 CC_STUDIO_DLL  (float t, cocos2d::Vec2 &center, float radius, float fromRadian, float radianDif)

Variables

const char * P_IgnoreSize
const char * P_SizeType
const char * P_PositionType
const char * P_SizePercentX
const char * P_SizePercentY
const char * P_PositionPercentX
const char * P_PositionPercentY
const char * P_AdaptScreen
const char * P_Width
const char * P_Height
const char * P_Tag
const char * P_ActionTag
const char * P_TouchAble
const char * P_Name
const char * P_X
const char * P_Y
const char * P_ScaleX
const char * P_ScaleY
const char * P_Rotation
const char * P_Visbile
const char * P_ZOrder
const char * P_LayoutParameter
const char * P_Type
const char * P_Gravity
const char * P_RelativeName
const char * P_RelativeToName
const char * P_Align
const char * P_MarginLeft
const char * P_MarginRight
const char * P_MarginTop
const char * P_MarginDown
const char * P_Opacity
const char * P_ColorR
const char * P_ColorG
const char * P_ColorB
const char * P_FlipX
const char * P_FlipY
const char * P_AnchorPointX
const char * P_AnchorPointY
const char * P_ResourceType
const char * P_Path

Typedef Documentation

local CCArmature
local CCBaseData
local CCBatchNode
typedef Bone CCBone
var CCBone
local CCBone
local CCBoneData
local CCFrameData
local CCTweenType
typedef void(cocos2d::Ref::*
SEL_FrameEventCallFunc)(Bone
*, const std::string &, int,
int)
typedef void(cocos2d::Ref::*
SEL_FrameEventCallFunc)(Bone
*, const std::string &, int,
int)
typedef void(cocos2d::Ref::*
SEL_FrameEventCallFunc)(Bone
*, const std::string &, int,
int)
typedef void(cocos2d::Ref::*
SEL_MovementEventCallFunc)(Armature
*, MovementEventType, const
std::string &)
typedef void(cocos2d::Ref::*
SEL_MovementEventCallFunc)(Armature
*, MovementEventType, const
std::string &)
typedef void(cocos2d::Ref::*
SEL_MovementEventCallFunc)(Armature
*, MovementEventType, const
std::string &)
typedef void(cocos2d::Ref::*
SEL_ParseEvent)(const
std::string &, cocos2d::Ref
*, const rapidjson::Value &)
typedef void(cocos2d::Ref::*
SEL_ParseEvent)(const
std::string &, cocos2d::Ref
*, const rapidjson::Value &)
typedef void(cocos2d::Ref::*
SEL_ParseEvent)(const
std::string &, cocos2d::Ref
*, const rapidjson::Value &)

Enumeration Type Documentation

Enumerator
SINGLE_FRAME 
ANIMATION_NO_LOOP 

the animation just have one frame

ANIMATION_TO_LOOP_FRONT 

the animation isn't loop

ANIMATION_TO_LOOP_BACK 

the animation loop from front

ANIMATION_LOOP_FRONT 

the animation loop from back

ANIMATION_LOOP_BACK 

the animation loop from front

ANIMATION_MAX 

the animation loop from back

Enumerator
SINGLE_FRAME 
ANIMATION_NO_LOOP 

the animation just have one frame

ANIMATION_TO_LOOP_FRONT 

the animation isn't loop

ANIMATION_TO_LOOP_BACK 

the animation loop from front

ANIMATION_LOOP_FRONT 

the animation loop from back

ANIMATION_LOOP_BACK 

the animation loop from front

ANIMATION_MAX 

the animation loop from back

Enumerator
SINGLE_FRAME 
ANIMATION_NO_LOOP 

the animation just have one frame

ANIMATION_TO_LOOP_FRONT 

the animation isn't loop

ANIMATION_TO_LOOP_BACK 

the animation loop from front

ANIMATION_LOOP_FRONT 

the animation loop from back

ANIMATION_LOOP_BACK 

the animation loop from front

ANIMATION_MAX 

the animation loop from back

enum BlendType
Enumerator
BLEND_NORMAL 
BLEND_LAYER 
BLEND_DARKEN 
BLEND_MULTIPLY 
BLEND_LIGHTEN 
BLEND_SCREEN 
BLEND_OVERLAY 
BLEND_HARD_LIGHT 
BLEND_ADD 
BLEND_SUBSTRACT 
BLEND_DIFFERENCE 
BLEND_INVERT 
BLEND_ALPHA 
BLEND_ERASE 
var BlendType
Enumerator
BLEND_NORMAL 
BLEND_LAYER 
BLEND_DARKEN 
BLEND_MULTIPLY 
BLEND_LIGHTEN 
BLEND_SCREEN 
BLEND_OVERLAY 
BLEND_HARD_LIGHT 
BLEND_ADD 
BLEND_SUBSTRACT 
BLEND_DIFFERENCE 
BLEND_INVERT 
BLEND_ALPHA 
BLEND_ERASE 
local BlendType
Enumerator
BLEND_NORMAL 
BLEND_LAYER 
BLEND_DARKEN 
BLEND_MULTIPLY 
BLEND_LIGHTEN 
BLEND_SCREEN 
BLEND_OVERLAY 
BLEND_HARD_LIGHT 
BLEND_ADD 
BLEND_SUBSTRACT 
BLEND_DIFFERENCE 
BLEND_INVERT 
BLEND_ALPHA 
BLEND_ERASE 
Enumerator
CS_DISPLAY_SPRITE 
CS_DISPLAY_ARMATURE 

display is a single Sprite

CS_DISPLAY_PARTICLE 

display is a Armature

CS_DISPLAY_MAX 

display is a CCParticle.

Enumerator
CS_DISPLAY_SPRITE 
CS_DISPLAY_ARMATURE 

display is a single Sprite

CS_DISPLAY_PARTICLE 

display is a Armature

CS_DISPLAY_MAX 

display is a CCParticle.

local DisplayType
Enumerator
CS_DISPLAY_SPRITE 
CS_DISPLAY_ARMATURE 

display is a single Sprite

CS_DISPLAY_PARTICLE 

display is a Armature

CS_DISPLAY_MAX 

display is a CCParticle.

enum FrameEaseType
strong
Enumerator
Custom 
LINERAR 
SINE_EASEIN 
SINE_EASEOUT 
SINE_EASEINOUT 
QUAD_EASEIN 
QUAD_EASEOUT 
QUAD_EASEINOUT 
CUBIC_EASEIN 
CUBIC_EASEOUT 
CUBIC_EASEINOUT 
QUART_EASEIN 
QUART_EASEOUT 
QUART_EASEINOUT 
QUINT_EASEIN 
QUINT_EASEOUT 
QUINT_EASEINOUT 
EXPO_EASEIN 
EXPO_EASEOUT 
EXPO_EASEINOUT 
CIRC_EASEIN 
CIRC_EASEOUT 
CIRC_EASEINOUT 
ELASTIC_EASEIN 
ELASTIC_EASEOUT 
ELASTIC_EASEINOUT 
BACK_EASEIN 
BACK_EASEOUT 
BACK_EASEINOUT 
BOUNCE_EASEIN 
BOUNCE_EASEOUT 
BOUNCE_EASEINOUT 
TWEEN_EASING_MAX 
var FrameEaseType
strong
Enumerator
Custom 
LINERAR 
SINE_EASEIN 
SINE_EASEOUT 
SINE_EASEINOUT 
QUAD_EASEIN 
QUAD_EASEOUT 
QUAD_EASEINOUT 
CUBIC_EASEIN 
CUBIC_EASEOUT 
CUBIC_EASEINOUT 
QUART_EASEIN 
QUART_EASEOUT 
QUART_EASEINOUT 
QUINT_EASEIN 
QUINT_EASEOUT 
QUINT_EASEINOUT 
EXPO_EASEIN 
EXPO_EASEOUT 
EXPO_EASEINOUT 
CIRC_EASEIN 
CIRC_EASEOUT 
CIRC_EASEINOUT 
ELASTIC_EASEIN 
ELASTIC_EASEOUT 
ELASTIC_EASEINOUT 
BACK_EASEIN 
BACK_EASEOUT 
BACK_EASEINOUT 
BOUNCE_EASEIN 
BOUNCE_EASEOUT 
BOUNCE_EASEINOUT 
TWEEN_EASING_MAX 
local FrameEaseType
strong
Enumerator
Custom 
LINERAR 
SINE_EASEIN 
SINE_EASEOUT 
SINE_EASEINOUT 
QUAD_EASEIN 
QUAD_EASEOUT 
QUAD_EASEINOUT 
CUBIC_EASEIN 
CUBIC_EASEOUT 
CUBIC_EASEINOUT 
QUART_EASEIN 
QUART_EASEOUT 
QUART_EASEINOUT 
QUINT_EASEIN 
QUINT_EASEOUT 
QUINT_EASEINOUT 
EXPO_EASEIN 
EXPO_EASEOUT 
EXPO_EASEINOUT 
CIRC_EASEIN 
CIRC_EASEOUT 
CIRC_EASEINOUT 
ELASTIC_EASEIN 
ELASTIC_EASEOUT 
ELASTIC_EASEINOUT 
BACK_EASEIN 
BACK_EASEOUT 
BACK_EASEINOUT 
BOUNCE_EASEIN 
BOUNCE_EASEOUT 
BOUNCE_EASEINOUT 
TWEEN_EASING_MAX 
Enumerator
kframeEasingInstant 
kframeEasingLinear 
kframeEasingCubicIn 
kframeEasingCubicOut 
kframeEasingCubicInOut 
kframeEasingElasticIn 
kframeEasingElasticOut 
kframeEasingElasticInOut 
kframeEasingBounceIn 
kframeEasingBounceOut 
kframeEasingBounceInOut 
kframeEasingBackIn 
kframeEasingBackOut 
kframeEasingBackInOut 
Enumerator
kframeEasingInstant 
kframeEasingLinear 
kframeEasingCubicIn 
kframeEasingCubicOut 
kframeEasingCubicInOut 
kframeEasingElasticIn 
kframeEasingElasticOut 
kframeEasingElasticInOut 
kframeEasingBounceIn 
kframeEasingBounceOut 
kframeEasingBounceInOut 
kframeEasingBackIn 
kframeEasingBackOut 
kframeEasingBackInOut 
Enumerator
kframeEasingInstant 
kframeEasingLinear 
kframeEasingCubicIn 
kframeEasingCubicOut 
kframeEasingCubicInOut 
kframeEasingElasticIn 
kframeEasingElasticOut 
kframeEasingElasticInOut 
kframeEasingBounceIn 
kframeEasingBounceOut 
kframeEasingBounceInOut 
kframeEasingBackIn 
kframeEasingBackOut 
kframeEasingBackInOut 
enum FrameType
Enumerator
kKeyframeMove 
kKeyframeScale 
kKeyframeRotate 
kKeyframeTint 
kKeyframeFade 
kKeyframeMax 
var FrameType
Enumerator
kKeyframeMove 
kKeyframeScale 
kKeyframeRotate 
kKeyframeTint 
kKeyframeFade 
kKeyframeMax 
local FrameType
Enumerator
kKeyframeMove 
kKeyframeScale 
kKeyframeRotate 
kKeyframeTint 
kKeyframeFade 
kKeyframeMax 
Enumerator
START 
COMPLETE 
LOOP_COMPLETE 
Enumerator
START 
COMPLETE 
LOOP_COMPLETE 
Enumerator
START 
COMPLETE 
LOOP_COMPLETE 

Function Documentation

bool CC_STUDIO_DLL
cocostudio::isSpriteContainPoint
( cocos2d::Sprite sprite,
cocos2d::Vec2  point 
)

hit test function

var isSpriteContainPoint ( var  sprite,
var  point 
)

hit test function

local isSpriteContainPoint ( local  sprite,
local  point 
)

hit test function

bool CC_STUDIO_DLL
cocostudio::isSpriteContainPoint
( cocos2d::Sprite sprite,
cocos2d::Vec2  point,
cocos2d::Vec2 &  outPoint 
)
var isSpriteContainPoint ( var  sprite,
var  point,
var  outPoint 
)
local isSpriteContainPoint ( local  sprite,
local  point,
local  outPoint 
)
cocos2d::Vec2 CC_STUDIO_DLL
cocostudio::bezierTo
( float  t,
cocos2d::Vec2 &  point1,
cocos2d::Vec2 &  point2,
cocos2d::Vec2 &  point3 
)

motion curve function

var bezierTo ( var  t,
var  point1,
var  point2,
var  point3 
)

motion curve function

local bezierTo ( local  t,
local  point1,
local  point2,
local  point3 
)

motion curve function

cocos2d::Vec2 CC_STUDIO_DLL
cocostudio::bezierTo
( float  t,
cocos2d::Vec2 &  point1,
cocos2d::Vec2 &  point2,
cocos2d::Vec2 &  point3,
cocos2d::Vec2 &  point4 
)
var bezierTo ( var  t,
var  point1,
var  point2,
var  point3,
var  point4 
)
local bezierTo ( local  t,
local  point1,
local  point2,
local  point3,
local  point4 
)
cocos2d::Vec2 CC_STUDIO_DLL
cocostudio::circleTo
( float  t,
cocos2d::Vec2 &  center,
float  radius,
float  fromRadian,
float  radianDif 
)
var circleTo ( var  t,
var  center,
var  radius,
var  fromRadian,
var  radianDif 
)
local circleTo ( local  t,
local  center,
local  radius,
local  fromRadian,
local  radianDif 
)
const char*
cocostudio::armatureVersion
( )
var armatureVersion ( )
local armatureVersion ( )

Variable Documentation

const char* P_ActionTag
var P_ActionTag
local P_ActionTag
const char* P_AdaptScreen
const char* P_Align
var P_Align
local P_Align
const char* P_AnchorPointX
var P_AnchorPointX
local P_AnchorPointX
const char* P_AnchorPointY
var P_AnchorPointY
local P_AnchorPointY
const char* P_ColorB
var P_ColorB
local P_ColorB
const char* P_ColorG
var P_ColorG
local P_ColorG
const char* P_ColorR
var P_ColorR
local P_ColorR
const char* P_FlipX
var P_FlipX
local P_FlipX
const char* P_FlipY
var P_FlipY
local P_FlipY
const char* P_Gravity
var P_Gravity
local P_Gravity
const char* P_Height
var P_Height
local P_Height
const char* P_IgnoreSize
var P_IgnoreSize
local P_IgnoreSize
const char* P_LayoutParameter
var P_LayoutParameter
const char* P_MarginDown
var P_MarginDown
local P_MarginDown
const char* P_MarginLeft
var P_MarginLeft
local P_MarginLeft
const char* P_MarginRight
var P_MarginRight
local P_MarginRight
const char* P_MarginTop
var P_MarginTop
local P_MarginTop
const char* P_Name
var P_Name
local P_Name
const char* P_Opacity
var P_Opacity
local P_Opacity
const char* P_Path
var P_Path
local P_Path
const char* P_PositionPercentX
var P_PositionPercentX
local P_PositionPercentX
const char* P_PositionPercentY
var P_PositionPercentY
local P_PositionPercentY
const char* P_PositionType
var P_PositionType
local P_PositionType
const char* P_RelativeName
var P_RelativeName
local P_RelativeName
const char* P_RelativeToName
var P_RelativeToName
local P_RelativeToName
const char* P_ResourceType
var P_ResourceType
local P_ResourceType
const char* P_Rotation
const char* P_ScaleX
var P_ScaleX
local P_ScaleX
const char* P_ScaleY
var P_ScaleY
local P_ScaleY
const char* P_SizePercentX
var P_SizePercentX
local P_SizePercentX
const char* P_SizePercentY
var P_SizePercentY
local P_SizePercentY
const char* P_SizeType
var P_SizeType
local P_SizeType
const char* P_Tag
var P_Tag
local P_Tag
const char* P_TouchAble
var P_TouchAble
local P_TouchAble
const char* P_Type
var P_Type
local P_Type
const char* P_Visbile
var P_Visbile
local P_Visbile
const char* P_Width
const char* P_X
var P_X
const char* P_Y
var P_Y
local P_Y
const char* P_ZOrder