交流专区
服务市场
微信学堂
文档
小程序
  • 常用主页

    小程序

    小游戏

    企业微信

    微信支付

  • 服务市场
    微信学堂
    文档
登录
切换主页

暂无个人介绍

关注私信

正在关注

0

关注者

0

获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
文章 回答 1提问 收藏 关注问题
  • 楼主有解决方案了吗

    pixijs的 auto-detect Resource 问题

    小游戏的代码片段好像有bug 下载片段下来就是完整的飞机大战了真是无语了 [图片] 先进行安装 "@pixi/unsafe-eval": "6.2.2",     "pixi.js": "6.2.2" 然后构建npm game.js代码 import './js/libs/weapp-adapter' import './js/libs/symbol' import * as PIXI from 'pixi.js'; import { ShaderSystem } from '@pixi/core'; import { install } from '@pixi/unsafe-eval'; install({   ShaderSystem, }); let app = new PIXI.Application({   width: 640,   height: 360, }); document.body.appendChild(app.view); let text = new PIXI.Text(   'This text will scroll up and be masked, so you can see how masking works.  Lorem ipsum and all that.\n\n' +     'You can put anything in the container and it will be masked!',   {     fontSize: 24,     fill: 0x1010ff,     wordWrap: true,     wordWrapWidth: 180,   } ); 打开控制台报错 ` Unrecognized source type to auto-detect Resource` 目前发现只用 new PIXI.Text 才会出现,浏览器环境是没有问题的

    2022-05-04
关闭

选择需要上架的开放服务

  • 模板开发

    针对行业、场景的小程序代开发服务,帮助企业快速搭建小程序

    上架
  • 插件

    提供可被小程序直接使用、丰富小程序能力的功能模块

    上架
  • 小商店服务

    为小商店商家提供更多的能力,帮助商家经营好小商店

    上架
关闭

案例类型

  • 小程序
  • 插件
  • 关于腾讯
  • 运营规范
  • 文档中心
  • 辟谣中心
  • 客服中心
  • Copyright © 2012-2025 Tencent. All Rights Reserved.