大约有 422 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0043 秒)
Laya_社区(275) Laya3.0_api(94) Laya2.0_文档(19) laya_api(8) Laya3.0_文档(8) Laya2.0_api(8) Laya2.0_示例(6) Laya_示例(4)
...this.createApes(); } createApes() { const Sprite = Laya.Sprite; let monkey2Path = "res/apes/monkey2.png"; let gap = 150; this.ape1 = new Sprite(); Laya.stage.addChild(this.ape1); this.ape1.loadImage(monkey2Path); // 设置轴心点为中心 this.ape1.pivot(55, 72); this.ape1.pos(Laya.stage.width / 2...
来源: Laya2.0_示例 发布时间: 20241124
... export class Loader_MultipleType { private ROBOT_DATA_PATH: string = "res/swf/star.swf"; private ROBOT_DATA_PATHS: string = "res/swf/star.json"; private ROBOT_TEXTURE_PATH: string = "res/swf/star.png"; constructor() { // Lay...
来源: Laya_社区 发布时间: 20180203
...ntagram() { var canvas = new Sprite(); Laya.stage.addChild(canvas); var path = [336, 515, 338, 515, 341, 515, 349, 515, 369, 513, 391, 513, 408, 513, 419, 515, 441, 519, 459, 521, 471, 524, 480, 524, 485, 524, 491, 524, 497, 524, 508, 524, 519, 524, 529, 524, 540, 536, 547, 536, 553, 536, 556, 53...
来源: Laya_社区 发布时间: 20181230
...ght = Laya.stage.height; console.log(stageWidth*0.05+":"+stageHeight); var path = [ ["moveTo",stageWidth*0.05,0], ["actTo",stageWidth*0.8,0,stageWidth*0.8,stageHeight*0.05,10], ["actTo",stageWidth*0.8,stageHeight*0.6,stageWidth*0.75,stageHeight*0.6,10], ["actTo",0,stageHeight*0.6,0,stageHeight*0.55,...
来源: Laya_社区 发布时间: 20170806
... if (soundMsg.isPlayingBgMusic) { let path = "remote/music/" + url + '.mp3'; Laya.SoundManager.playMusic(path, 1, new Laya.Handler(this, () => { }), start) } } 2020-11-02 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20201102
.../layabox/ios/ykmj export IPHONEOS_DEPLOYMENT_TARGET=7.0 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Con...
来源: Laya_社区 发布时间: 20180322
...源导出的bug DirectoryNotFoundException: Could not find a part of the path "E:\layaspace\ShiYang_Game1\bin\res\scenes\game\Conventional\Assets\OneWayRoad03\Road\VillageRoad01-Bush-copy-copy-copy-copy-copy-copy-copy-copy-copy-copy-copy-copy-copy-copy-copy-copy-copy-copy-copy-copy-copy-copy-copy-co...
来源: Laya_社区 发布时间: 20190327
... 2018-03-23 16:26 请问启动类要怎么设置,我已经把<compile path="src\LayaSample.as" />改为<compile path="src\HelloLayabox.as" />,但是运行的时候还是启动LayaSample.as Monica • 2018-03-23 17:11 @liruibiao:改完之后把index.html删了重...
来源: Laya_社区 发布时间: 20180323
...his.loadActor(this.actor2,"comp/r_01_01.sk"); } loadActor(parent,path){ const Templet = Laya.Templet, Event = Laya.Event; let mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete,[pare...
来源: Laya_社区 发布时间: 20190730
...然后搜索TypeScript。或者这个20180212版本安装修改环境变量PATH(复制出来搜索TypeScript,有则改为新版本路径,无则往后添加路径)命令行使用tsc -v,检查是否安装成功不成功则检查PATH是否修改生效 以上操作是在Windows平台 2018-03-0...
来源: Laya_社区 发布时间: 20160517