大约有 38 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)
...nSelect_small(e) { Laya.big_switch = 0 Laya.maptype = "small" this.now_map.text = "当前地图:" + this.small_map.selectedLabel Laya.map_small_c = e } function onSelect_big(e) { if (e != 0) { if (Laya.keys > 0) { Laya.big_switch = 0 Laya.map_big = e Laya.maptype = "big" this.small_map.selected...
来源: Laya_社区 发布时间: 20180719
...nSelect_small(e) { Laya.big_switch = 0 Laya.maptype = "small" this.now_map.text = "当前地图:" + this.small_map.selectedLabel Laya.map_small_c = e } function onSelect_big(e) { if (e != 0) { if (Laya.keys > 0) { Laya.big_switch = 0 Laya.map_big = e Laya.maptype = "big" this.small_map.selected...
来源: Laya_社区 发布时间: 20180719
...码: import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import SoundManager = Laya.SoundManager; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export default class Test_11_Sound { //声明一...
来源: Laya_社区 发布时间: 20190421
...ertical"; Laya.stage.scaleMode = Stage.SCALE_FULL; spr = new Sprite var te:Text = new Text(); te.fontSize = 50; te.text = "内容测试"; spr.addChild(te); Laya.stage.addChild(spr); Laya.stage.on(Event.CLICK, this, function():void { if (Laya.stage.screenMode == Stage.SCREEN_HORIZONTAL) { if (Browser...
来源: Laya_社区 发布时间: 20170801
...I DocumentationAll Packages | All Classes | Index | Frames No Frames TextProperties | Methods | Events | Constants Packagelaya.displayClasspublic class TextInheritanceText Sprite Node EventDispatcher ObjectSubclasses Input Text 类用于创建显示对象以显示文本。 注意:如果...
来源: Laya2.0_api 发布时间: 20190513
...是重点,文字的效果我们是通过svg支持的css样式来设置 text-shadow设置的是文字的css样式效果,假如开发者想改变文字的样式,可以修改style即可。 ``` 上面是在JavaScript中,用原生的dom元素img来进行显示,那么在游戏中我们想用...
来源: Laya2.0_文档 发布时间: 20210715
...辑了图片 执行代码说加载不出来资源 这个是怎么回事? Text类中竟然没有pos函数的api~ 为什么ani动画执行的不是按中心点执行的 关于shader中opengl函数问题 网页跳转函数 关于环形进度条,进度不能重置问题 问题状态 最新活动: 20...
来源: Laya_社区 发布时间: 20180619
...PROGRESS,this,processHandler); xhr.send("https://www.baidu.com/","","get","text"); function processHandler(data){ console.log(data); console.log("1111"); } function errorHandler(data){ console.log("2222"); } function completeHandler(e){ console.log("3333"); } 2018-08-30 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20180830
... 出现 试图访问该方法时失败 关于shader中opengl函数问题 Text类中竟然没有pos函数的api~ LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, Tween的to方法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,f...
来源: Laya_社区 发布时间: 20170317
... map.removeSelf() play.removeSelf() over = new GameOverUI() over.txt_score.text = "25" over.btn_restart.on(Event.MOUSE_UP,this,gameInit) Laya.stage.addChild(over); } hero类: (function() { function Hero(type, hp) { Hero.__super.call(this); this.fly(); } Laya.class(Hero,"Hero", Air); var _proto = H...
来源: Laya_社区 发布时间: 20180911