书栈网 · BookStack 本次搜索耗时 0.018 秒,为您找到 51 个相关结果.
  • Learning Pixi

    581 2021-07-26 《Learning Pixi》
    Learning Pixi Learning Pixi A step-by-step introduction to making games and interactive media with the Pixi rendering engine . Updated for Pixi v4.5.5 . Chinese version here: ...
  • Pixi sprites

    434 2021-07-27 《Learning Pixi》
    Pixi sprites Pixi sprites Now that you have a renderer, you can start adding images to it. Anything you want to be made visible in the renderer has to be added to a special Pix...
  • Pixi 精灵

    12386 2018-02-28 《Pixi教程》
    Pixi 精灵 现在你就有了一个画布,可以开始往上面放图像了。所有你想在画布上显示的东西必须被加进一个被称作 舞台 的Pixi对象中。你能够像这样使用舞台对象: app . stage 这个舞台 是一个Pixi 容器 对象。你能把它理解成一种将放进去的东西分组并存储的空箱子。 舞台 对象是在你的场景中所有可见对象的根容器。所有你放进去的东...
  • Creating the Pixi Application and stage

    720 2021-07-27 《Learning Pixi》
    Creating the Pixi Application and stage Creating the Pixi Application and stage Now you can start using Pixi! But how? The first step is to create a rectangular display are...
  • Pixi’s Graphic Primitives

    521 2021-07-27 《Learning Pixi》
    Pixi’s Graphic Primitives Rectangles Circles Ellipses Rounded rectangles Lines Polygons Pixi’s Graphic Primitives Using image textures is one of the most useful ways of m...
  • 用 Pixi 绘制几何图形

    12465 2018-02-28 《Pixi教程》
    用Pixi绘制几何图形 矩形 圆形 椭圆 圆角矩形 线段 多边形 用Pixi绘制几何图形 使用图片纹理是制作精灵最有效的方式之一,但是Pixi也提供了自己低级的绘画工具。你可以使用它们来创造矩形、线段、复杂的多边形以及文本。并且它使用和Canvas Drawing API 几乎一致的api,所以如果你熟悉canvas的话,那么几乎没...
  • 把图像加载进纹理缓存

    13681 2018-02-28 《Pixi教程》
    将图片加载到纹理缓存中 因为Pixi用WebGL和GPU去渲染图像,所以图像需要转化成GPU可以处理的版本。可以被GPU处理的图像被称作 纹理 。在你让精灵显示图片之前,需要将普通的图片转化成WebGL纹理。为了让所有工作执行的快速有效率,Pixi使用 纹理缓存 来存储和引用所有你的精灵需要的纹理。纹理的名称字符串就是图像的地址。这意味着如果你...
  • Setting up

    832 2021-07-27 《Learning Pixi》
    Setting up Installing Pixi Setting up Before you start writing any code, create a folder for your project, and launch a webserver in the project’s root directory. If you aren’...
  • 安装

    10367 2018-02-28 《Pixi教程》
    安装 安装 Pixi 安装 在你开始写任何代码之前,给你的工程创建一个目录,并且在根目录下运行一个web服务器。如果你不这么做,Pixi不会工作的。 现在,你需要去安装Pixi。 安装 Pixi 这个教程使用的版本是 v4.5.5 你可以选择使用 Pixi v4.5.5的发布页面 pixi 文件夹下的pixi.min.js 文件,或者...
  • Displaying sprites

    569 2021-07-27 《Learning Pixi》
    Displaying sprites Using aliases A little more about loading things Make a sprite from an ordinary JavaScript Image object or Canvas Assigning a name to a loading file Monitorin...