Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chenyinkai/egret-games
/ functions
Functions
2,569 in github.com/chenyinkai/egret-games
⨍
Functions
2,569
◇
Types & classes
1,302
↓ 1,026 callers
Method
addEventListener
(type: "orientationChange", listener: (this: Z, e: StageOrientationEvent) => void, thisObject: Z, useCapture?:
fingerGuess/libs/modules/egret/egret.d.ts:5589
↓ 466 callers
Method
dispatchEvent
* 将事件分派到事件流中。事件目标是对其调用 dispatchEvent() 方法的 EventDispatcher 对象。 * @param event 调度到事件流中的 Event 对象。 * @returns 如果成功调度了事件,则值为 true。值 fal
fingerGuess/libs/modules/egret/egret.d.ts:5244
↓ 408 callers
Method
removeEventListener
* 从 EventDispatcher 对象中删除侦听器。如果没有向 EventDispatcher 对象注册任何匹配的侦听器,则对此方法的调用没有任何效果。 * @param type 事件的类型。 * @param listener 要删除的侦听器对象
fingerGuess/libs/modules/egret/egret.d.ts:5202
↓ 209 callers
Function
__extends
(d, b)
catchGold/libs/modules/egret/egret.js:43
↓ 209 callers
Function
__extends
(d, b)
football/libs/modules/egret/egret.js:43
↓ 206 callers
Function
__extends
(d, b)
earthRun/libs/modules/egret/egret.js:43
↓ 205 callers
Function
__extends
(d, b)
fingerGuess/libs/modules/egret/egret.js:43
↓ 192 callers
Method
clear
* 清空缓冲区数据
fingerGuess/libs/modules/egret/egret.d.ts:9570
↓ 152 callers
Method
resize
* 改变渲染缓冲的大小并清空缓冲区 * @param width 改变后的宽 * @param height 改变后的高 * @param useMaxSize 若传入true,则将改变后的尺寸与已有尺寸对比,保留较大的尺寸。
fingerGuess/libs/modules/egret/egret.d.ts:9538
↓ 138 callers
Method
load
* 启动从指定 URL 加载外部音频文件的过程。 * @param url 需要加载的音频文件URL * @version Egret 2.4 * @platform Web,Native * @language zh_CN
fingerGuess/libs/modules/egret/egret.d.ts:7921
↓ 128 callers
Method
pause
* 暂停播放。 * @version Egret 2.4 * @platform Web,Native * @language zh_CN
fingerGuess/libs/modules/egret/egret.d.ts:8262
↓ 112 callers
Method
getPixels
* 获取指定区域的像素
fingerGuess/libs/modules/egret/egret.d.ts:9561
↓ 100 callers
Method
play
* 生成一个新的 SoundChannel 对象来播放该声音。此方法返回 SoundChannel 对象,访问该对象可停止声音调整音量。 * @param startTime 应开始播放的初始位置(以秒为单位),默认值是 0 * @param loops 播放次数
fingerGuess/libs/modules/egret/egret.d.ts:7938
↓ 96 callers
Method
stop
* 停止监听设备运动状态 * @version Egret 2.4 * @platform Web * @language zh_CN
fingerGuess/libs/modules/egret/egret.d.ts:10894
↓ 64 callers
Method
$getRenderNode
* 获取渲染节点
fingerGuess/libs/modules/egret/egret.d.ts:9614
↓ 64 callers
Method
updateScreenSize
* @private * 更新屏幕视口尺寸
fingerGuess/libs/modules/egret/egret.d.ts:9633
↓ 56 callers
Method
$getText
* @private * * @returns
fingerGuess/libs/modules/egret/egret.d.ts:12300
↓ 55 callers
Function
__extends
(t,e)
catchGold/libs/modules/egret/egret.min.js:1
↓ 55 callers
Function
__extends
(t,e)
earthRun/libs/modules/egret/egret.min.js:1
↓ 55 callers
Function
__extends
(t,e)
football/libs/modules/egret/egret.min.js:1
↓ 55 callers
Function
__extends
(t,e)
fingerGuess/libs/modules/egret/egret.min.js:1
↓ 48 callers
Method
hasEventListener
* 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。这样,您就可以确定 EventDispatcher 对象在事件流层次结构中的哪个 * 位置改变了对事件类型的处理。要确定特定事件类型是否确实会触发事件侦听器,请使用 IEventDispatcher.
fingerGuess/libs/modules/egret/egret.d.ts:5227
↓ 44 callers
Method
start
* 开始监听设备运动状态 * @version Egret 2.4 * @platform Web * @language zh_CN
fingerGuess/libs/modules/egret/egret.d.ts:10881
↓ 40 callers
Method
$setText
* @private * * @param value
fingerGuess/libs/modules/egret/egret.d.ts:12306
↓ 40 callers
Method
open
* 初始化一个请求.<br/> * 注意: 若在已经发出请求的对象上调用此方法,相当于立即调用abort(). * @param url 该请求所要访问的URL该请求所要访问的URL * @param method 请求所使用的HTTP方法, 请
fingerGuess/libs/modules/egret/egret.d.ts:8750
↓ 40 callers
Method
render
* 渲染一个显示对象 * @param displayObject 要渲染的显示对象 * @param buffer 渲染缓冲 * @param matrix 要对显示对象整体叠加的变换矩阵 * @param dirtyList
fingerGuess/libs/modules/egret/egret.d.ts:9845
↓ 40 callers
Method
send
* 发送请求. * @param data 需要发送的数据 * @version Egret 2.4 * @platform Web,Native * @language zh_CN
fingerGuess/libs/modules/egret/egret.d.ts:8765
↓ 40 callers
Method
setDirtyRegionPolicy
* 设置脏矩形策略
fingerGuess/libs/modules/egret/egret.d.ts:9578
↓ 40 callers
Method
toDataURL
* 转换成base64字符串,如果图片(或者包含的图片)跨域,则返回null * @param type 转换的类型,如: "image/png","image/jpeg"
fingerGuess/libs/modules/egret/egret.d.ts:9566
↓ 40 callers
Method
update
* 更新FPS信息
fingerGuess/libs/modules/egret/egret.d.ts:9250
↓ 32 callers
Method
once
* 添加仅回调一次的事件侦听器,此方法与on()方法不同,on()方法会持续产生回调,而此方法在第一次回调时就会自动移除监听。 * @param type 事件的类型。 * @param listener 处理事件的侦听器函数。此函数必须接受 Event 对象作为
fingerGuess/libs/modules/egret/egret.d.ts:5177
↓ 32 callers
Method
setRequestHeader
* 给指定的HTTP请求头赋值.在这之前,您必须确认已经调用 open() 方法打开了一个url. * @param header 将要被赋值的请求头名称. * @param value 给指定的请求头赋的值. * @version Egret
fingerGuess/libs/modules/egret/egret.d.ts:8808
↓ 28 callers
Method
destroy
* 销毁渲染缓冲
fingerGuess/libs/modules/egret/egret.d.ts:9574
↓ 24 callers
Method
$resetStageText
* @private *
fingerGuess/libs/modules/egret/egret.d.ts:12294
↓ 24 callers
Method
getVirtualUrl
* 获取资源文件实际的URL地址。<br/> * 由于版本控制实际已经对原来的资源文件的URL进行了改变,因此想获取指定资源文件实际的URL时需要调用此方法。<br/> * 在开发调试阶段,这个方法会直接返回传入的参数值。 * @param ur
fingerGuess/libs/modules/res/res.d.ts:437
↓ 24 callers
Method
updateInfo
* 插入一条日志信息
fingerGuess/libs/modules/egret/egret.d.ts:9254
↓ 24 callers
Method
updateMaxTouches
* @private * 更新触摸数量
fingerGuess/libs/modules/egret/egret.d.ts:9638
↓ 22 callers
Method
getStageWidth
()
catchGold/src/Data.ts:2
↓ 20 callers
Method
getStageHeight
()
catchGold/src/Data.ts:6
↓ 20 callers
Method
getStageHeight
()
earthRun/src/Data.ts:6
↓ 20 callers
Method
getStageWidth
()
earthRun/src/Data.ts:2
↓ 20 callers
Method
init
()
football/src/Man.ts:8
↓ 19 callers
Method
init
()
catchGold/src/Man.ts:7
↓ 18 callers
Function
e
()
catchGold/libs/modules/egret/egret.min.js:1
↓ 18 callers
Function
e
()
earthRun/libs/modules/egret/egret.min.js:1
↓ 18 callers
Function
e
()
football/libs/modules/egret/egret.min.js:1
↓ 18 callers
Function
e
()
fingerGuess/libs/modules/egret/egret.min.js:1
↓ 18 callers
Method
getStageHeight
()
fingerGuess/src/GameData.ts:6
↓ 18 callers
Method
getStageWidth
()
fingerGuess/src/GameData.ts:2
↓ 17 callers
Method
init
()
earthRun/src/Game.ts:20
↓ 16 callers
Method
$removeFromStage
* @private *
fingerGuess/libs/modules/egret/egret.d.ts:12332
↓ 16 callers
Method
$update
* @private * 更新对象在舞台上的显示区域和透明度,返回显示区域是否发生改变。 * 注意:此方法必须在$getRenderNode()被调用之后执行。
fingerGuess/libs/modules/egret/egret.d.ts:9620
↓ 16 callers
Method
abort
* 如果请求已经被发送,则立刻中止请求. * @version Egret 2.4 * @platform Web,Native * @language zh_CN
fingerGuess/libs/modules/egret/egret.d.ts:8778
↓ 16 callers
Method
calculateStageSize
* @private * 计算舞台显示尺寸 * @param scaleMode 当前的缩放模式 * @param screenWidth 播放器视口宽度 * @param screenHeight 播放器视口高度
fingerGuess/libs/modules/egret/egret.d.ts:9661
↓ 16 callers
Method
drawNodeToBuffer
* 将一个RenderNode对象绘制到渲染缓冲 * @param node 要绘制的节点 * @param buffer 渲染缓冲 * @param matrix 要叠加的矩阵 * @param forHitTest 绘制结果
fingerGuess/libs/modules/egret/egret.d.ts:9853
↓ 16 callers
Method
init
()
fingerGuess/src/OverScene.ts:6
↓ 14 callers
Function
_reject
(promise, reason)
catchGold/promise/bin/promise.js:355
↓ 14 callers
Function
_reject
(promise, reason)
earthRun/promise/bin/promise.js:355
↓ 14 callers
Function
_reject
(promise, reason)
football/promise/bin/promise.js:355
↓ 14 callers
Function
_reject
(promise, reason)
fingerGuess/promise/bin/promise.js:355
↓ 14 callers
Function
j
(t,e)
catchGold/promise/bin/promise.min.js:1
↓ 14 callers
Function
j
(t,e)
earthRun/promise/bin/promise.min.js:1
↓ 14 callers
Function
j
(t,e)
football/promise/bin/promise.min.js:1
↓ 14 callers
Function
j
(t,e)
fingerGuess/promise/bin/promise.min.js:1
↓ 10 callers
Method
getStageHeight
()
football/src/Data.ts:6
↓ 10 callers
Method
getStageWidth
()
football/src/Data.ts:2
↓ 9 callers
Function
S
(t,e)
catchGold/promise/bin/promise.min.js:1
↓ 9 callers
Function
S
(t,e)
earthRun/promise/bin/promise.min.js:1
↓ 9 callers
Function
S
(t,e)
football/promise/bin/promise.min.js:1
↓ 9 callers
Function
S
(t,e)
fingerGuess/promise/bin/promise.min.js:1
↓ 9 callers
Function
fulfill
(promise, value)
catchGold/promise/bin/promise.js:342
↓ 9 callers
Function
fulfill
(promise, value)
earthRun/promise/bin/promise.js:342
↓ 9 callers
Function
fulfill
(promise, value)
football/promise/bin/promise.js:342
↓ 9 callers
Function
fulfill
(promise, value)
fingerGuess/promise/bin/promise.js:342
↓ 8 callers
Method
$addToStage
* @private *
fingerGuess/libs/modules/egret/egret.d.ts:12327
↓ 8 callers
Method
$hide
* @private *
fingerGuess/libs/modules/egret/egret.d.ts:12322
↓ 8 callers
Method
$onBlur
* @private *
fingerGuess/libs/modules/egret/egret.d.ts:12337
↓ 8 callers
Method
$setColor
* @private * * @param value
fingerGuess/libs/modules/egret/egret.d.ts:12312
↓ 8 callers
Method
$setTextField
* @private * * @param textfield
fingerGuess/libs/modules/egret/egret.d.ts:12289
↓ 8 callers
Method
$show
* @private *
fingerGuess/libs/modules/egret/egret.d.ts:12317
↓ 8 callers
Function
a
()
catchGold/libs/modules/egret/egret.min.js:3
↓ 8 callers
Function
a
()
earthRun/libs/modules/egret/egret.min.js:3
↓ 8 callers
Function
a
()
football/libs/modules/egret/egret.min.js:3
↓ 8 callers
Function
a
()
fingerGuess/libs/modules/egret/egret.min.js:3
↓ 8 callers
Method
beginClip
* 清空并设置裁切区域 * @param regions 矩形列表 * @param offsetX 矩形偏移量x * @param offsetY 矩形偏移量y
fingerGuess/libs/modules/egret/egret.d.ts:9553
↓ 8 callers
Function
e
(t)
catchGold/promise/bin/promise.min.js:1
↓ 8 callers
Function
e
(t)
earthRun/promise/bin/promise.min.js:1
↓ 8 callers
Function
e
(t)
football/promise/bin/promise.min.js:1
↓ 8 callers
Function
e
(t)
fingerGuess/promise/bin/promise.min.js:1
↓ 8 callers
Method
endClip
* 取消上一次设置的clip。
fingerGuess/libs/modules/egret/egret.d.ts:9557
↓ 8 callers
Method
fetchVersion
* 获取版本信息数据。<br/> * 这个方法的调用需要在应用程序进行任何资源加载之前,建议在应用程序的入口类(Main)的开始最先进行调用处理。此方法只负责获取版本信息,不负责资源的下载。 * @version Egret 2.4 * @pla
fingerGuess/libs/modules/res/res.d.ts:396
↓ 8 callers
Method
getAllResponseHeaders
* 返回所有响应头信息(响应头名和值), 如果响应头还没接受,则返回"". * @version Egret 2.4 * @platform Web,Native * @language zh_CN
fingerGuess/libs/modules/egret/egret.d.ts:8791
↓ 8 callers
Method
getResponseHeader
* 返回指定的响应头的值, 如果响应头还没被接受,或该响应头不存在,则返回"". * @param header 要返回的响应头名称 * @version Egret 2.4 * @platform Web,Native * @
fingerGuess/libs/modules/egret/egret.d.ts:8824
↓ 8 callers
Method
lTween
()
fingerGuess/src/Game.ts:81
↓ 8 callers
Function
r
(r,i,n,a,o)
catchGold/libs/modules/egret/egret.web.min.js:1
↓ 8 callers
Function
r
(r,i,n,a,o)
earthRun/libs/modules/egret/egret.web.min.js:1
↓ 8 callers
Function
r
(r,i,n,a,o)
football/libs/modules/egret/egret.web.min.js:1
↓ 8 callers
Function
r
(r,i,n,a,o)
fingerGuess/libs/modules/egret/egret.web.min.js:1
↓ 8 callers
Method
rTween
()
fingerGuess/src/Game.ts:101
↓ 8 callers
Method
resizeTo
* 改变渲染缓冲为指定大小,但保留原始图像数据 * @param width 改变后的宽 * @param height 改变后的高 * @param offsetX 原始图像数据在改变后缓冲区的绘制起始位置x * @param
fingerGuess/libs/modules/egret/egret.d.ts:9546
next →
1–100 of 2,569, ranked by callers