Implementing Resource Management in Unity3D with the Addressable System
Understanding the Addressable Asset System
The Addressable Asset System provides a framework for loading assets by a unique address rather than a file path. Unlike traditional asset bundling, it abstracts the location of assets, allowing content to be updated post-release and loaded dynamically without manual dependency tracking. It handles the ...
Posted on Fri, 24 Jul 2026 16:21:37 +0000 by snteran
Implementing Movement, Rotation, and Scaling with Input in Unity
To control an object in Unity, create a new scene and add a Cube. In the Assets folder, establish a Scripts directory and generate a script named PlayerMovement.cs. Attach this script to the Cube.
Define variables for movement speed and direction. In the Update method, capture input from the keyboard using Input.GetAxis for horizontal and verti ...
Posted on Fri, 24 Jul 2026 16:06:59 +0000 by bguzel
Implementing Factory and Mediator Patterns for a Tower Defense Game
The Attack method in BotanicRepeater retrieves a bullet via the mediater:
@Override
public void attack(ICharacter target) {
Bullet projectile = Mediator.getInstance().fetchBullet("SingleBullet", launchPoint, new Point(1300, launchPoint.y));
}
In BotanicRepeaterFactory, create a plant character using the factory method:
@Override
...
Posted on Sun, 19 Jul 2026 16:27:04 +0000 by dalex
Implementing Horizontal Character Movement with Keyboard Controls in Cocos Creator
Horizontal character movement represents one of the most fundamental mechanics in 2D game development. This implementation demonstrates how to capture keyboard input, apply acceleration-based movement, enforce velocity limits, and constrain characters within screen boundaries using Cocos Creator's component system.
Component Implementation
The ...
Posted on Tue, 07 Jul 2026 16:47:40 +0000 by kmussel
Developing a Modular Snake Game in C++ Using Windows Console API
System Architecture and Global State
Creating a robust console-based Snake game requiers efficient state management and a rendering system that avoids the flickering associated with standard system("cls") calls. The following implementation utilizes the Windows API for double buffering and direct console buffer manipulation.
We begin ...
Posted on Sun, 28 Jun 2026 16:00:29 +0000 by Gighalen
Understanding the Unity Editor Interface and Core Concepts
Project Architecture
The fundamental structural hierarchy of a Unity project follows a specific order: Project contains Scenes, Scenes contain Game Objects, Game Object are constructed from Components, and Components possess specific Properties.
Main Toolbar and Shortcuts
The top menu bar provides access to essential editor functions. Below is ...
Posted on Sat, 27 Jun 2026 17:08:16 +0000 by runthis
Unity3D Coroutines: Advantages and Implementation Considerations
Unity3D Coroutines: Advantages and Implementation Considerations
Unity3D provides developers with powerful features for creating high-quality games, one of which is coroutines. Coroutines are special functions that can pause execution and resume at a later time. This article explores the advantages and disadvantages of using coroutines in Unit ...
Posted on Thu, 25 Jun 2026 17:55:22 +0000 by quintus
Creating Interactive Games with Python's Turtle Graphics Library
Introduction to Turtle Graphics Game Development
The Python turtle library provides a simple yet powerful way to create interactive graphical applications and games. This tutorial explores ten engaging games that deomnstrate various programming concepts while being fun to play and modify.
1. Classic Snake Game
Rules: Control the snake using arr ...
Posted on Wed, 24 Jun 2026 16:41:46 +0000 by birdie
Implementing a Terminal-Based Gomoku Game in C on Linux
Terminal-based board games in C require direct manipulation of standard I/O, raw input processing, and efficient state evaluation. The architecture for a 15x15 Gomoku game on Linux centers on a matrix for piece tracking, POSIX terminal configuration for instant key capture, and directional scanning for win validation.
Board State and Cursor Tra ...
Posted on Tue, 23 Jun 2026 16:41:09 +0000 by angulion
Implementing Tic-Tac-Toe Game Logic in C Using Arrays
Modular Program Structure
Tic-tac-toe implementation folllows modular design principles, separating code into distinct files for better organization:
game.h: Contains header inclusions, constant definitions, and function declarations
game.c: Implements all game-related functions
test.c: Contains main program logic and testing routines
// game ...
Posted on Sun, 21 Jun 2026 16:57:30 +0000 by kenle