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

大约有 158 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0043 秒)

121. 输入设备-贪吃蛇(重力感应) [ 50%]

...r; import WebGL = Laya.WebGL; import Event = Laya.Event; export class InputDevice_GluttonousSnake { private seg:Segment; private segments:Array = []; private foods:Array = []; private initialSegmentsAmount:number = 5; private vx:number = 0 private vy:number = 0; private targetPosition:Point; constru...

来源: Laya_示例 发布时间: 20241118

122. 输入设备-地图 [ 50%]

...t Browser = Laya.Browser; import Handler = Laya.Handler; export class InputDevice_Map { // 百度地图 private map; private marker; private BMap = Browser.window.BMap; private convertor = new this.BMap.Convertor(); // Div private mapDiv; private infoText:Text; constructor() { Laya.init(Browser.widt...

来源: Laya_示例 发布时间: 20241118

123. 输入设备-贪吃蛇(重力感应) [ 49%]

... [], initialSegmentsAmount = 5, vx = 0, vy = 0, targetPosition; class InputDevice_GluttonousSnake { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Event = Laya.Event, Accelerator = Laya.Accelerator; // 不支持WebGL时...

来源: Laya2.0_示例 发布时间: 20241118

124. 输入设备-地图 [ 49%]

...DE让项目开发更高效。let map, marker, mapDiv, infoText; class InputDevice_Map { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Geolocation = Laya.Geolocation; // 不支持WebGL时自动切换至Canvas Laya.init(...

来源: Laya2.0_示例 发布时间: 20241118

125. laya.events.Event [ 48%]

...[static] 定义 componentremoved 事件对象的 type 属性值。Event  DEVICE_LOST : String = devicelost[static] 显卡设备丢失时触发Event  DISPLAY : String = display[static] 定义 display 事件对象的 type 属性值。Event  DOUBLE_CLICK : String = doubleclick[static] 定义 doub...

来源: Laya2.0_api 发布时间: 20190513

126. 打包native报错 [ 47%]

...2019-06-18 13:34:09.274697+0800 test1[6479:65523]  {   "os" : "ios",   "devicename" : "x86_64",   "imei" : "imeixxx",   "imsi" : "imsixxx",   "phonemodel" : "iPhone",   "localmodel" : "iPhone",   "retinavalue" : "2.000000",   "osversion" : "12.2",   "resolution" : "414*896",   "guid" : "6...

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

127. 安卓打包 APK的几个错误日志 求大神帮分析 [ 47%]

...02-08 02:40:23.527: E/SQLiteCastStore(14982): End saving paired guest mode devices 02-08 02:40:28.557: E/memtrack(14322): Couldn't load memtrack module 02-08 02:40:30.608: E/memtrack(14322): Couldn't load memtrack module 02-08 02:40:41.393: E/memtrack(14322): Couldn't load memtrack module 02-08 02:4...

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

128. 修改了Scene下的WebGL参数导致渲染3D对象出现局部透明 [ 47%]

..._BUFFER, this.textureCoordBuffer); // Check the current orientation of the device combined with the // orientation of the VRSeeThroughCamera to determine the correct UV // coordinates to be used. const combinedOrientation = combineOrientations( window.screen.orientation.angle, this.passThroughCamera...

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

129. as hello world 背景还是黑色 [ 47%]

...me='renderer' content='webkit'> <meta name='viewport' content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no'/> <meta name='apple-mobile-web-app-capable' content='yes' /> <meta name='full-screen' content='true' /> <meta name='x5-ful...

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

130. 打包app后弹框:设置横竖屏错误 [ 47%]

...w.layabox.com</title>     <meta name='viewport' content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no'/>     <meta name='apple-mobile-web-app-capable' content='yes' />     <meta name='full-screen' content='true' />     ...

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