Display a square image as a circle by drawing a custom mask with Cocos Creator and TypeScript.
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.
Loading Remote Assets in Cocos Creator
Examples for loading remote images, device files, audio, and text with Cocos Creator's assetManager.
Changing Node Order with setSiblingIndex in Cocos Creator
Reorder sibling nodes and adjust their rendering order with setSiblingIndex in Cocos Creator.
Shenzhen Zhongren Enterprise Consulting and ISO Certification Services
An introduction to Shenzhen Zhongren's enterprise certification and management consulting services.
Adding a Double-Click Listener to a Cocos Creator Node
Detect two touch-end events within a short interval to implement double-click behavior in Cocos Creator.
Adding Algolia Search to a Hexo Blog
Configure Algolia indexing and site search for a Hexo blog without committing the administrative API key.
Converting Excel Files to JSON with Node.js
Read spreadsheets from a folder with node-xlsx and write their rows into keyed JSON files.
Dynamically Adding and Removing PageView Pages in Cocos Creator
Add and remove Cocos Creator PageView pages at runtime and listen for page changes.
Publishing Hexo Content in a WeChat Mini Program
Generate a JSON API from Hexo and connect it to a WeChat Mini Program front end.
A Simple Single-Sprite Card Flip in Cocos Creator
Implement a card-flip animation with one sprite by swapping its frame halfway through a Y-axis tween.