GithubHelp home page GithubHelp logo

egret-construction-study's People

Contributors

jesonhu avatar

Stargazers

 avatar

Watchers

 avatar

egret-construction-study's Issues

动画组相关

动画组播放与恢复动画(回到动画开始时的初始位置)

/** 动画组 */
aaa: egret.tween.TweenGroup

/**
 * 播放动画
 */
	public startAnimation(){
		// 播放动画组
	}

	/**
	 * 恢复动画初始状态
	 */
	public resetAnimation(){
		this.markGroup.play(0);
		this.markGroup.stop();
	}

06. 使用过的组件,文件名和类名修改后造成的问题.

使用过的组件,文件名和类名修改后造成的问题

例如有个组件,文件名为 A.ts 中定义 class A,先正常使用。然后文件名改为 B.ts, 类名改为 class B,此时即使通过 wing 进行了 清理,但是也会报错。这里进行报错记录.

image

解决方案:.ts 文件名和类名修改后,皮肤的名称和 id 如果需要也要进行修改。然后再将旧的组件删掉,重新添加修改名字后的组件并绑定对应皮肤。然后先 清理编译

YT 遇到的坑

某个皮肤在 Wing 中不显示

##可能问题

  • 1 xxSkin 代码修改有问题.
    解决: 代码还原

egert 2d eui 项目说明

Egret_Project			                //项目目录
		--template		        //模板配置目录
		--libs			        //引擎库目录
		--resource		        //资源目录
		--src			                //源代码目录
		--egretProperties.json	//项目配置文件
		--index.html		        //启动文件

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.