Use a custom material and TypeScript to animate a moving band of light across a sprite in Cocos Creator 3.7.2.
Software notes and practical experiments
This is the English entry point to Nanfeng's development blog. The archive currently contains Chinese-language technical notes; English translations will be published progressively.
Debugging JavaScript on Cocos Creator Native Platforms
Common requirements for connecting the Cocos Creator native JavaScript debugger to an Android build.
Fixing “Build Type Isn't Debuggable” in Android Studio
Select the debug build variant when Android Studio refuses to attach a debugger to a release build.
Fixing getGFXTexture Null Errors in Cocos Creator
Trace a missing SpriteFrame texture by inspecting its UUID in the Cocos Creator debugger.
Refreshing Label Size in Cocos Creator
Force Label render data to update before reading its new UITransform dimensions.
Fixing checkReleaseDuplicateClasses in a Cocos Creator Android Project
Enable AndroidX and Jetifier after an exported Android build fails during duplicate-class checking.
Understanding the timeRecords Maximum Size Warning
Notes on the timeRecords is at its maximum size 64 warning during local testing.
Listening for Background and Foreground Events in Cocos Creator
Subscribe to Game EVENT_HIDE and EVENT_SHOW and clean up both listeners when no longer needed.
Updating an Android App's targetSdkVersion
Update the shared PROP_TARGET_SDK_VERSION property when Android warns that an app targets an old platform version.
When an OpenAI Payment Method Cannot Be Authenticated
A brief account of a card-authentication failure while attempting an OpenAI subscription payment.