Tagged articles
7 articles
Page 1 of 1
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.

Cocosalgorithmgame-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.

CocosGame DevelopmentPerformance Optimization
0 likes · 15 min read
Performance Optimization of Cocos Exported WeChat Mini‑Games: Strategies, Code Adjustments, and Testing Tools
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.

CocosJavaScriptLynx
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
Liangxu Linux
Liangxu Linux
Jan 31, 2021 · Game Development

How to Tweak the “Big Watermelon” Cocos Game: Source Files and Score Hacks

This guide walks you through the core source files of the popular “Big Watermelon” Cocos game, explains its simple click‑collision‑score‑display flow, and shows concrete code snippets for altering the scoring logic or other gameplay tweaks, while hinting at algorithmic optimization.

CocosGame DevelopmentJavaScript
0 likes · 4 min read
How to Tweak the “Big Watermelon” Cocos Game: Source Files and Score Hacks