ArticleslgStudy

computer science

LayaBox

LayaBox is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand LayaBox rather than just read about it. In short: LayaBox (Souyou Network Technology Beijing Co., Ltd.), also known as Laya, is a Chinese-developed freeware framework, which includes a web-based game engine named LayaAir, targeting mobile and web platforms, as well as online publishing and digital distribution services. It was first announced at the Global Mobile Game Confederation conference in April 2015.

LayaBox — main illustration
LayaBox — illustration

Key takeaways

  • LayaBox belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect LayaBox to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of LayaBox from memory before moving on to harder problems.

Reference excerpt

LayaBox (Souyou Network Technology Beijing Co., Ltd.), also known as Laya, is a Chinese-developed freeware framework, which includes a web-based game engine named LayaAir, targeting mobile and web platforms, as well as online publishing and digital distribution services. It was first announced at the Global Mobile Game Confederation conference in April 2015. It offers a feature set for developing multi-platform games. Currently, a hundred games use Laya engine solutions. The LayaPublish module is available to publish games made with LayaBox to various platforms.

History Created in 2014 by Xie ChengHong, LayaBox was initially focused on high-performance transcompiling of Flash-based games coded in ActionScript 3.0 to web-based games via JavaScript and WebGL.

LayaAir 1.0 During the International Game Developers Conference held in November 2015, Xie ChengHong announced that a new 3D engine was in development. On 30 June 2016, LayaAir 1.0 was published on its official website, with 3D and VR support features. It comes equipped with UI editor functionality and supports one-time development for full platform release.

LayaAir 3.0(2023) LayaAir 3.0 was released in June 2023.

Technology and features The "Layabox Product Family" is a components suite solution designed to implement web/mobile game publishing, translating contents, profit monetization, 3rd party API, and online distribution.

LayaFlash LayaFlash is a source-to-source compiler that runs as a back end to the LLVM compiler, making it the most suitable for ActionScript 3.0 programmers to release on web platform. It is also fully compatible with Flash IDEs such as FlashBuilder, FDT, FlashDevelop, or LayaAir IDE.

LayaAir LayaAir is a dedicated open-source API for games and multimedia routines modules. It can be integrated with different ECMAScript standard language (ActionScript 3.0, JavaScript and TypeScript). The LayaAir engine use its own 3D data format file. To handle importation of assets data from 3D graphics software, LayaBox provides a tools converter from FBX files. Also, the Unity plugin is available to convert the Unity GameObject class into LayaModel files (*.lm). The last core libraries released support:

UI library primitives with the most common GUI elements in game scene. (both <canvas> tag and WebGL mode support). 2D skeletal animation by interpolation with timeline, GPU skinning for 3D. 2D/3D particle system. VR view mode. Audio libraries and sound controller: (wrap OpenAL for mobile and HTML audio for web browser). Composite, blend, and basic filters operation: <canvas>/sprite. Various event-driven programming with event Bubbling and Capturing. Compatibility with some additional frameworks: Starling, MornUI

LayaPlayer Written in C and C++, LayaPlayer (codenamed Conch) is a runtime accelerator for Android and iOS to execute web-based games with low memory footprints, low CPU consumption, logic rendering with dual core running, GPU acceleration, video memory intelligent management, and extremely optimized rendering flow with high FPS results. It supports Canvas, WebGL, and DOM-type engines. Web-based applications, released with LayaPlayer, run mobile apps at near-native speeds. It is possible to call native library functions from web-based JavaScript code.

LayaPublish Relating to publication services, LayaPublish helps companies acquire internet traffic. Available in web application form, it also gives an opportunity for developers to spread their game visibility. [1]

LayaStore LayaStore is an embedded program that can run directly into native applications; it gives access to a full list of web games from the LayaBox store. Introduced as a lightweight (less than 20 kilobytes) add-on component help monetization for developers. It can generate revenue on either a microtransaction or a number-of-mobile-installations basis.

LayaOpen LayaOpen is a platform exchange that offers revenue management and leaderboard statistics for developers and channel distributors, who can get product information and feedback on User data, Social sharing / analytics, and monthly active users.

Distribution A Developers Account lets users connect their games across distribution channels. Mobile marketing technology is the main target audiences.

Reception

Games using the Laya solutions

Awards and recognition

2015 Game Industry Contribution Award – HTML5 game (2015年HTML5游戏产业贡献奖) H5 – 2015 Best engine award (Layabox荣膺"2015年度最佳引擎奖")

See also Rich web application Mochi Media Shumway

References

External links Official website Github LayaAir Wiki guide

Worked examples

Example 1 — a first encounter with LayaBox

Start with the simplest possible case. Write down what LayaBox claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to LayaBox before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about LayaBox ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of LayaBox

In research
LayaBox appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses LayaBox in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
LayaBox is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2014 establishments in China, Rich Internet Applications, Video game companies of China, so understanding it makes those chapters shorter.
In everyday life
Look for LayaBox outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “LayaBox” →

How to study LayaBox in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what LayaBox means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain LayaBox out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is LayaBox in simple terms?

LayaBox (Souyou Network Technology Beijing Co., Ltd.), also known as Laya, is a Chinese-developed freeware framework, which includes a web-based game engine named LayaAir, targeting mobile and web platforms, as well as online publishing and digital distribution services. It was first announced at t…

Why does LayaBox matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study LayaBox?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on LayaBox.

Tags

  • 2014 establishments in China
  • Rich Internet Applications
  • Video game companies of China
  • Video game development software
  • Video game engines

Keep exploring