article thumbnail

How to check TS bug like this in android build

Cocos

enable the Debug option disable the Encrypt JS option build debug in Android Studio then you can address the specific line when the JS code causes errors. On the Build Panel, try the following steps.

Build 52
article thumbnail

Bug: Simulator not rendering ttf font

Cocos

You can debug the following code to see if there are any exceptions. The same didn’t work on Mac. Issues happen with CC 3.7.2 This situation may be caused by the failure of font loading, you can see if there is an output error message?

Render 52
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Coding Pitfalls to Avoid When Learning How to Make an Android Game

Big Games

Regular Updates and Support By regularly releasing updates, bug patches, and fresh content, you should demonstrate your dedication to your game. It also provides powerful tools for debugging, testing, and coding. What Coding Pitfalls You Need to Avoid? It guarantees that players have an engaging and consistent experience.

Code 52
article thumbnail

Uplifting Optimizations, Debugging, and Performance Tuning with NVIDIA Nsight Developer Tools

Nvidia

Likewise, for graphics development, it is vital that you feel empowered to handle any bug fix or optimization need that could arise. There is always some layer of abstraction between the physical computer and the application that you are building, but you can’t optimize and debug what you can’t see. What are developer tools?

Debug 52
article thumbnail

The Benefits of Learning to Code with Classmates

Real Programming

When kids learn how to code their own computer games, they reap both primary and secondary benefits — much like when they participate in extracurriculars like art, ballet, or a team sport. Of course, learning how to code is an invaluable skill. Coding Boosts Teamwork and Collaborative Skills Programming is a team project.

Code 52
article thumbnail

Handle the collision of sprites

Cocos

best way to debug this kind of bugs is to activate physic debugging, add this to your code. onLoad() { PhysicsSystem2D.instance.debugDrawFlags = EPhysics2DDrawFlags.Aabb | EPhysics2DDrawFlags.Pair | EPhysics2DDrawFlags.CenterOfMass | EPhysics2DDrawFlags.Joint | EPhysics2DDrawFlags.Shape; }

article thumbnail

Bugs: Let's catch 'em all this Saturday 9 December

Mircosoft Game Dev

beta 1 release last week, there have been more than 70 bugs fixed and over 100 bug reports created! Bug hunting day on Saturday 9 December. Bug hunting day on Saturday 9 December. We propose to have a special bug hunting day tomorrow (Saturday 9 December), to focus on fixing the bugs reported for the 3.0

Bug 52