Skip to main content

2 posts tagged with "web"

View All Tags

PixiJS 布局 v3 来了!🎉

· 8 min read
Zyie
PixiJS Admin

今天我们发布了 PixiJS Layout v3,这是对该库从头彻底重建的新版本。这个新版本提供了一种强大且符合 web 标准的方式来管理 PixiJS 项目中的布局,由 Yoga 布局引擎提供支持。

🌐 Today we are releasing PixiJS Layout v3, a complete rebuild of the library from the ground up. This new version offers a powerful, web-standard way to manage layout inside PixiJS projects, powered by the Yoga layout engine.

不仅仅是一次重写,v3 代表了一个重大飞跃:它将真正的flexbox 布局原理引入了 PixiJS 生态系统,让习惯于 CSS 风格布局的网页开发者也能使用 PixiJS。无论你是在创建游戏界面、动态画布应用,还是完整的交互式体验,现在你都可以使用你已经熟悉的布局模式——flex-growjustify-contentalign-items 等等。

🌐 More than just a rewrite, v3 represents a major leap forward: it brings true flexbox layout principles to the PixiJS ecosystem, opening up PixiJS to web developers who are used to CSS-style layouts. Whether you are creating a game UI, a dynamic canvas app, or a full interactive experience, you can now use the layout patterns you already know — flex-grow, justify-content, align-items, and more.

此外,PixiJS Layout v3 与 PixiJS React 无缝集成,使 React 开发者能够使用熟悉的声明式工作流来组合和管理 PixiJS 用户界面。无论你是在纯 PixiJS 中工作,还是将其与 React 结合使用,布局现在都更加容易、直观且功能更强大。

🌐 In addition, PixiJS Layout v3 integrates seamlessly with PixiJS React, enabling React developers to compose and manage PixiJS UIs with a familiar declarative workflow. Whether you are working in plain PixiJS or combining it with React, layout is now easier, more intuitive, and more powerful.

AssetPack 1.0.0 发布!

· 10 min read
Zyie
PixiJS Admin

今天我们非常高兴地宣布 AssetPack 1.0,一款面向网页开发者的资源管理和优化工具。

🌐 Today we are very excited to announce AssetPack 1.0, an asset management and optimization tool for web developers.

在网页开发的世界中,管理和优化资源通常需要大量的人工操作。开发者需要确保他们的图片被压缩,音频文件被优化,字体被高效加载,等等。这个过程可能耗时且容易出错,尤其是在处理包含许多资源的大型项目时。为了解决这一挑战,AssetPack 提供了一个可配置的资源管道,可以自动化执行许多这些任务,从而让开发者更容易管理和部署项目中的资源。

🌐 In the world of web development, managing and optimizing assets often demands significant manual effort. Developers need to ensure that their images are compressed, their audio files are optimized, their fonts are loaded efficiently, and more. This process can be time-consuming and error-prone, especially when working on large projects with many assets. To address this challenge, AssetPack provides a configurable asset pipeline that automates many of these tasks, making it easier for developers to manage and deploy assets in their projects.