Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Game Programming Articles

Article Listing

How to check that a player's PC meets your requirements

Published in Game Programming

By Craig Edwards - You've created the next call of duty. In excitement, someone downloads your game and starts it. If their PC isn't the latest and greatest,...

Visual Tools For Debugging Games

Published in Game Programming

By James Wucher - How much of your time do you spend writing code? How much of your time you spend fixing code?

Which would you rather be doing? This is...

10 Tips From Global Game Jam 2015

Published in Game Programming

By Tobiasz Siemiński - Read about how to prepare for the Global Game Jam and others!


View Complete Archive You cannot add articles


Like
27Likes
Dislike

Creating a Very Simple GUI System for Small Games - Part I

May 06 2014 03:31 AM | Posted By Martin Prantl in Game Programming
If you are writing your own game, sooner or later you will need some sort of user interface (or graphic user interface = GUI). There are some existing libraries lying around and there are a lot of discussion threads that deals with eternal problem “What GUI should I use?”. We are going to answer this question by creating our own system from scratch.

Tagged With:  gui  tutorial  graphics  touch control  mouse 
Like
22Likes
Dislike

Entities-Parts II: Interactions

Apr 17 2014 12:09 PM | Posted By David Chen in Game Programming
The 2nd article in the series extends the RPG example so that it will simulate two teams battling against each other. This article will describe several techniques to handle interactions between entities such as those involved in the example.

Tagged With:  entity  part  framework  component  systems  services  pattern  interactions 
Like
23Likes
Dislike

A Long-Awaited Check of Unreal Engine 4

Apr 14 2014 08:57 PM | Posted By Andrey Karpov in Game Programming
On March 19, 2014, Unreal Engine 4 was made public available. Let's see what interesting bugs the PVS-Studio static code analyzer has found in the project's source code.

Tagged With:  c++  pvs-studio  static code analyzer  code review  unreal engine 4  unreal engine  Unreal Engine  Unreal Engine 4 
Like
9Likes
Dislike

Hacking the monolithic entity system

Apr 10 2014 03:11 PM | Posted By Paul Firth in Game Programming
I’m going to talk about a trick I used on the old PS2 game ’24 The Game’ to save over 30% of a frame by hacking the game’s monolithic entity system

Like
13Likes
Dislike

A Critique of the Entity Component Model

Apr 03 2014 06:36 AM | Posted By Sean "rioki" Farrell in Game Programming
The entity component model is all the rave for the last decade. But if you look at the design it opens more issues than it solves.

Tagged With:  programing  design  entity 
Like
15Likes
Dislike

T4 Code Generation in Unity

Mar 28 2014 03:26 PM | Posted By Lior Tal in Game Programming
Many Unity APIs use a string identifier, such as the game object’s tag for various things (e.g: checking for a collision with “player”). In this article I explore a different, safer and automated technique that achieves the same result, without using strings.

Tagged With:  unity  t4  code generation  programming  c# 
Like
27Likes
Dislike

Entities-Parts I: Game Objects

Mar 19 2014 08:42 AM | Posted By David Chen in Game Programming
The entity-component pattern is used to create complex game objects such as enemies and items. This article contains an implementation of the entity-component pattern and an example of creating a simple RPG battle system using this approach.

Tagged With:  framework  entity  pattern  object  component  part 
Like
6Likes
Dislike

Creating a Homing Missile in Unity UNDER REVIEW

Mar 05 2014 01:53 PM | Posted By Preet Kamal Minhas in Game Programming
This article is intended towards developers who are using Unity for their game.

Tagged With:  Unity  homing  missile  slerp 
Like
13Likes
Dislike

The Shaming of Pac-Man: A Remake of the Classic From the 80's With A Beginner Friendly Class Framework

Feb 16 2014 07:17 PM | Posted By Niklas Björnberg in Game Programming
Marvel at the technical brilliance and gritty story of modern day Pac-Man, and learn how to code like a not-still-super-noob gamedev!

Tagged With:  retro  framework  pac-man 
Like
9Likes
Dislike

Programming By Example - Adding AngelScript to a Game Part 2

Jan 30 2014 10:26 PM | Posted By Dominque A Douglas in Game Programming
There are many articles and tutorials on the basics of adding a scripting language to your game, but not many go beyond the basics of binding. The article will go further and show how to add scripting to an actual game.

Tagged With:  script languages  c++  angelscript  scripting  directx  xact  scripting language 
Like
38Likes
Dislike

Making a Game Engine: Core Design Principles

Jan 29 2014 04:50 PM | Posted By James Lambert in Game Programming
Games engines are large complicated pieces of software. However, if good design principles are followed the game can be well organized and easily accommodate new features.

Tagged With:  architecture  game engine 
Like
8Likes
Dislike

Programming By Example - Adding AngelScript to a Game Part 3

