大约有 10 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)
...res/bmfont/specialfont.fnt"], new Handler(this, this.loadbmfont)); private function loadbmfont():void{ Text.registerBitmapFont("123font", Constant.bmfont); Text.registerBitmapFont("critdamage", Constant.bmfont); Text.registerBitmapFont("enemydamage", Constant.bmfont); Text.registerBitmapFont("cure",...
来源: Laya_社区 发布时间: 20170213
... a constructor" StartPage: /**Created by the LayaAirIDE*/ var StartPage=(function(_super){ function StartPage(){ StartPage.__super.call(this); } Laya.class(StartPage,'view.StartPage',_super); return StartPage; })(StartPageUI) LayaSample: var LayaSample = (function(){ (function(){ Laya.init(667,3...
来源: Laya_社区 发布时间: 20181029
...什么回来的是 “mouseout” 而不是 "mousedown" ? 代码如下: function createSprite() { picture = new Sprite(); picture.loadImage(picturePath); Laya.stage.addChild(picture); var texture = Laya.loader.getRes(picturePath); picturePath.pivot(texture.width / 2, texture.height / 2); picture.x...
来源: Laya_社区 发布时间: 20181022
...omp.json", Laya.Handler.create(this, onAssetLoaded2), null, Loader.ATLAS); function onAssetLoaded2() { Laya.class(MyBoot, "MyBootClass", MyPage2UI); var UI = new MyBootClass(); Laya.stage.addChild(UI); } function MyBoot() { MyBoot.super(this); this.MyTab.selectHandler ...
来源: Laya_社区 发布时间: 20160722
...ginURL 源路径。 * @return 格式化后的新路径。 */ public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL; } return originURL; }...
来源: Laya_社区 发布时间: 20181127
...ont.loadFont("res/bitmapFont/test.fnt", new Laya.Handler(this, onLoaded)); function onLoaded(){ mBitmapFont.setSpaceWidth(10); Laya.Text.registerBitmapFont(mFontName,mBitmapFont); let txt = new Laya.Text(); txt.text='手机号 +86'; txt.color='#FFFFFF'; txt.font = mFontName;//===============代码...
来源: Laya_社区 发布时间: 20191108
...分享一下呢? vvv123 • 2020-01-07 17:25 @星夜:window.wxMiniGame = function (exports, Laya) { 'use strict'; function DEB(str){ console.debug("[res]"+str); } class MiniFileMgr { static isLocalNativeFile(url) { for (var i = 0, sz = MiniAdpter.nativefiles.length; i < sz; i++) { if (u...
来源: Laya_社区 发布时间: 20200103
...栏.json", Laya.Handler.create(this, onAssetLoaded2), null, Loader.ATLAS); function onAssetLoaded2() { Laya.class(MyBoot, "MyBootClass", MyBootPage2UI); UI = new MyBootClass(); Laya.stage.addChild(UI); } function MyBoot() { MyBoot.super(this); this.Boot.selectHa...
来源: Laya_社区 发布时间: 20160722
...SoundManager.playMusic('res/sound/'+'fail'+'.wav',1, new Laya.Handler(null,function(){ alert('123') })); 在chrome下 提示图片这个警告,,,手机上也没有声音 附件 : --> 2018-04-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20180403
...ddComponent (/Users/admin/layaA4/layaA4/bin/js/bundle.js:39363:9) at Function.Utils3D._createNodeByJson (/Users/admin/layaA4/layaA4/bin/js/bundle.js:31020:26) at Function.Utils3D._createNodeByJson (/Users/admin/layaA4/layaA4/bin/js/bundle.js:31003:24) at Function.Utils3D._createNod...
来源: Laya_社区 发布时间: 20170505