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

Classes

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

Typedefs

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  (cocos2d::Sprite *sprite, cocos2d::Point point)
 hit test function More...
 
bool  (cocos2d::Sprite *sprite, cocos2d::Point point, cocos2d::Point &outPoint)
cocos2d::Point  (float t, cocos2d::Point &point1, cocos2d::Point &point2, cocos2d::Point &point3)
 motion curve function More...
 
cocos2d::Point  (float t, cocos2d::Point &point1, cocos2d::Point &point2, cocos2d::Point &point3, cocos2d::Point &point4)
cocos2d::Point  (float t, cocos2d::Point &center, float radius, float fromRadian, float radianDif)
var  ( var t, var center, var radius, var fromRadian, var radianDif)
local  ( local t, local center, local radius, local fromRadian, local radianDif)

Variables

CC_DEPRECATED_ATTRIBUTE
typedef ProcessBase 
CCProcessBase
var CCProcessBase
local CCProcessBase
CC_DEPRECATED_ATTRIBUTE
typedef BaseData 
CCBaseData
CC_DEPRECATED_ATTRIBUTE
typedef DisplayData 
CCDisplayData
CC_DEPRECATED_ATTRIBUTE
typedef SpriteDisplayData 
CCSpriteDisplayData
CC_DEPRECATED_ATTRIBUTE
typedef ArmatureDisplayData 
CCArmatureDisplayData
CC_DEPRECATED_ATTRIBUTE
typedef ParticleDisplayData 
CCParticleDisplayData
CC_DEPRECATED_ATTRIBUTE
typedef BoneData 
CCBoneData
CC_DEPRECATED_ATTRIBUTE
typedef FrameData 
CCFrameData
CC_DEPRECATED_ATTRIBUTE
typedef MovementBoneData 
CCMovementBoneData
local CCMovementBoneData
CC_DEPRECATED_ATTRIBUTE
typedef MovementData 
CCMovementData
CC_DEPRECATED_ATTRIBUTE
typedef AnimationData 
CCAnimationData
CC_DEPRECATED_ATTRIBUTE
typedef ContourData 
CCContourData
CC_DEPRECATED_ATTRIBUTE
typedef TextureData 
CCTextureData
CC_DEPRECATED_ATTRIBUTE
typedef DecorativeDisplay 
CCDecorativeDisplay
CC_DEPRECATED_ATTRIBUTE
typedef DisplayFactory 
CCDisplayFactory
CC_DEPRECATED_ATTRIBUTE
typedef BatchNode 
CCBatchNode
CC_DEPRECATED_ATTRIBUTE
typedef DisplayManager 
CCDisplayManager
CC_DEPRECATED_ATTRIBUTE
typedef ColliderBody 
CCColliderBody
CC_DEPRECATED_ATTRIBUTE
typedef ColliderDetector 
CCColliderDetector
local CCColliderDetector
CC_DEPRECATED_ATTRIBUTE
typedef SpriteFrameCacheHelper 
CCSpriteFrameCacheHelper
CC_DEPRECATED_ATTRIBUTE
typedef ArmatureData 
CCArmatureData
CC_DEPRECATED_ATTRIBUTE
typedef Bone 
CCBone
var CCBone
local CCBone
CC_DEPRECATED_ATTRIBUTE
typedef ArmatureAnimation 
CCArmatureAnimation
CC_DEPRECATED_ATTRIBUTE
typedef Armature 
CCArmature
CC_DEPRECATED_ATTRIBUTE
typedef ArmatureDataManager 
CCArmatureDataManager
CC_DEPRECATED_ATTRIBUTE
typedef
cocos2d::tweenfunc::TweenType 
CCTweenType

Typedef Documentation

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
cocostudio::isSpriteContainPoint
( cocos2d::Sprite sprite,
cocos2d::Point  point 
)

hit test function

var isSpriteContainPoint ( var  sprite,
var  point 
)

hit test function

local isSpriteContainPoint ( local  sprite,
local  point 
)

hit test function

