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

Namespaces

 timeline
 

Classes

class  ActionFadeFrame
 NA NA More...
 
class  ActionFrame
 NA NA More...
 
class  ActionFrameEasing
 NA NA More...
 
class  ActionManagerEx
 
class  ActionMoveFrame
 NA NA More...
 
class  ActionNode
 NA NA More...
 
class  ActionObject
 NA NA More...
 
class  ActionRotationFrame
 NA NA More...
 
class  ActionScaleFrame
 NA NA More...
 
class  ActionTintFrame
 NA NA More...
 
class  AnimationData
 AnimationData include all movement infomation for the Armature The struct is AnimationData -> MovementData -> MovementBoneData -> FrameData -> MovementFrameData NA NA. More...
 
class  Armature
 
class  ArmatureAnimation
 
class  ArmatureData
 ArmatureData saved the Armature name and Bonedata needed for the CCBones in this Armature When we create a Armature, we need to get each Bone's BoneData as it's init information. More...
 
class  ArmatureDataManager
 format and manage armature configuration and armature animation More...
 
class  ArmatureDisplayData
 NA NA More...
 
class  ArmatureMovementDispatcher
 
class  BaseData
 The base node include a lot of attributes. More...
 
class  BaseTriggerAction
 
class  BaseTriggerCondition
 
class  BatchNode
 
class  Bone
 
class  BoneData
 BoneData used to init a Bone. More...
 
class  ButtonReader
 
class  CheckBoxReader
 
class  CocoLoader
 
class  ColliderBody
 
class  ColliderDetector
 
class  ColliderFilter
 NA NA More...
 
class  ComAttribute
 
class  ComAudio
 
class  ComAudioReader
 
class  ComController
 
class  ComRender
 
class  ContourData
 
class  CustomGUIReader
 
class  DataReaderHelper
 NA NA More...
 
class  DecorativeDisplay
 NA NA More...
 
class  DictionaryHelper
 NA NA More...
 
class  DisplayData
 NA NA More...
 
class  DisplayFactory
 NA NA More...
 
class  DisplayManager
 ! DisplayManager manages Bone's display NA NA More...
 
class  FlatBuffersSerialize
 
class  FrameData
 NA NA More...
 
struct  FrameEvent
 
class  GameMapReader
 
class  GUIReader
 
class  ImageViewReader
 
class  InputDelegate
 NA More...
 
class  LayoutReader
 
class  ListViewReader
 
class  LoadingBarReader
 
class  MovementBoneData
 NA NA More...
 
class  MovementData
 NA NA More...
 
struct  MovementEvent
 
class  NodeReader
 
class  NodeReaderProtocol
 
class  PageViewReader
 
class  ParticleDisplayData
 NA NA More...
 
class  ParticleReader
 
class  ProcessBase
 NA NA More...
 
class  ProjectNodeReader
 
struct  RelativeData
 
class  SceneReader
 
class  ScrollViewReader
 
class  SingleNodeReader
 
class  Skin
 
class  SliderReader
 
class  SpriteDisplayData
 NA NA More...
 
class  SpriteFrameCacheHelper
 NA NA More...
 
class  SpriteReader
 
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
 NA NA More...
 
class  WidgetCallBackHandlerProtocol
 
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 }
 DisplayType distinguish which type your display is. More...
 
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 * armatureVersion ()
 
bool CC_STUDIO_DLL isSpriteContainPoint (cocos2d::Sprite *sprite, cocos2d::Vec2 point)
 hit test function More...
 
bool CC_STUDIO_DLL isSpriteContainPoint (cocos2d::Sprite *sprite, cocos2d::Vec2 point, cocos2d::Vec2 &outPoint)
 
cocos2d::Vec2 CC_STUDIO_DLL bezierTo (float t, cocos2d::Vec2 &point1, cocos2d::Vec2 &point2, cocos2d::Vec2 &point3)
 motion curve function More...
 
cocos2d::Vec2 CC_STUDIO_DLL bezierTo (float t, cocos2d::Vec2 &point1, cocos2d::Vec2 &point2, cocos2d::Vec2 &point3, cocos2d::Vec2 &point4)
 
cocos2d::Vec2 CC_STUDIO_DLL circleTo (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

typedef Bone CCBone
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_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

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 

DisplayType distinguish which type your display is.

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 
Enumerator
kframeEasingInstant 
kframeEasingLinear 
kframeEasingCubicIn 
kframeEasingCubicOut 
kframeEasingCubicInOut 
kframeEasingElasticIn 
kframeEasingElasticOut 
kframeEasingElasticInOut 
kframeEasingBounceIn 
kframeEasingBounceOut 
kframeEasingBounceInOut 
kframeEasingBackIn 
kframeEasingBackOut 
kframeEasingBackInOut 
enum FrameType
Enumerator
kKeyframeMove 
kKeyframeScale 
kKeyframeRotate 
kKeyframeTint 
kKeyframeFade 
kKeyframeMax 
Enumerator
START 
COMPLETE 
LOOP_COMPLETE 

Function Documentation

const char* cocostudio::armatureVersion ( )
cocos2d::Vec2 CC_STUDIO_DLL cocostudio::bezierTo ( float  t,
cocos2d::Vec2 &  point1,
cocos2d::Vec2 &  point2,
cocos2d::Vec2 &  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 
)
cocos2d::Vec2 CC_STUDIO_DLL cocostudio::circleTo ( float  t,
cocos2d::Vec2 &  center,
float  radius,
float  fromRadian,
float  radianDif 
)
bool CC_STUDIO_DLL cocostudio::isSpriteContainPoint ( cocos2d::Sprite sprite,
cocos2d::Vec2  point 
)

hit test function

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

Variable Documentation

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