Tag

Cocos

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 19, 2023 · Game Development

Match‑3 Game Development Tutorial with JavaScript and Cocos

This article provides a step‑by‑step tutorial on building a match‑3 (candy‑crush style) game, covering basic rules, core matching and removal algorithms in JavaScript, and a complete implementation in Cocos Creator with grid layout, touch handling, swap animation, piece falling, and refill logic.

AlgorithmCocosGame development
0 likes · 27 min read
Match‑3 Game Development Tutorial with JavaScript and Cocos
IEG Growth Platform Technology Team
IEG Growth Platform Technology Team
Nov 11, 2022 · Game Development

Performance Optimization of Cocos Exported WeChat Mini‑Games: Strategies, Code Adjustments, and Testing Tools

This guide details practical performance‑optimization techniques for Cocos‑based WeChat mini‑games, covering scene and prefab optimizations, asset compression, code size reduction, garbage‑collection handling, mask usage, plugin assistance, code‑level improvements, and a suite of testing tools to measure and verify the gains.

Asset ManagementCocosGame development
0 likes · 15 min read
Performance Optimization of Cocos Exported WeChat Mini‑Games: Strategies, Code Adjustments, and Testing Tools
TAL Education Technology
TAL Education Technology
Dec 16, 2021 · Game Development

Implementing Polygon Click Detection in Cocos and Optimizing a Sudoku Solver

This article explains two techniques for accurate polygon click detection in Cocos—pixel‑alpha testing and PolygonCollider2D with ray‑casting—and describes a bit‑mask based Sudoku solver that uses depth‑first search and solution counting to ensure puzzle uniqueness and improve performance.

AlgorithmCocosGame development
0 likes · 8 min read
Implementing Polygon Click Detection in Cocos and Optimizing a Sudoku Solver
TikTok Frontend Technology Team
TikTok Frontend Technology Team
Nov 22, 2021 · Game Development

Technical Overview of Douyin National Day Mini‑Game Development Using Lynx and Cocos Creator

This article details the end‑to‑end development of Douyin's National Day mini‑game, covering the Lynx + Cocos tech stack, core Cocos concepts such as ECS, node hierarchy, lifecycle, a step‑by‑step walkthrough of the star‑catcher demo code, background looping strategies, checkpoint transitions, character Spine animation, resource loading pipelines, custom bitmap fonts, and a series of performance optimizations for mobile deployment.

CocosGame developmentLynx
0 likes · 28 min read
Technical Overview of Douyin National Day Mini‑Game Development Using Lynx and Cocos Creator
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 23, 2021 · Game Development

Master Multi-Device UI Adaptation in Cocos with 9‑Slice Scaling

Learn how to achieve seamless multi‑device UI adaptation in Cocos by understanding design versus screen resolution, using Fit Height/Width modes, leveraging Widget components for edge alignment, and applying 9‑slice slicing to option backgrounds, all without cumbersome CSS or extensive code.

9-sliceCocosFit Height
0 likes · 17 min read
Master Multi-Device UI Adaptation in Cocos with 9‑Slice Scaling