Jump to content

  • Log In with Google      Sign In   
  • Create Account


Game Programming Articles

Article Listing

Haskell Game Object Design - Or How Functions Can Get You Apples

Published in Game Programming

By Marc Sunet - This tutorial shows how to model game objects in Haskell using closures to dodge the everyday use of subtyping and dynamic dispatch in object-orien...

RPG Character Design: Technical Blueprints 101

Published in Game Programming

By Ivan Spasov - In this article we will take a look at how you can design and develop from a technical standpoint your character classes for an RPG game.

Pathfinding and Local Avoidance for RPG/RTS Games using Unity

Published in Game Programming

By Nikolay Dyankov - If you are making an RPG or RTS game, chances are that you will need to use some kind of pathfinding and/or local avoidance solution for the behavi...


View Complete Archive You cannot add articles


Like
18Likes
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
39Likes
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
7Likes
Dislike

Game i18n via IME UNDER REVIEW

Oct 07 2013 09:17 AM | Posted By Stoyan Nikolov in Game Programming
In this post I would like to describe the basics of an IME integration in a game and some of the challenges that it poses. Recently we added full IME support to our product and most of the pain points were experienced first-hand.

Tagged With:  i18n  IME  GameDev 
Like
21Likes
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
1Likes
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# 
Like
8Likes
Dislike

Checking the Open-Source Multi Theft Auto Game

Aug 30 2013 07:54 PM | Posted By Andrey Karpov in Game Programming
We haven't used PVS-Studio to check games for a long time. So, this time we decided to return to this practice and picked out the MTA project. Multi Theft Auto (MTA) is a multiplayer modification for PC versions of the Grand Theft Auto: San Andreas game by Rockstar North that adds online multiplayer functionality. As Wikipedia tells us, the specific feature of the game is "well optimize...

Tagged With:  c++  cpp  pvs-studio  mta  bugs  code review 
Like
6Likes
Dislike

Building a First-Person Shooter: Part 1.6 Sound

Aug 23 2013 06:42 AM | Posted By ChrisVossen in Game Programming
In this tutorial we will finish off this First-Person Shooter Tutorial 1 by adding in sound effects into the game.

Tagged With:  c++  fps  leadwerks  tutorial 
Like
14Likes
Dislike

Scripting Custom Windows in Unity3D

Aug 20 2013 11:43 AM | Posted By Casey Hardman in Game Programming
With the know-how, you can make your own windows in Unity. Allow me to teach you how and get you started.

Tagged With:  unity3d  editor  editor window  window  gui 
Like
6Likes
Dislike

Building a First-Person Shooter: Part 1.5 Running, Jumping, & Crouching

Aug 19 2013 08:20 AM | Posted By Christopher Vossen in Game Programming
In this tutorial we will expand our player class by adding in inputs to allow the player to run, jump, and crouch.

Tagged With:  leadwerks  c++  fps  tutorial 
Like
6Likes
Dislike

Building a First-Person Shooter: Part 1.4 Mouse Inputs

Aug 19 2013 08:17 AM | Posted By Christopher Vossen in Game Programming
In this tutorial we will add in mouse movements to allow the player to look around the room.

Tagged With:  leadwerks  c++  fps  tutorial 
Like
18Likes
Dislike

Intelligent 2D Collision and Pixel Perfect Precision

Aug 17 2013 12:36 AM | Posted By Dejaime Antônio de Oliveira Neto in Game Programming
What if you want a game to be as precise as the pixels on your 2550x1600 monitor? This article shows the absolute basics on how to create a pixel perfect collision detection and how to optimize it.

Tagged With:  2d  collision detection  pixel  precision  sprites  bounding box 
Like
6Likes
Dislike

Building a First-Person Shooter: Part 1.3 Keyboard Inputs

Aug 15 2013 11:38 PM | Posted By Christopher Vossen in Game Programming
In this tutorial we will continue building the foundations of a FPS game by adding in keyboard movements that will allow the player to move around via W,A,S,D inputs.

