Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZhouWeikuan/cocos2d
/ functions
Functions
6,824 in github.com/ZhouWeikuan/cocos2d
⨍
Functions
6,824
◇
Types & classes
1,288
↓ 400 callers
Method
sharedDirector
returns a shared instance of the director
cocos2d-android/src/org/cocos2d/nodes/CCDirector.java:477
↓ 396 callers
Function
cpv
cocos2d-iphone/external/Chipmunk/include/chipmunk/cpVect.h:24
↓ 381 callers
Method
ccp
Helper macro that creates a CCPoint @return CCPoint
cocos2d-android/src/org/cocos2d/types/CGPoint.java:62
↓ 298 callers
Method
get
(int key)
cocos2d-android/src/org/cocos2d/utils/collections/IntMap.java:85
↓ 290 callers
Method
addChild
(CCNode child, int z, int tag)
cocos2d-android/src/org/cocos2d/nodes/CCNode.java:543
↓ 290 callers
Method
put
(int key, T value)
cocos2d-android/src/org/cocos2d/utils/collections/IntMap.java:95
↓ 275 callers
Function
png_warning
This function is called whenever there is a non-fatal error. This function * should not be changed. If there is a need to handle warnings different
cocos2d-iphone/external/libpng/pngerror.c:105
↓ 260 callers
Method
Set
Set this vector to some specified coordinates.
cocos2d-iphone/external/Box2d/Box2D/Common/b2Math.h:81
↓ 258 callers
Method
add
Called when a contact point is added. This includes the geometry and the forces.
JBox2D_2.0.1/src/org/jbox2d/dynamics/ContactListener.java:51
↓ 253 callers
Method
setPosition
(CGPoint pnt)
cocos2d-android/src/org/cocos2d/nodes/CCNode.java:345
↓ 248 callers
Method
runAction
Executes an action, and returns the action that is executed. The node becomes the action's target. @warning Starting from v0.8 actions don
cocos2d-android/src/org/cocos2d/nodes/CCNode.java:847
↓ 208 callers
Method
CreateFixture
cocos2d-iphone/external/Box2d/Box2D/Dynamics/b2Body.cpp:139
↓ 179 callers
Method
make
(float x, float y)
cocos2d-android/src/org/cocos2d/types/CGPoint.java:18
↓ 173 callers
Function
b2Cross
Perform the cross product on two vectors. In 2D this produces a scalar.
cocos2d-iphone/external/Box2d/Box2D/Common/b2Math.h:394
↓ 172 callers
Method
actions
helper contructor to create an array of sequenceable actions
cocos2d-android/src/org/cocos2d/actions/interval/CCSequence.java:18
↓ 163 callers
Function
b2Mul
Multiply a matrix times a vector. If a rotation matrix is provided, then this transforms the vector from one frame to another.
cocos2d-iphone/external/Box2d/Box2D/Common/b2Math.h:415
↓ 152 callers
Method
CreateBody
cocos2d-iphone/external/Box2d/Box2D/Dynamics/b2World.cpp:82
↓ 152 callers
Method
sub
Return the difference of this vector and another; does not alter either one.
JBox2D_2.0.1/src/org/jbox2d/common/Vec2.java:80
↓ 151 callers
Method
size
()
cocos2d-android/src/org/cocos2d/utils/collections/IntMap.java:156
↓ 139 callers
Function
png_error
cocos2d-iphone/external/libpng/pngerror.c:39
↓ 130 callers
Method
winSize
returns the size of the OpenGL view in pixels, according to the landspace
cocos2d-android/src/org/cocos2d/nodes/CCDirector.java:751
↓ 115 callers
Method
createShape
Creates a shape and attach it to this body. <BR><em>Warning</em>: This function is locked during callbacks. @param def the shape definition.
JBox2D_2.0.1/src/org/jbox2d/dynamics/Body.java:189
↓ 113 callers
Function
b2Dot
Perform the dot product on two vectors.
cocos2d-iphone/external/Box2d/Box2D/Common/b2Math.h:388
↓ 104 callers
Method
SetAsBox
cocos2d-iphone/external/Box2d/Box2D/Collision/Shapes/b2PolygonShape.cpp:30
↓ 100 callers
Method
action
creates the action
cocos2d-android/src/org/cocos2d/actions/base/CCRepeatForever.java:15
↓ 100 callers
Method
createBody
Create a body given a definition. No reference to the definition is retained. Body will be static unless mass is nonzero. <BR><em>Warning</em>: This
JBox2D_2.0.1/src/org/jbox2d/dynamics/World.java:237
↓ 98 callers
Method
get
(int index)
cocos2d-android/src/com/badlogic/gdx/utils/Array.java:124
↓ 96 callers
Method
ccg
(final int x, final int y)
cocos2d-android/src/org/cocos2d/types/ccGridSize.java:9
↓ 94 callers
Method
CCLOG
(final String logName, final String logStr)
cocos2d-android/src/org/cocos2d/config/ccMacros.java:33
↓ 94 callers
Method
copy
()
cocos2d-android/src/org/cocos2d/actions/interval/CCIntervalAction.java:47
↓ 93 callers
Function
cpvadd
cocos2d-iphone/external/Chipmunk/include/chipmunk/cpVect.h:39
↓ 93 callers
Function
oggpack_read
bits <= 32 */
cocos2d-iphone/external/Tremor/bitwise.c:176
↓ 91 callers
Method
sprite
Creates an sprite with a texture. The rect used will be the size of the texture. The offset will be (0,0).
cocos2d-android/src/org/cocos2d/nodes/CCSprite.java:239
↓ 85 callers
Function
png_crc_finish
Optionally skip data and then check the CRC. Depending on whether we * are reading a ancillary or critical chunk, and how the program has set * thi
cocos2d-iphone/external/libpng/pngrutil.c:152
↓ 85 callers
Method
set
Set the vector component-wise.
JBox2D_2.0.1/src/org/jbox2d/common/Vec2.java:63
↓ 83 callers
Function
cpSpaceAddConstraint
cocos2d-iphone/external/Chipmunk/src/cpSpace.c:354
↓ 81 callers
Method
equals
Compares this text builder against the specified object for equality. Returns <code>true</code> if the specified object is a text builder having the s
cocos2d-android/src/org/cocos2d/utils/javolution/TextBuilder.java:777
↓ 76 callers
Method
GetTransform
cocos2d-iphone/external/Box2d/Box2D/Common/b2Math.h:599
↓ 69 callers
Method
reverse
returns a reversed action
cocos2d-android/src/org/cocos2d/actions/interval/CCIntervalAction.java:77
↓ 68 callers
Function
cpvmult
cocos2d-iphone/external/Chipmunk/include/chipmunk/cpVect.h:57
↓ 68 callers
Method
cross
(Vec2 a, Vec2 b)
JBox2D_2.0.1/src/org/jbox2d/common/Vec2.java:180
↓ 67 callers
Method
node
()
cocos2d-android/src/org/cocos2d/layers/CCScene.java:19
↓ 66 callers
Method
mul
Multiply a vector by this matrix. @param v Vector to multiply by matrix. @return Resulting vector
JBox2D_2.0.1/src/org/jbox2d/common/Mat22.java:187
↓ 65 callers
Method
make
(final CGPoint origin, final CGSize size)
cocos2d-android/src/org/cocos2d/types/CGRect.java:24
↓ 65 callers
Method
set
(Bound b)
JBox2D_2.0.1/src/org/jbox2d/collision/Bound.java:47
↓ 65 callers
Method
zero
()
cocos2d-android/src/org/cocos2d/types/CGPoint.java:14
↓ 63 callers
Method
setAsBox
Build vertices to represent an axis-aligned box. @param hx the half-width. @param hy the half-height.
JBox2D_2.0.1/src/org/jbox2d/collision/PolygonDef.java:82
↓ 63 callers
Method
setMassFromShapes
Compute the mass properties from the attached shapes. You typically call this after adding all the shapes. If you add or remove shapes later, you may
JBox2D_2.0.1/src/org/jbox2d/dynamics/Body.java:336
↓ 61 callers
Method
set
Sets the plane normal and distance to the origin based on the three given points which are considered to be on the plane. The normal is calculated via
cocos2d-android/src/com/badlogic/gdx/math/Plane.java:72
↓ 60 callers
Method
GetWorldPoint
cocos2d-iphone/external/Box2d/Box2D/Dynamics/b2Body.h:532
↓ 60 callers
Method
action
creates the action
cocos2d-android/src/org/cocos2d/actions/interval/CCMoveBy.java:12
↓ 60 callers
Function
cpSegmentShapeNew
cocos2d-iphone/external/Chipmunk/src/cpShape.c:351
↓ 59 callers
Method
CreateJoint
cocos2d-iphone/external/Box2d/Box2D/Dynamics/b2World.cpp:182
↓ 59 callers
Method
schedule
schedules a selector. The scheduled selector will be ticked every frame
cocos2d-android/src/org/cocos2d/nodes/CCNode.java:925
↓ 58 callers
Method
getChildByTag
Gets a child from the container given its tag @return returns a CCNode object @since v0.7.1
cocos2d-android/src/org/cocos2d/nodes/CCNode.java:655
↓ 57 callers
Function
cpBodyNew
cocos2d-iphone/external/Chipmunk/src/cpBody.c:64
↓ 57 callers
Method
item
creates a menu item with a normal and selected image
cocos2d-android/src/org/cocos2d/menus/CCMenuItemImage.java:18
↓ 57 callers
Method
remove
Called when a contact point is removed. This includes the last computed geometry and forces.
JBox2D_2.0.1/src/org/jbox2d/dynamics/ContactListener.java:63
↓ 56 callers
Method
dot
(Vec2 a, Vec2 b)
JBox2D_2.0.1/src/org/jbox2d/common/Vec2.java:176
↓ 54 callers
Function
cpSpaceAddStaticShape
cocos2d-iphone/external/Chipmunk/src/cpSpace.c:329
↓ 54 callers
Function
cpvdot
cocos2d-iphone/external/Chipmunk/include/chipmunk/cpVect.h:63
↓ 54 callers
Method
setVisible
(boolean visible)
cocos2d-android/src/org/cocos2d/nodes/CCNode.java:395
↓ 52 callers
Method
pow
Returns the value of the first argument raised to the power of the second argument. @param x the base. @param y the exponent. @return <code>x<sup>y</
cocos2d-android/src/org/cocos2d/utils/javolution/MathLib.java:982
↓ 50 callers
Method
getContentSize
()
cocos2d-android/src/org/cocos2d/nodes/CCNode.java:267
↓ 49 callers
Method
SetAsEdge
cocos2d-iphone/external/Box2d/Box2D/Collision/Shapes/b2PolygonShape.cpp:69
↓ 47 callers
Method
mulLocal
Multiply this vector by a number and return result - alters this vector.
JBox2D_2.0.1/src/org/jbox2d/common/Vec2.java:116
↓ 46 callers
Function
cpvsub
cocos2d-iphone/external/Chipmunk/include/chipmunk/cpVect.h:51
↓ 46 callers
Method
sqrt
Returns the positive square root of the specified value. @param x the value. @return <code>java.lang.Math.sqrt(x)</code>
cocos2d-android/src/org/cocos2d/utils/javolution/MathLib.java:754
↓ 45 callers
Method
Initialize
cocos2d-iphone/external/Box2d/Box2D/Collision/b2Collision.cpp:22
↓ 45 callers
Method
getValue
()
cocos2d-android/src/org/cocos2d/utils/collections/IntMap.java:246
↓ 44 callers
Method
SetAwake
cocos2d-iphone/external/Box2d/Box2D/Dynamics/b2Body.h:599
↓ 44 callers
Method
abs
Returns the absolute value of the specified <code>int</code> argument. @param i the <code>int</code> value. @return <code>i</code> or <code>-i</code>
cocos2d-android/src/org/cocos2d/utils/javolution/MathLib.java:1028
↓ 44 callers
Method
action
(float t)
cocos2d-android/src/org/cocos2d/actions/interval/CCDelayTime.java:8
↓ 44 callers
Method
max
Returns the greater of two <code>int</code> values. @param x the first value. @param y the second value. @return the larger of <code>x</code> and <co
cocos2d-android/src/org/cocos2d/utils/javolution/MathLib.java:1071
↓ 44 callers
Method
setPosition
(CGPoint pos)
cocos2d-android/src/org/cocos2d/nodes/CCSprite.java:816
↓ 44 callers
Method
update
(float d)
cocos2d-android/src/org/cocos2d/actions/UpdateCallback.java:4
↓ 42 callers
Method
Set
cocos2d-iphone/external/Box2d/Box2D/Dynamics/Joints/b2Joint.h:185
↓ 42 callers
Method
append
(ArrayList<tListEntry> list, Object target, boolean paused)
cocos2d-android/src/org/cocos2d/actions/CCScheduler.java:686
↓ 42 callers
Method
item
creates a menu item from a string without target/selector. To be used with CCMenuItemToggle
cocos2d-android/src/org/cocos2d/menus/CCMenuItemFont.java:37
↓ 42 callers
Method
next
()
cocos2d-android/src/org/cocos2d/utils/collections/IntMap.java:197
↓ 42 callers
Method
println
Prints out this text builder to the specified writer and then terminates the line. @param writer the destination writer.
cocos2d-android/src/org/cocos2d/utils/javolution/TextBuilder.java:811
↓ 41 callers
Method
addImage
Returns a Texture2D object given an file image If the file image was not previously loaded, it will create a new CCTexture2D object and it will retur
cocos2d-android/src/org/cocos2d/nodes/CCTextureCache.java:61
↓ 41 callers
Function
cpSpaceAddShape
cocos2d-iphone/external/Chipmunk/src/cpSpace.c:317
↓ 41 callers
Function
cpvrotate
cocos2d-iphone/external/Chipmunk/include/chipmunk/cpVect.h:93
↓ 41 callers
Method
replaceScene
Replaces the running CCScene with a new one. The running CCScene is terminated. ONLY call it if there is a running CCScene.
cocos2d-android/src/org/cocos2d/nodes/CCDirector.java:1124
↓ 41 callers
Method
set
(Vec2 x1, float a1, Vec2 x2, float a2)
JBox2D_2.0.1/src/org/jbox2d/dynamics/joints/Jacobian.java:50
↓ 41 callers
Method
sharedTextureCache
Retruns ths shared instance of the cache
cocos2d-android/src/org/cocos2d/nodes/CCTextureCache.java:29
↓ 40 callers
Function
cpSpaceAddBody
cocos2d-iphone/external/Chipmunk/src/cpSpace.c:343
↓ 40 callers
Method
makeLabel
creates a CCLabel from a fontname, alignment, dimension and font size
cocos2d-android/src/org/cocos2d/nodes/CCLabel.java:37
↓ 40 callers
Method
set
(CGSize s)
cocos2d-android/src/org/cocos2d/types/CGSize.java:24
↓ 40 callers
Method
setAnchorPoint
anchorPoint is the point around which all transformations and positioning manipulations take place. It's like a pin in the node where it is "att
cocos2d-android/src/org/cocos2d/nodes/CCNode.java:283
↓ 40 callers
Method
setColor
sets Color @since v0.8
cocos2d-android/src/org/cocos2d/protocols/CCRGBAProtocol.java:11
↓ 39 callers
Method
allocateDirect
(int size)
cocos2d-android/src/org/cocos2d/utils/BufferProvider.java:35
↓ 39 callers
Function
new_spring
cocos2d-iphone/external/Chipmunk/Demo/Springies.c:41
↓ 37 callers
Method
getLocalCenter
Get a copy of the local position of the center of mass.
JBox2D_2.0.1/src/org/jbox2d/dynamics/Body.java:481
↓ 37 callers
Method
make
(float w, float h)
cocos2d-android/src/org/cocos2d/types/CGSize.java:16
↓ 37 callers
Method
setFlags
(int flags)
JBox2D_2.0.1/src/org/jbox2d/dynamics/DebugDraw.java:55
↓ 36 callers
Method
DrawString
cocos2d-iphone/external/Box2d/Testbed/Framework/Render.cpp:151
↓ 36 callers
Method
GetBody
cocos2d-iphone/external/Box2d/Box2D/Dynamics/b2Fixture.h:255
↓ 36 callers
Method
SetZero
cocos2d-iphone/external/Box2d/Box2D/Dynamics/Joints/b2Joint.h:179
next →
1–100 of 6,824, ranked by callers