This article shares a complete Java shooting game example, demonstrating object‑oriented programming concepts such as inheritance, interfaces, and event handling, and provides clear, commented source code for classes like Airplane, Bee, Bullet, Hero, and the main game loop.
The article presents Jump Point Search and four high‑performance variants—JPS‑Bit, JPS‑BitPrune, JPS‑BitPre, and JPS‑BitPrunePre—that combine bitwise acceleration, pruning, preprocessing, and compact multithreaded memory structures to achieve up to 273× faster pathfinding than classic A* on a 200‑grid benchmark.
Algorithm OptimizationJump Point SearchPathfinding
This article explores Blender’s open‑source origins, key advantages like cross‑platform support and comprehensive toolsets, guides beginners through installation and interface basics, showcases its capabilities from modeling to VFX, and offers practical tips for maximizing productivity in 3D projects.
This article explains why findViewById breaks after re‑packaging game SDKs, introduces a Gradle‑based custom resource class (SqR) to replace dynamic getIdentifier calls, and outlines how annotation injection can provide a ButterKnife‑like solution for mobile developers.
This tutorial demonstrates how to build a fully functional escape‑room style puzzle game using only HTML and CSS—no JavaScript—by leveraging checkboxes as switches, label‑for associations, sibling selectors, and CSS variables to manage scene navigation and interactive elements.
This article outlines the full workflow of a game art team, covering its organizational structure, each phase of game development from project initiation to post‑launch, and the detailed art production steps—including style definition, 2D and 3D creation, UI animation, special effects, asset integration, testing, and launch.
This article provides an in‑depth overview of Cocos Creator's node‑component architecture, covering node creation, hierarchy, spatial properties, touch event flow, and the detailed Visit and Render processes that transform component data into WebGL graphics for game development.
This article walks you through creating a fully functional Gobang (Five‑in‑a‑Row) game using Python's Tkinter library, covering GUI setup, board rendering, game logic, win detection, undo and reset features, and provides the complete source code ready to run.
Unity has launched the public beta of version 2020.2, introducing significant performance boosts, C# 8 support, enhanced editor workflows, and numerous rendering and optimization upgrades, while also outlining future plans for Unity 2021 and the upcoming 2020 LTS release.
This tutorial walks you through creating a fully functional Tetris clone using Python's PyQt5 library, covering game logic, rendering, user controls, shape management, line clearing, and includes complete source code for all core classes and methods.
This step-by-step tutorial explains how to prepare a CentOS environment, install Java and Maven, clone the Ratel source code, build the project, launch the command-line Dou Dizhu client, and play the game with various modes, providing all necessary commands and screenshots.
This tutorial explains how a Minecraft player used the VM‑Computers mod together with VirtualBox to embed a Windows 95 virtual machine in the game, install the classic DOOM shooter, and provides step‑by‑step instructions, required files, and limitations of the approach.
A game server developer copied a flawed Java function to calculate offline days, which mis‑computed the difference across year boundaries, leading to thousands of erroneous reward emails on 2020‑01‑01, and the issue was resolved by switching to the Java 8 date‑time API.
This article explains how the Liulishuo team leveraged the Cocos game engine to render video directly, managed OpenGL contexts across multiple threads, and built a reusable audio‑video processing pipeline for Android, detailing challenges, design decisions, and implementation solutions.
This article chronicles Alipay's five‑year journey in Web3D, detailing the launch of AR red packets, the creation of the R3 rendering engine, subsequent game projects, the rise of Lottie, internal editor development, and strategic predictions for the future of web‑based 3D experiences.
This article explains how to apply the Observer design pattern in a simple Java game to handle button clicks and hero movement, showing UML diagrams, code examples for subjects, observers, and a client that registers and triggers events.
Learn how to create a simple interactive cat‑themed canvas game for mobile browsers using Go compiled to WebAssembly, covering environment setup with Docker, Go code for DOM manipulation, event handling, rendering, audio, and deployment, while explaining WASM concepts and differences from Service and Web Workers.
Celebrating Supercell's tenth anniversary, this article shares ten practical lessons on fostering a culture of small, autonomous teams, hiring for quality, trusting employees, embracing failure, and focusing on long‑term player engagement to create timeless games.
This article details the design, architecture, and code implementation of a simplified Plants vs Zombies game in Java, covering game objects, pause functionality, object interactions, movement, collision detection, optimization techniques, and additional features such as rewards, background music, and future enhancements.
This article explains how 1980s games like Contra and Super Mario Bros. managed to deliver multiple levels and rich gameplay within just 64–128 KB by reusing tiles, compressing assets, leveraging simple code and specialized audio chips, illustrating the ingenuity of early game developers.
This article explains how to build a maintainable, scalable cross‑platform dress‑up game using Egret and DragonBones, covering project background, technical choices, skeletal‑animation concepts, data formats, front‑end H5 implementation with code examples, and a backend management system for assets and items.
Within a week, the 'Fight Epidemic' quiz mini‑game grew 60‑fold in users, leveraging Tencent Cloud’s MGOBE matchmaking engine, CloudBase serverless backend, and AME music service to deliver real‑time multiplayer, data storage, and licensed audio, illustrating rapid, scalable game development during a health crisis.
This tutorial walks you through creating a fully functional Rock‑Paper‑Scissors desktop game using PyQt5, covering window setup, grid layout, widget placement, signal‑slot connections, random image selection, score tracking, and graceful exit handling, all illustrated with screenshots.
This article presents a comprehensive overview of game development fundamentals, rendering techniques, synchronization methods, and the design of interactive educational courseware using the Cocos engine, illustrating how game concepts can be applied to create engaging learning experiences.
Open Surge is a free, open‑source 2D retro platform game inspired by Sonic that also serves as a game‑creation system, written in C with Allegro, and can be easily installed on Ubuntu 18.04+ via the Snap store with simple keyboard controls.
This article walks through creating a functional Python clone of the classic Plants vs Zombies game, detailing supported plant and zombie types, level data storage, image resource organization, and the implementation of graphics loading, frame handling, state management, and animation logic using Pygame.
This guide walks game SDK developers through Apple’s In‑App Purchase integration, detailing product types, the three‑step purchase flow, receipt acquisition and server‑side verification, order binding and retry mechanisms, duplicate handling, subscription restoration, and comprehensive error handling to ensure reliable revenue management.
The article explains how traditional front‑end/back‑end structures limit agility, introduces the concept of a middle platform (中台) that centralizes common services, showcases successful examples like SuperCell, Alibaba and Huawei, and outlines when and how organizations should adopt such a platform.
game developmentmiddle platformplatform engineering
At a Tencent Cloud technical salon, Egret Technology’s senior product manager demonstrated how the Egret engine’s built‑in cloud development and WebSocket‑based real‑time data push enable mini‑programs such as leaderboards and chat rooms, eliminating server setup, reducing backend costs, and simplifying cross‑platform game creation.
The guide shows non‑game developers how to master WeChat mini‑game creation using the 2W1H framework, covering what mini games are, why they boost brand exposure, how to learn via CreateJS and Cocos Creator, and leveraging Mini Program Cloud for full‑stack backend support.
From Steve Jobs’s early work at Atari to modern DeepMind breakthroughs, the article traces how video games have grown into a multibillion‑dollar industry that serves as a testbed for AI research, while highlighting current AI techniques for smarter agents, procedural content generation, and the collaborative challenges shaping the future of game development.
Monte Carlo Tree Searchartificial intelligencegame AI
Learn how to create a fully functional Snake game in Python using Pygame, covering installation, core game logic, rendering, collision detection, and game loop implementation, with detailed code examples and explanations to help beginners build and customize their own classic arcade game.
This article walks through the background, monetization considerations, and detailed implementation steps—including canvas creation, enemy and player sprites, movement, collision detection, and touch handling—required to develop a basic WeChat mini‑game, with full code snippets and resource links.
This article walks through the full implementation of a console‑based 2048 game in Python, covering the main game loop, movement logic using matrix operations, random tile generation, score handling, board rendering with curses, and the initialization process, all illustrated with code snippets and diagrams.
This article explains how to build a classic link‑matching puzzle game in Java, covering the grid data model, random map generation, three connection algorithms (direct, one‑corner, two‑corner), mouse interaction, drawing routines, smart hint, shuffling, win detection and game restart, all illustrated with complete source code.
This tutorial walks you through using Blender's Python API to set up a plane, a torus chain, and a wall of cubes as rigid bodies, then shows how to tweak the code and parameters to produce a dramatic wrecking‑ball collision animation.
The article explains how Tencent Cloud’s Gaming Multimedia Engine (GME) introduces a built‑in real‑time voice‑changing feature for games, detailing the underlying pitch‑and‑timbre manipulation, latency‑reduction techniques that keep delay under 40 ms, and how developers can integrate the SDK to enrich player social interaction without external hardware.
The talk detailed WeChat Mini‑Program architecture, cloud‑based Wafer solutions, serverless backend with API Gateway and Cloud Functions, live‑streaming integration, and game development techniques, illustrating how Tencent Cloud enables rapid, scalable, and maintainable Mini‑Program and Mini‑Game creation, exemplified by Youzan’s e‑commerce implementation.
Ray tracing, once limited to film studios, is becoming feasible for real‑time gaming thanks to NVIDIA’s RTX hardware, Microsoft’s DXR API, and AMD’s support, while parallel advances in corporate renewable‑energy procurement see dozens of major firms signing large power‑purchase agreements, accelerating the shift toward sustainable, ultra‑realistic graphics.
The guide outlines a scalable, globally unified architecture for WeChat mini-games—combining stateless compute layers with CLB, auto-scaling, a star-router model for peer communication, and horizontally-sharded storage using Tencent Cloud’s DCDB or TCaplus to handle rapid viral growth.
The 2018 Game Technology Trend Salon in Guangzhou gathered top industry architects and CTOs to dissect battle‑royale architecture, the explosive rise of WeChat mini‑games, and diverse perspectives on blockchain gaming, revealing both technical challenges and emerging business models.
Senior Tencent engineer Yang Shangzhi details how he built a fast‑paced, endless‑runner WeChat mini‑game with Cocos Creator v1.9.0—choosing it over LayaEngine for better debugging and WeChat integration—describing dynamic map generation, seed‑based anti‑cheat verification, potential skin and level‑creation monetization, and providing source code for developers.
This article shares fifteen practical UI design principles for card‑based games, covering art style selection, player‑targeted aesthetics, consistency with game lore, leveraging known IPs, creating distinctive visuals, simplifying interfaces, ensuring usability on mobile, and enhancing overall player experience.
京东游戏精灵 is a component-based game platform that enables businesses to rapidly develop and deploy interactive games by reusing pre-built modules, significantly reducing development time and costs while enhancing user engagement through features like red envelopes and rewards.
A 2017 analysis of China’s high‑end internet talent market reveals that cloud computing, big data and gaming lead salary rankings, while company financing stage, job role demand, city location and candidate age all shape hiring trends and compensation levels.
This article explains the rules, scoring system, and level design of the classic "Popstar" match‑3 game, then details a full MVC implementation in JavaScript—including tile representation, wave‑average distribution, shuffle, wall solidification, view updates, control bindings, and a discussion of the knapsack‑style max‑score problem—while providing complete code snippets and a GitHub repository link.
This article examines the concepts, strengths, and limitations of Google App Engine and Amazon AWS as Platform‑as‑a‑Service offerings, focusing on their application scenarios, development support, operations management, and associated services, and draws conclusions for game server development.
This article details the end‑to‑end development of a 2D H5 coin‑pusher game for JD's 11.11 promotion, covering background, technology choices, implementation of obstacles, pusher, coins, skills, debugging techniques, and performance optimizations using CreateJS and Matter.js.
This article presents a complete Java shooting‑game source code, explaining how each class—Airplane, Bee, Bullet, Hero, and the main game loop—illustrates object‑oriented programming principles such as inheritance, interfaces, encapsulation, and event‑driven design for a simple desktop game.
This article explains how to implement the classic Snake game using the MVC pattern, detailing the model's grid representation, chain‑list versus array for the snake body, random food placement algorithms, view rendering optimizations with PIXI, and control APIs for game interaction.
This article chronicles Yao Xiaoguang’s evolution from a teenage BASIC programmer in Nanchang to the mastermind behind China’s blockbuster game King of Glory, detailing his early experiments, pivotal demos, startup struggles, and eventual leadership roles at Tencent that reshaped the Chinese gaming industry.
The article outlines essential software architecture concerns—including functionality, variability, performance, capacity, ecosystem integration, modularity, buildability, productization, and security—while also discussing evaluation methods and scaling strategies for large‑scale systems such as MMOs.
The article compares Flash and HTML5, explains Canvas 2D and WebGL rendering modes, and presents performance tests showing WebGL’s superior speed across browsers, while also discussing practical implications for web game development.
This tutorial introduces CreateJS’s four modules, demonstrates asset preloading, drawing workflows, tick handling, touch support, object layering, image manipulation, and provides a complete seamless‑scrolling background demo with full code examples.
The article explores the intense workload, rapid response demands, and compensation realities of game operations, highlighting how automation and deep business knowledge can reduce overtime while stressing the need for continuous skill development to sustain a viable career in the gaming industry.
This tutorial walks you through analyzing the page structure, designing start, game, and end screens, and implementing the bird, obstacles, scoring, and game‑over logic using HTML, CSS, and JavaScript, complete with code snippets and visual illustrations.
The article walks through creating an HTML5 remake of the Chinese “Don’t Stop! 8‑Note Sauce” game, where microphone volume drives a doge‑block character to walk and jump over dynamically generated pits, detailing configuration, barrier management, collision detection, and WebAudio voice‑control implementation using getUserMedia, AudioContext, and analyser nodes.
This step‑by‑step guide shows how to set up Unity with Google’s Cardboard SDK, import the required assets, add gaze‑based interaction components, write a C# script to change object colors on focus, link events, and finally package the project for Android devices.
The article explains Doom 3's deterministic client‑server network architecture, describing how player inputs are sent to the server, how compressed state snapshots are returned at 10‑20 Hz, and the UDP‑based reliable/unreliable messaging and compression methods used to keep the game synchronized.
This article reviews the evolution of VR hardware, explains core display principles, compares low‑cost Cardboard with high‑end headsets, discusses latency, motion sickness, interaction and graphics constraints, and offers practical guidance for creating high‑quality VR games.
This article explores Python's role in Industrial Light & Magic's visual effects for Star Wars, introduces the Star Wars API, and demonstrates Python scripts that query film data and build a simple Star Wars-themed game.
Data RetrievalIndustrial Light & MagicStar Wars API
This tutorial walks you through creating a complete five‑in‑a‑row (Gomoku) web game using vanilla JavaScript, covering development approaches, board rendering, event delegation, win‑checking algorithms, piece placement logic, game reset, testing strategies, and essential JavaScript event handling techniques.
The article explains a classic MMORPG zone architecture, detailing six key connections—including WebService pipelines and TCP/IP links—that manage account updates, role control, server registration, client validation, and cross‑server data exchange, and describes how UserServer and GameServer interact to provide stable, scalable gameplay.
The author recounts how a simple web‑based 2048 clone unexpectedly went viral, the pressures of sudden fame, the ethical dilemmas of monetizing an open‑source game, and the technical process of turning it into a PhoneGap‑based mobile app while reflecting on personal growth.