Tagged With:  fps  leadwerks  c++  native code  tutorial 
Like
22Likes
Dislike

Case Study: Bomberman Mechanics in an Entity-Component-System

Aug 15 2013 01:26 PM | Posted By Philip Fortier in Game Programming
The Entity-component-system pattern is a hot topic these days. The article analyzes the mechanics in the Bomberman games and how they can be implemented using ECS.

Tagged With:  ecs  xna  game mechanics 
Like
8Likes
Dislike

Using C# Managed DLL's in UDK

Aug 15 2013 01:23 PM | Posted By Donald May in Game Programming
Learn how to write Dynamic Link Libraries (DLLs) in C# to extend the Unreal Development Kit (UDK) through DLL Bind.

Tagged With:  udk  c#  dll bind  unmanaged exports  marshalling 
Like
9Likes
Dislike

Building a First-Person Shooter Part 1.0: Creating a Room

Aug 13 2013 09:19 AM | Posted By Chris Vossen in Game Programming
In this lesson we make use of the Leadwerks engine and learn to use brushes, materials, UV manipulations, and lights as we build a room for our first-person shooter game.

Tagged With:  leadwerks  leadwerks 3  tutorial  fps  design  level design  level editor  mobile  ios  android  materials  lights  lightmap  uv  brushes  texture  assets 
Like
39Likes
Dislike

Ten Things to Achieve When Starting 3D Programming

Aug 11 2013 12:39 PM | Posted By Vasily Tserekh in Game Programming
I started 3D programming a few years ago. I was new into this world and I didn’t know what to learn and where to start. Now that I have acquired some knowledge this is the list that I would have given to myself if time travel would be possible and I could return to that time.

Tagged With:  opengl  directx  3d 
Like
17Likes
Dislike

Hide Objects Blocking Player View

Aug 10 2013 08:10 AM | Posted By Christopher Rolfs in Game Programming
In most isometric-esque RTS-style game views, sometimes pesky walls can pop into view, hindering the player’s connection with the protagonist. This isn’t good but is easily solvable with many different solutions. One, highlight the player’s outline when it is behind objects. Two, hide the interfering objects. Three, masking shaders to overlay over the screen. There are, of course, many other so...

Tagged With:  unity  c#  programming  shader 
Like
15Likes
Dislike

BVH File Loading and Displaying

Aug 09 2013 01:11 PM | Posted By Edin Mujagic in Game Programming
We look at the BVH file format and make a basic loader.

Tagged With:  opengl  c++  bvh 
Like
30Likes
Dislike

Game Programming: Snake

Jul 30 2013 02:39 AM | Posted By Richard Marks in Game Programming
Most game programming tutorials for beginners start you off with a Pong clone, well this one takes you through making a Snake clone game.

Tagged With:  retro  sdl  c++ 
Like
17Likes
Dislike

A Full C64 Game - In 2013

Jul 29 2013 08:54 AM | Posted By Georg Rottensteiner in Game Programming
Did you have a C64 when you were young? Did you ever wonder how games were written 20 or 30 years ago? This article describes the process, pitfalls and wonders that were encountered during writing a game for the C64 in assembly from start to finish over a course of 2 years.

Tagged With:  c64  asm  assembly 
Like
9Likes
Dislike

Pac-Man: Zero To Game

Jul 15 2013 09:38 PM | Posted By Timothy Collins in Game Programming
Creating the classic game PAC-MAN from start to finish.

Tagged With:  retro  pacman  flash  beginner  game 
Like
7Likes
Dislike

Using XML Technologies for Enhancing Log Files

Jul 02 2013 07:53 PM | Posted By Jack Hoxley and Oli Wilkinson in Game Programming
Provides a practical demonstration of leveraging the power of XML in your own projects

Tagged With:  xml  xslt  logs  c++  html  javascript 
PARTNERS