Auto-page a Cocos Creator PageView at a fixed interval with schedule, getPages, and scrollToPage while controlling duration, page bounds, and forward-reverse direction.
Cocos Creator Chrome CORS Debugging with Server Headers and Isolated Profile
Fix Cocos Creator cross-origin requests with server-side CORS headers, using a separate insecure Chrome profile only as a temporary local debugging fallback.
Change SpriteFrame Dynamically in Cocos Creator with resources.load
Load SpriteFrame sub-assets in Cocos Creator with the correct resources path and /spriteFrame suffix, then assign the result to one or multiple Sprite components.
Hide Cocos Creator .meta Files in VS Code with files.exclude
Configure files.exclude in VS Code user or workspace settings to hide Cocos Creator .meta files from Explorer while keeping them on disk and in version control.
Fix Cocos Creator python Build Script Launch Errors
Fix a Cocos Creator extension or build process that cannot launch a python script by checking the python path, stuck processes, editor state, and cached tasks.
Fix Look for an App in Microsoft Store on Windows 11 for a Trusted EXE
Verify a downloaded executable's source and signature, then use Windows 11 file properties to unblock the trusted EXE when the Microsoft Store prompt appears.
Cocos Creator Multiple Sprite Touch Events: Identify and Unbind Nodes
Register one Cocos Creator TypeScript TOUCH_END handler for multiple Sprite nodes, identify the touched node from EventTouch, and remove listeners during cleanup.
Cocos2d-x Lua Text Underline: Draw a Reusable DrawNode Segment
Add an underline beneath a Cocos2d-x Lua label with DrawNode and drawSegment by wrapping endpoints, color, width, scale, and positioning in a reusable helper.
Count Lua Table Fields: Length Operator, pairs and table.nums
Understand why Lua's length operator applies to sequences, then count every non-nil array or keyed entry with pairs or a table.nums helper.
Get File Size in Cocos2d-x Lua with io.open, seek and Error Handling
Open a file in Cocos2d-x Lua, seek to its end to obtain the size in bytes, close the handle reliably, and return false when the file cannot be opened.