Skip to content
-
Subscribe to our blog & never miss our best posts. Subscribe Now!
Endless Existence Endless Existence

Endless Riddles of Time and The Infinite Existence

  • Home
  • About us
  • Contact us
  • Privacy Policy

Game Programming

Home » Game Development » Game Programming
DOTS
Posted inGame Development Game Performance Game Programming

Understanding Unity DOTS: A Performance Revolution

What is Unity DOTS? Unity DOTS (Data-Oriented Technology Stack) is Unity’s high-performance framework designed to replace traditional object-oriented programming with a data-oriented approach. It allows games to run faster and…
Posted by Avatar photo Endless Existence March 3, 2025
AI pathfinding in games
Posted inGame Programming

Creating a Custom AI Pathfinding Algorithm for Games

Artificial intelligence (AI) is a critical component of modern games, enhancing gameplay by enabling dynamic, believable behavior from non-player characters (NPCs). At the heart of game AI lies pathfinding—the ability…
Posted by Avatar photo Endless Existence December 18, 2024
data structures games
Posted inGame Programming

Why Every Game Developer Should Learn Data Structures and Algorithms

Game development is as much about creativity as it is about solving complex problems efficiently. Behind every seamless gameplay experience lies a foundation of robust code and well-thought-out logic. This…
Posted by Avatar photo Endless Existence December 8, 2024
ECS game programming
Posted inGame Programming

Understanding ECS (Entity Component System) in Game Programming

In the dynamic world of game development, where performance and scalability are key, the Entity Component System (ECS) architecture has emerged as a revolutionary approach. It empowers developers to create…
Posted by Avatar photo Endless Existence December 8, 2024
Reusable game code
Posted inC# Game Programming

How to Write Reusable Game Code: The DRY Principle Explained

Game development is an exciting but complex process that often involves creating intricate systems and features. Amid the buzz of bringing a game to life, it's easy to fall into…
Posted by Avatar photo Endless Existence December 5, 2024
Game memory management
Posted inGame Development Game Performance Game Programming

Dynamic Memory Management in Game Programming

Efficient memory management is one of the cornerstones of game development. Without proper memory handling, even the most innovative games can suffer from performance issues, crashes, or dreaded memory leaks.…
Posted by Avatar photo Endless Existence December 4, 2024
Procedural vs OOP games
Posted inGame Development Game Programming

Procedural Programming vs. Object-Oriented Programming in Games: Which Paradigm Reigns Supreme?

What Is Procedural Programming? Procedural programming is a paradigm based on procedures or routines, often referred to as functions. It emphasizes the step-by-step execution of instructions to solve a problem.…
Posted by Avatar photo Endless Existence December 2, 2024
unity game programming
Posted inGame Development Game Programming

Introduction to Scripting in Unity: Best Practices for Beginners

Unity is a powerhouse for game development, loved by beginners and pros alike for its flexibility and user-friendly interface. However, scripting in Unity can seem daunting for newcomers, especially with…
Posted by Avatar photo Endless Existence November 29, 2024
2D game physics
Posted inGame Development Game Programming

Building a Physics System from Scratch for 2D Games

Physics is the backbone of immersive gameplay, giving objects in a 2D game a sense of weight, movement, and interaction. While modern game engines like Unity and Godot come equipped…
Posted by Avatar photo Endless Existence November 28, 2024
game loop
Posted inGame Development Game Programming

Mastering Game Loops: The Core of Game Programming

Game development is a fascinating mix of creativity and technical expertise, and at the heart of every game lies a powerful yet often overlooked concept: the game loop. The game…
Posted by Avatar photo Endless Existence November 28, 2024

Posts pagination

1 2 Next page

Recent Posts

  • Understanding Game State Management: Save and Load Systems
  • Understanding Unity DOTS: A Performance Revolution
  • Debugging and Profiling: Making Your Game Run Faster
  • Creating a Custom AI Pathfinding Algorithm for Games
  • How to Create Your Own Game Engine: A Programmer’s Guide

Recent Comments

  1. Creating Replayability: How to Keep Players Coming Back - Endless Existence on Enhancing Player Experience with Game Analytics
  2. Mari_F on Understanding Player Psychology in Game Design
  3. How to Monetize Your Indie Game - Endless Existence on Enhancing Player Experience with Game Analytics
  4. The Benefits of Participating in Game Jams - Endless Existence on From Hobby to Career: Turning Game Development into a Full-Time Job
  5. The Benefits of Participating in Game Jams - Endless Existence on How to Get Started in Game Development: A Comprehensive Guide for Beginners

Archives

  • May 2025
  • March 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023

Categories

  • AI Artificial intelligence
  • Augmented Reality AR
  • Aveline Dreamweaver
  • C#
  • Game Design
  • Game Development
  • Game Marketing
  • Game Monetization
  • Game Performance
  • Game Programming
  • Game Programming Patterns
  • Machine Learning
  • Metaverse
  • Multiplayer
  • Music
  • Philosophy
  • Uncategorized
  • Unity Asset Store
  • Unity Engine
Copyright 2025 — Endless Existence. All rights reserved.
Scroll to Top

Table of Contents

×
  • What Is a Game Loop?
    • The Primary Responsibilities of a Game Loop
  • The Structure of a Game Loop
  • Types of Game Loops
    • 1. Fixed Time Step
    • 2. Variable Time Step
    • 3. Hybrid Game Loop
  • Game Loop Optimization Techniques
    • 1. Use Delta Time
    • 2. Limit Update Frequency
    • 3. Optimize Collision Detection
    • 4. Use Object Pooling
    • 5. Offload Tasks to Separate Threads
  • Platform-Specific Considerations
    • 1. PC Games
    • 2. Mobile Games
    • 3. Console Games
  • Game Loop Use Cases
    • 1. Endless Runner
    • 2. Real-Time Strategy
    • 3. Multiplayer Shooter
  • Common Challenges and How to Overcome Them
    • 1. Frame Rate Drops
    • 2. Inconsistent Behavior
    • 3. Multithreading Bugs
  • Conclusion
← Index