zoukankan      html  css  js  c++  java
  • egret学习

    1.egret wing4.0不能创建egret游戏项目, 重置了引擎之后就可以了

    2.入门介绍:http://developer.egret.com/cn/github/egret-docs/Engine2D/getStarted/helloWorld/index.html

    3.TypeScript 手册:https://zhongsp.gitbooks.io/typescript-handbook/content/doc/handbook/tutorials/TypeScript%20in%205%20minutes.html

    4.egret API  http://developer.egret.com/cn/apidoc/

    5.教学示例:http://developer.egret.com/cn/example/egret2d/index.html#010-disp-basic

    6.javascript API

    http://www.w3school.com.cn/jsref/jsref_random.asp

    http://www.runoob.com/jsref/jsref-random.html

      1 到 10 之间的一个随机数:Math.floor((Math.random()*10)+1);

    可以对比AS3的Mouse_down mouse_up

    TOUCH_BEGIN   开始触摸   TOUCH_END  结束触摸  TOUCH_TAP  一次完整的开始到结束触摸 
    let和var作用域不一样,var有变量提升,现在推荐用let
     

    js 全局变量污染 ts namespace module

    http://www.jianshu.com/p/051cfaa967de

    H5:估计用laya 和白鹭layabox.com  egret.com

    从 ActionScript3 到 TypeScript(一)

    http://bbs.egret.com/thread-423-1-1.html

    [Egret学习笔记 二]MovieClip的使用

    http://blog.csdn.net/rcjjian/article/details/44901383

    webGL和Canvas之间的关系?

    Canvas 是HTML5提供的一个特性,你可以把它当做一个载体,简单的说就是一张白纸。而Canvas 2D 相当于获取了内置的二维图形接口,也就是二维画笔。

    Canvas 3D 是获取基于 WebGL的图形接口,相当于三维画笔。你可以选择不同的画笔在上面作画。

    canvas应该是2D画布,3D的话就是用webgl。

    移动端 webgl 对比 canvas 性能

    http://blog.csdn.net/jiexiaopei_2004/article/details/48437309

  • 相关阅读:
    nginx系列之七:限流配置
    nginx系列之六:cache服务
    nginx系列之五: 负载均衡
    nginx系列之四:web服务器
    nginx系列之三:日志配置
    nginx系列之二:配置文件解读
    nginx系列之一:nginx入门
    [面试题]25个MySQL经典面试题
    常用的 Linux iptables 规则
    java new一个对象的过程中发生了什么
  • 原文地址:https://www.cnblogs.com/as3lib/p/7750706.html
Copyright © 2011-2022 走看看