0

Best practice principles for mobile game development

 1 year ago
source link: https://community.arm.com/arm-community-blogs/b/graphics-gaming-and-vr-blog/posts/p2-best-practices-mobile-game-development
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Best practice principles for mobile game development

7776.Mobile_2D00_Studio_2D00_Blog_2D00_2020.jpg_2D00_900x506x2.jpg?_=638047970293011163
November 26, 2022
4 minute read time.

In our previous post, we introduced module 1 of Arm's free Mali GPU training for mobile graphics developers. Here, we will present module 2, which covers the latest best practice recommendations, to help you get the best performance from commonly deployed Mali GPUs. In this module:


The Mali GPU family

First, let us introduce the Mali GPU family, and describe the evolution of the architecture and its capabilities.

Cannot see this video? Try this link instead.

Best practice principles for mobile graphics

Now, let us look at how the design decisions you make during game development can impact performance on mobile. We will offer some tips and best practices to help you avoid common problems.

Cannot see this video? Try this link instead.

How to construct efficient frames

To get the best performance out of a tile-based renderer one of the most important things to get right is the frame graph. This defines the bare bones of the frame – the render passes, the compute passes, and how data flows between them. In this video, we introduce some ideas to help you understand how frames can be built more efficiently, to make the best use of a mobile device’s resources.

Cannot see this video? Try this link instead.

Engine and API best practices

In this video, we introduce some engine and API best practices to help you avoid common problems.

Cannot see this video? Try this link instead.

Content best practices

GPUs are data plane processors, so it should be no surprise that the data payload of content is critically important to the performance that can be achieved. In this video, we introduce some best practices to help you create efficient content that will perform well on a wide range of mobile devices.

Cannot see this video? Try this link instead.

Shaders best practices

The final video in this module introduces some best practices for shader programs, to help you get the best performance on Mali GPUs.

Cannot see this video? Try this link instead.

Developer resources to help you

Arm publishes a wealth of content to support you. Visit our developer website, where you can find guidelines for artists, including best practices for materials and shaders, geometry, and textures. We also have a comprehensive set of best practices for Mali GPUs, to help you develop more performant graphics.

If you are developing on Unity, there are some optimization guidelines for you. For technical artists, there is also a great Unity learn course, 3D Art optimization for Mobile Applications. This walks you through some example content, teaching all the basic principles. We also publish our Unity developer guides in Korean, Japanese, and Chinese.

There is a set of performance counter reference guides for each Mali GPU, that describe all of the performance counter data that can be collected. We also provide a handy data sheet to help you compare the capabilities of each Mali GPU.

In the next blog

Look out for the next and final blog in this series, where we cover module 3 of the training. This module introduces Arm Mobile Studio, our free-to-use performance analysis tool suite for identifying performance problems on off-the-shelf Android devices. We demonstrate how to capture and analyze a performance profile of a mobile game, to see how the device’s CPU and GPU resources were used. You will also learn how to debug graphics API calls and shader programs to find more ways to optimize content for mobile.

Get in touch

If you liked this training, please let us know. If there is more you want to see, get in touch at [email protected].

Join the discussion on the graphics and gaming forum.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK