neoguo / html5-documents Goto Github PK
View Code? Open in Web Editor NEWAll about HTML5 frameworks
All about HTML5 frameworks
在当前版本中的代码应该是:
var bitmapFont = new egret.BitmapText();
bitmapFont.font = RES.getRes('bitmapfont');
bitmapFont.text = "Hello World!";
this.addChild(bitmapFont);
是bitmapFont.font 而不是bitmapFont.spriteSheet
按照上面的教程将Egret引擎安装好后,新建HelloEgret这个项目,但建成编译后找不到egretProperties.json这个文件?
简单走了一下, 没找到 https://github.com/NeoGuo/html5-documents/blob/master/egret/02-bitmap.md 这里面的
"document_class" : "Demo2"
添加入口类这一段没找到怎么加进去, 我照着做的里面egretProperties.json没有这样的字段
在最下面找到源码了, 抱歉
循环没有意义,需修改
var monkey = new egret.MovieClip(new egret.DefaultMovieClipDelegate(data,texture));
egret 没有DefaultMovieClipDelegate
这个方法
Egret框架入门第一步 - 影片剪辑 这一部分里面的方法感觉已近过期了,能否更新一下代码呢?免得很多像我这种小白都运行不出来 ,然后百度半天才发现,是框架机制更改了额
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.