bool
cocostudio::isSpriteContainPoint
( cocos2d::Sprite sprite,
cocos2d::Point  point,
cocos2d::Point outPoint 
)
var isSpriteContainPoint ( var  sprite,
var  point,
var  outPoint 
)
local isSpriteContainPoint ( local  sprite,
local  point,
local  outPoint 
)
cocos2d::Point cocostudio::bezierTo ( float  t,
cocos2d::Point point1,
cocos2d::Point point2,
cocos2d::Point 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::Point cocostudio::bezierTo ( float  t,
cocos2d::Point point1,
cocos2d::Point point2,
cocos2d::Point point3,
cocos2d::Point 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::Point cocostudio::circleTo ( float  t,
cocos2d::Point 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

CC_DEPRECATED_ATTRIBUTE
typedef AnimationData
CCAnimationData
var CCAnimationData
local CCAnimationData
CC_DEPRECATED_ATTRIBUTE
typedef Armature CCArmature
var CCArmature
local CCArmature
CC_DEPRECATED_ATTRIBUTE
typedef ArmatureAnimation
CCArmatureAnimation
var CCArmatureAnimation
local CCArmatureAnimation
CC_DEPRECATED_ATTRIBUTE
typedef ArmatureData
CCArmatureData
var CCArmatureData
local CCArmatureData
CC_DEPRECATED_ATTRIBUTE
typedef ArmatureDataManager
CCArmatureDataManager
var CCArmatureDataManager
local CCArmatureDataManager
CC_DEPRECATED_ATTRIBUTE
typedef ArmatureDisplayData
CCArmatureDisplayData
var CCArmatureDisplayData
local CCArmatureDisplayData
CC_DEPRECATED_ATTRIBUTE
typedef BaseData CCBaseData
var CCBaseData
local CCBaseData
CC_DEPRECATED_ATTRIBUTE
typedef BatchNode CCBatchNode
var CCBatchNode
local CCBatchNode
CC_DEPRECATED_ATTRIBUTE
typedef Bone CCBone
var CCBone
local CCBone
CC_DEPRECATED_ATTRIBUTE
typedef BoneData CCBoneData
var CCBoneData
local CCBoneData
CC_DEPRECATED_ATTRIBUTE
typedef ColliderBody
CCColliderBody
var CCColliderBody
local CCColliderBody
CC_DEPRECATED_ATTRIBUTE
typedef ColliderDetector
CCColliderDetector
var CCColliderDetector
local CCColliderDetector
CC_DEPRECATED_ATTRIBUTE
typedef ContourData
CCContourData
var CCContourData
local CCContourData
CC_DEPRECATED_ATTRIBUTE
typedef DecorativeDisplay
CCDecorativeDisplay
var CCDecorativeDisplay
local CCDecorativeDisplay
CC_DEPRECATED_ATTRIBUTE
typedef DisplayData
CCDisplayData
var CCDisplayData
local CCDisplayData
CC_DEPRECATED_ATTRIBUTE
typedef DisplayFactory
CCDisplayFactory
var CCDisplayFactory
local CCDisplayFactory
CC_DEPRECATED_ATTRIBUTE
typedef DisplayManager
CCDisplayManager
var CCDisplayManager
local CCDisplayManager
CC_DEPRECATED_ATTRIBUTE
typedef FrameData CCFrameData
var CCFrameData
local CCFrameData
CC_DEPRECATED_ATTRIBUTE
typedef MovementBoneData
CCMovementBoneData
var CCMovementBoneData
local CCMovementBoneData
CC_DEPRECATED_ATTRIBUTE
typedef MovementData
CCMovementData
var CCMovementData
local CCMovementData
CC_DEPRECATED_ATTRIBUTE
typedef ParticleDisplayData
CCParticleDisplayData
var CCParticleDisplayData
local CCParticleDisplayData
CC_DEPRECATED_ATTRIBUTE
typedef ProcessBase
CCProcessBase
var CCProcessBase
local CCProcessBase
CC_DEPRECATED_ATTRIBUTE
typedef SpriteDisplayData
CCSpriteDisplayData
var CCSpriteDisplayData
local CCSpriteDisplayData
CC_DEPRECATED_ATTRIBUTE
typedef SpriteFrameCacheHelper
CCSpriteFrameCacheHelper
var CCSpriteFrameCacheHelper
local CCSpriteFrameCacheHelper
CC_DEPRECATED_ATTRIBUTE
typedef TextureData
CCTextureData
var CCTextureData
local CCTextureData
var CCTweenType
local CCTweenType