egret-target-wxgame's People
Forkers
guoyu07 hongweichang eos3tion iamfive shguxudong lanyuzd dankexiu yunshenwuji66 javasemeee wsc28 yuknight rogerslei misshuan 529303664 tardistian lepang ycz001 czy1314 li2094 cchorseless lypinghhh leerita mrliu028 hnliqi1992 czmczmczm i3web huanhuana strangexin mstreasure abcdpkhurny summer55988 rainslow daijiangkun mclockw chenxinhu honey199396 twolaps caofh pylxyhome zzyy6618 duanfeng mayi455666 xzzsr longjcd hortor-games fan19900404 sclifftop ccczone 12096332 blegret ws3458 zhaoke2015 callmebg jackson0714 314987624 abstractor97 whl699 lxh-1999 opithecus 1069535057 chthaotian kennycaiguo egret-labs-bak a406241691 dyuxing devilcom songlucky beanslee reheyibeix egreter axisl egret-labs-store kitotools 71126225 egret-labs-maintenance iuvei zmd-013 msxiehui hannahbellelee asframeegret-target-wxgame's Issues
Andriod手机排行榜文字不渲染
如题,排行榜中看不到文字,安卓各种型号的手机都看不到.
微信小游戏在预加载声音的时候可能卡住
var audio = new Audio(url);
audio.addEventListener("canplaythrough", onAudioLoaded);
audio.addEventListener("error", onAudioError);
var ua = navigator.userAgent.toLowerCase();
if (ua.indexOf("firefox") >= 0) {
audio.autoplay = !0;
audio.muted = true;
}
// audio.load(); wxgame没有此接口
this.originAudio = audio;
if (HtmlSound.clearAudios[this.url]) {
delete HtmlSound.clearAudios[this.url];
}
HtmlSound.$recycle(this.url, audio);
function onAudioLoaded() {
removeListeners();
if (ua.indexOf("firefox") >= 0) {
audio.pause();
audio.muted = false;
}
self.loaded = true;
self.dispatchEventWith(egret.Event.COMPLETE);
}
function onAudioError() {
removeListeners();
self.dispatchEventWith(egret.IOErrorEvent.IO_ERROR);
}
有一定的概率出现onAudioLoaded和onAudioError回调均不触发的情况
could not find name "wx"
RT.
您安装的最新引擎版本为 5.2.8
当前项目使用版本为 5.1.7
您可以执行 egret upgrade 命令升级项目
您正在使用白鹭编译器 5.1.7 版本
正在编译项目...
Error D:/Egret/egret-target-wxgame-1.1.7/demos/openDataContext/openDataContext/src/Main.ts (53,31): Cannot find name 'wx'.
Error D:/Egret/egret-target-wxgame-1.1.7/demos/openDataContext/openDataContext/src/Main.ts (165,13): Cannot find name 'wx'.
项目共计编译耗时:4.286秒
编译项目失败
请问egret开发微信小游戏可以使用Signalar库吗
请问egret开发微信小游戏可以使用Signalar库吗
measureText方法报错
WebSocket connectByUrl 收不到回调
版本egret-wxgame-support-1.3.5
有关代码:egret.wxgame.js 第2116行:
WXSocket.prototype.connectByUrl = function (url) { this.socketTask = wx.connectSocket({ url: url }); this._bindEvent(); };
现象:
我在微信小游戏里面调用WebSocket.connectByUrl("wss://192.168.70.209:8001")。收不到任何事件(包括连接成功和错误)。
我在上面的代码里面,给wx.connectSocket的参数传入success,failed,complete函数来调试。
结果success函数和complete函数都被调用到了。而且居然是在执行 this._bindEvent();之前被调用到。
而对外事件绑定的socketTask的那些回调还没有被设置进去。
解决方案:
请修复一下,设置一个标志,如果还没有执行到this._bindEvent(),则使用success和failed函数来调用onOpen和onError。
关于开放域在手机上的卡顿问题
按照这个教程http://developer.egret.com/cn/github/egret-docs/Engine2D/minigame/openDataContext/index.html, 在电脑上帧数正常。但在Android和iOS手机上,含有开放域内容的均卡顿严重,感觉像是sharedCanvas生成bitmap绘制消耗时间过长? @himuil 能看下么,万分感谢
iPhone X翻页闪屏问题
用这个demo真机测试的时候,翻页会闪屏,请问如何解决?
低帧率下,iOS真机使用pixelHitTest会导致屏幕闪烁
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.