Jan 26 2014 11:37 AM | Posted By Dominque A Douglas in Game Programming
This final part of the series has a running example of a 3D game with music that uses AngelScript to control the AI, collision detection, and projectile firing.

Tagged With:  directx  xact  angelscript  c++  scripting language 
Like
40Likes
Dislike

Introduction to Octrees

Jan 20 2014 03:46 PM | Posted By Eric Nevala in Game Programming
Octrees are a very powerful way to organize data in 3D environments so that you can spend the least possible time trying to detect collisions. This article shows you how to create an octree, from concept to code, and then I show you how to optimize the performance to be lean on CPU and memory usage.

Tagged With:  data structure  collision detection  frustum culling  octrees  c#  xna 
Like
11Likes
Dislike

Memory Usage Optimization Using Cache

Jan 15 2014 08:17 AM | Posted By Issam Lahlali in Game Programming
Using a cache is a popular way to optimize your memory usage, reducing the chance of swapping memory pages from slow hard drives. Let's discover the advantages of using the cache by studying two scenarios

Tagged With:  memory  c++  optimisation  optimization 
Like
15Likes
Dislike

Programming By Example - Adding AngelScript to a Game Part 1

Jan 02 2014 06:43 PM | Posted By Dominque A Douglas in Game Programming
There are many articles and tutorials on the basics of adding a scripting language to your game, but not many go beyond the basics of binding. The article will go further and show how to add scripting to an actual game.

Tagged With:  c++  angelscript  directx  xact  scripting language 
Like
23Likes
Dislike

Writing Fast JavaScript For Games & Interactive Applications

Dec 15 2013 12:51 PM | Posted By Mohsen Heydari in Game Programming
Some tips for writing fast JavaScript code.

Tagged With:  performance  optimization  javascript 
Like
18Likes
Dislike

Game Development with Win32 and DirectX 11 - Part 00: Setup

Dec 11 2013 12:00 AM | Posted By Josh Vega in Game Programming
In this first lesson of my tutorial series, we'll look into setting up a complete development environment for game development using C++, Win32, and Microsoft DirectX 11.

Tagged With:  C++  Win32  DirectX 11 
Like
15Likes
Dislike

How To Reverse Time - Introduction to Git, Cloud Computing, and Version Control

Nov 20 2013 07:40 PM | Posted By Arian Allenson M. Valdez in Game Programming
Don't wait until it's too late! Learn how to use Git and cloud technology to save your files and easily use your previous (working) code

Tagged With:  git  version control  project management 
Like
19Likes
Dislike

Introduction to Game Programming with CUDA

Nov 18 2013 01:55 PM | Posted By Dan Ricart in Game Programming
This article aims to introduce the reader to programming in CUDA and some of its uses in game programming. It shows simple integrations for both OpenGL and Direct3D. Most of the code can be compiled on multiple platforms except for the Direct3D section.

Tagged With:  cuda  c++  opengl  direct3d 
Like
6Likes
Dislike

How the Procedural Map Generation Works in Reactor Heart UNDER REVIEW

Oct 18 2013 01:58 PM | Posted By Néstor Viña León in Game Programming
How to proceduraly generate a huge 2D universe in real time.

Tagged With:  random worlds  tile engine  Procedural Map  performance  procedural generation  procedural map  programming  2d 
Like
41Likes
Dislike

An Open Letter to Young Programmers

Oct 07 2013 12:40 PM | Posted By Mike Lewis in Game Programming
Advice on being a programmer, based on a letter from a senior MMO developer to a promising intern.

Like
23Likes
Dislike

Implementing Component-Entity-Systems

Oct 02 2013 12:19 PM | Posted By Boreal Games in Game Programming
This implementation works very well in the small scope of my program and can easily be extended to use more components and systems. It can also easily be extended to run in a main loop, and extended to read entities from data files with some work.

Tagged With:  component  entity  system  component-entity-system  architecture 
Like
29Likes
Dislike

The Lua Tutorial

Sep 10 2013 08:18 PM | Posted By Geoff Dunbar in Game Programming
A tutorial on integrating Lua as a simple scripting language into a Windows C++ RPG engine.

Tagged With:  lua  c++  rpg 
Like
14Likes
Dislike

How to Get Started with HTML5

Sep 05 2013 10:29 AM | Posted By Maksim Mikityanskiy in Game Programming
A minimalist guide to getting started with HTML5 and Javascript by making a 2D table tennis game.

Tagged With:  javascript  getting started  basic  html5 
Like
2Likes
Dislike

C++ Plugin Debug Log with Unity UNDER REVIEW

Sep 04 2013 08:23 AM | Posted By Hojjat Jafary in Game Programming
When writing plugins for Unity or other engines it would be very helpful if you could write out some log information from your DLL to the engine's log window. This is what I did in our Indie game Shadow Blade at Dead Mage Studio.

Tagged With:  c++  plugin  unity  log  c# 
PARTNERS