Tag

touch-input

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

CocosGame DevelopmentJavaScript
0 likes · 27 min read
Match‑3 Game Development Tutorial with JavaScript and Cocos
LOFTER Tech Team
LOFTER Tech Team
Aug 15, 2022 · Game Development

Implement Touch‑Controlled Movement, Directional Walking Animations, and Physics Collisions for a Hero Character in Cocos Creator

This guide demonstrates how to enable touch‑based movement for a hero character, add directional walking animations, integrate animation logic, and implement physics‑based collision detection with walls in Cocos Creator, including code snippets for event handling, animation state management, and physics component setup.

Cocos CreatorGame Developmentanimation
0 likes · 18 min read
Implement Touch‑Controlled Movement, Directional Walking Animations, and Physics Collisions for a Hero Character in Cocos Creator