egret-labs / egret-docs Goto Github PK
View Code? Open in Web Editor NEWEgret Document
Home Page: http://developer.egret.com
Egret Document
Home Page: http://developer.egret.com
事件的信息可以包括事件,地点,干什么。 事件应该是时间。
不知是否有其他加载皮肤的方法?
http://developer.egret.com/cn/docs/3d/
Egret3D入口页面的“快速入门”菜单点了是404
希望Texture Merger增加Linux版本or开源一下。目前只有win和mac办不利于CI自动构建啊
请问这句话该如何断句?
基于vscode上加入自己集成的东西没有问题,不过至少也得说明一下吧,能不要拉低**软件行业的良知吗?lowb这个词能不能不要让我在脑子中想到?
http://developer.egret.com/cn/github/egret-docs/Engine2D/projectConfig/indexFile/index.html
audioType这里不是很理解。。在这里发发牢*qwq
习惯性地
··
export class ...;
···
import {} from '...';
发现不行。提示exports错误
http://developer.egret.com/cn/2d/hit/inexactHit
private onAddToStage(event:egret.Event)
{
this.drawText();
var shp:egret.Shape = new egret.Shape();
shp.graphics.beginFill( 0xff0000 );
shp.graphics.drawRect( 0,0,100,100);
shp.graphics.endFill();
shp.width = 100;
shp.height = 100;
this.addChild( shp );
var isHit:boolean = shp.hitTestPoint( 10, 10 );
this.infoText.text = "碰撞结果" + isHit;
}
private infoText:egret.TextField;
private drawText()
{
this.infoText = new egret.TextField();
this.infoText.y = 200;
this.infoText.text = "碰撞结果";
this.addChild( this.infoText );
}
测试碰撞结果实际为true,截图错误
只会影响编译顺序,并不会影响加载顺序
TextureMerger无法解析含有../的路径。
在TextureMerger里保存项目后重新打开,在其他目录中的图片无法被加载(非当前目录的下级目录,如../../b.png
)
文档已经废了,现在注册也404,无论挂不挂代理都是一样的,这个项目究竟还有没有人在维护,是不是烂尾了?
来自Texture文档的描述错误,箭头所指应该是res而不是des,容易造成误导,出错的页面网址为:http://developer.egret.com/cn/github/egret-docs/Engine2D/bitmapTexture/useTexture/index.html
shp.graphics.drawArc(200,200,100,0,Math.PI,true);
Activity com.iflow.ui.game.GameLaunchActivity has leaked IntentReceiver org.egret.runtime.component.device.b$a@eef168 that was originally registered here. Are you missing a call to unregisterReceiver()?
android.app.IntentReceiverLeaked: Activity com.iflow.ui.game.GameLaunchActivity has leaked IntentReceiver org.egret.runtime.component.device.b$a@eef168 that was originally registered here. Are you missing a call to unregisterReceiver()?
引擎版本 5.1.3
egret-docs/Engine2D/projectConfig/tempfile/
文档中描述:项目中有template/debug和template/web两个文件夹。
目前我的项目使用egret 5.3.0 template文件夹下有runtime 和 web两个文件夹。runtime文件夹下没有index.html文件。
请问是否是文档未及时更新?
用 Egret 做的微信小游戏,因为刚入手学习不熟悉,基本上都是用 RES.getResByUrl('https://xxx.xxx.xxx.png')
加载服务器上的单个图片或者是接口返回的图片 url 地址,后来图片资源多了之后把default.res.json
的地址放到了服务器上,通过在main.ts
里用RES.loadConfig("default.res.json", "https://xxx.xxxx.xx/game/resource/");
来加载资源组,但是随着功能增加图片增加,小游戏经常在微信端闪退,于是搜到了用ktx来减少内存的占用,看的是这篇教程,但是对于远程资源加载还是不懂,又没有具体的例子能帮我解决这个问题?
事件机制=》事件侦听器=》TouchEvent的启动开关中,touchEnabled 默认值写成了true
正在初始化运行环境, 请稍等...
运行环境初始化错误: Invalid Version: 1.02.1801081
native 0.1.20 ,Shape对象,使用Graphics绘制一个矩形。运行后,点击这个矩形。崩溃。
test
微信基础库2.7.0,无法使用碰撞检测,老版本基础库可以使用。有什么替代方案吗
按教程:
class Main extends egret.DisplayObjectContainer{
public constructor()
{
super();
this.addEventListener(egret.Event.ADDED_TO_STAGE,this.onAddToStage,this);
}
private onAddToStage(event:egret.Event) {
RES.addEventListener(RES.ResourceEvent.GROUP_COMPLETE, this.onGroupComplete, this);
RES.loadConfig("resource/default.res.json", "resource/");
RES.loadGroup("preload");
}
private onGroupComplete()
{
var img:egret.Bitmap = new egret.Bitmap();
img.texture = RES.getRes("egret_icon_png");
this.addChild(img);
}
}
运行后并没有显示图片
2021年了,考虑增加Linux版本吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.