Skip to content

thevistadev/CC-extended

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CC-level-editor

Below is the list of New API commands that we can use in the custom client.

ccbGetAnimatedJointCount(animatednode) - Returns the number of bones(joint) of an animated scenenode

ccbGetAnimatedJointName(animatednode,jointIndex) - Returns the name of the bone(joint) of an animated scenenode, joint index is the index of bone it should be less than the AnimatedJointCount

ccbGetCurrentAnimationFrame(animatednode) - Returns the current animation frame playing in the scene by the animated scenenode

ccbSetCurrentAnimationFrame(animatednode, framenumber) - Set the current animation to be played from a supplied animation framenumber.

ccbSetAnimationFromSceneNode(node1, node2, animationname) - Set animation of animated scenenode from the animation of another animated scenenode that poses same skeleton(rig). First node is to which the animation will be applied, second node is from which the animation will be used, Animation name is the name of the animation that should be used.

ccbGetTextureWidth(texture) - Returns the Width of a texture.

ccbGetTextureHeight(texture) - Returns the Height of a texture.

ccbPauseAllSounds(true/false) - Pause and unpause all sounds node (True means pause, False means unpause).

ccbSetDopplerEffectParameters(DopplerFactor, DistanceFactor) - Sets the DopplerEffect parameters to a different value. CC uses (1.0,1.0) as default parameters.The value ranges from 1.0 to 10.0

ccbSetMousePos(mouseX,mouseY) - Set new position of the mouse on the game screen

ccbRenderToTexture(node, camera, material index, X resolution, Y resolution) - Captures the screen and apply it as a texture on a scenenode

ccbSplitScreen(cam1,x1,y1,x2,y2, cam2,x3,y3,x4,y4) - Splits the Screen into two with 2 camera's rendering at the same time

->Fixed the bug for Texture parameter fo the external scripted extensions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published