• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 230 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)

21. 怎样修改Image 一个像素点的颜色信息,想要开发涂鸦板功能 [ 75%]

...要开发涂鸦板功能 类似于as3里 这个方法setPixel32(xPos,yPos,color); 2017-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 cuixueying 赞同来自: LayaAir下没有直接的接口可以设置某...

来源: Laya_社区 发布时间: 20170412

22. 【LIST无法拖动】参照官方实例做的 [ 74%]

...hangbang.y -= (paihangbang.fontSize + 20);         paihangbang.color="#ffffff";                   list.addChild(paihangbang);                  // 使用但隐藏滚动条         list.vScrollBarSkin = "";         list.selectEnable = t...

来源: Laya_社区 发布时间: 20210122

23. list ,增加item ,我想在末尾增加,但是每次都给我翻倍的增加,如何解决 [ 74%]

...ext = new Text(); this.text.fontSize = 20; this.text.pos(12, 5); this.text.color = "#FF00FF"; this.text.zOrder = 1; this.addChild(this.text); this.setImg = function(data) { var aar=[[150,160],[10,80],[150,0],[300,80]]; this.text.text="房号:1000000\n底分:222222\n玩法:看牌抢庄" this.jushu = ...

来源: Laya_社区 发布时间: 20170920

24. flag的问题 [ 74%]

...36, 640, WebGL);                       Laya.stage.bgColor = "#ffffff";                   //以500毫秒的时间间隔播放颜色切换的矩形         Laya.timer.loop(500, this, createRect);               })();       function ...

来源: Laya_社区 发布时间: 20170510

25. 启动页设置 · LayaAir3.3 · 引擎文档 · LAYABOX [ 72%]

...(Enable): 勾选此项以启用启动页功能。 背景颜色 (Background Color): 点击色块选择启动页的背景颜色。 图片 (Image): 设置启动页显示的图片资源路径(例如:bin/splash.png)。点击文件夹图标可浏览选择文件。 适配 (Fit Mode): 选择图片的...

来源: Laya3.0_文档 发布时间: 20251128

26. list控件内字体大小设置无效 [ 71%]

...体要怎么加载呢? 动画混合无效(版本2.6) 2.0 drawTexture color参数无效 位图字体不显示 matter.js mouseconstraint在微信小游戏中无效 关于同为object层,层级设置无效的问题 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 问题状态 最新活动: 2...

来源: Laya_社区 发布时间: 20170829

27. UI模式下Dialog标签嵌套RadioGroup会导致编辑器卡死 [ 71%]

...标签嵌套RadioGroup会导致编辑器卡死 <Dialog width="725" sceneColor="#000000" height="500" editorInfo="compId=1"> <Image y="46" x="0" width="687" skin="setting/gd2_n.png" sizeGrid="30,30,30,30" height="402" editorInfo="compId=4"> <Image y="0" x="241.5" skin="setting/log18-5_...

来源: Laya_社区 发布时间: 20170221

28. LayaAir下TTF字体的使用方式? [ 71%]

... Laya.stage.addChild(sp); var text:Text=new Text(); text.fontSize=40; text.color="#FF00FF"; text.text="哈哈哈哈哈哈哈哈哈哈哈哈哈哈"; text.font="hu" text.pos(600,600); Laya.stage.addChild(text); Laya.timer.once(1000,this,onLoop); } private function onLoop():void { var text:Text=new Tex...

来源: Laya_社区 发布时间: 20160514

29. 分包后, 资源加载问题 [ 70%]

...ask"}}]},{"type":"Text","props":{"y":234,"x":105,"text":"%","fontSize":30,"color":"#008aff"}},{"type":"Text","props":{"y":234,"x":53,"var":"text","text":"0","fontSize":30,"color":"#008aff"}}],"animations":[{"nodes":[{"target":3,"keyframes":{"y":[{"value":192,"tweenMethod":"linearNone","tween":true,"...

来源: Laya_社区 发布时间: 20170725

30. Sprite optimizeScrollRect = true 似乎有问题 [ 70%]

...s, this.onMousewheel); } this.createText = function (_content, _fontSize, _color, _width, _autoSize, _wordWrap, _ID) { var txt = new Text(); txt.text = _content; txt.cacheAs = 'bitmap'; txt.fontSize = _fontSize; txt.bold = true; txt.font = 'wordFont'; txt.color = _color; txt.strokeColor = '#000000';...

来源: Laya_社区 发布时间: 20161118