Preview: Reliable UDP implementation, lockstep, LAN, and parity bit checking
IntroductionWhether you're interested in making an FPS or RTS, you've probably heard that you should use UDP. It's probably because of its speed. Using TCP with the TCP_NODELAY option (which means it...
View Article2D Transforms 101
A presentation/tutorial on 2D transforms for programmers and practitioners favouring intuition over mathematical rigour; animations are used to illustrate the effect of every transform explained. Click...
View ArticleJump Point Search: Fast A* Pathfinding for Uniform Cost Grids
In 2011, at the 25th National Conference on Artificial Intelligence. AAAI, Daniel Harabor and Alban Grastien presented their paper "Online Graph Pruning for Pathfinding on Grid Maps".This article...
View ArticleLeading the Target
Where should we aim if we want to hit a moving target with a finite-speed projectile? This is one of the recurrent questions from beginner game developers. If we naively aim at the target's current...
View ArticleCode for Game Developers: Optimization
Code for Game Developers is another take on Math for Game Developers - a weekly instructional YouTube series starting from the basics of a concept and working up towards more complex topics. In the...
View ArticleCombining Material Friction and Restitution Values
Physics simulations commonly use the Coulomb friction model, which requires a coefficent of friction between the materials of two interacting objects to calculate the friction force. Similarly, a...
View ArticleMaking Your C++ Namespace Solid and Future-Proof
This article provides a possible solution to a real problem, nothing more, nothing less. It is up to developers evaluating pros and cons to decide if this approach is worthwhile for their...
View ArticleMaintenance-free Enum to String in Pure C++ with "Better Enums"
BackgroundEnums are used in game programming to represent many different things – for example the states of a character, or the possible directions of motion: enum State {Idle, Fidget, Walk, Scan,...
View ArticleBillboarded Foliage in Unreal Engine 4
This article will guide you through how to create billboarded folage in Unreal Engine 4. That is, foliage which is a simple quad repeated many times, all of which always face the camera. I will also...
View ArticleFavor Small Components in Unity
This article is reposted from here Platform RPGA common mistake many developers make when making their first game is trying to cram too much functionality into a single class. This violates the single...
View ArticleMy Year as a Mobile Gamedev
Over a year ago I released my first Android game after a few months of working and posting my progress on wykop.pl with #odzeradogierdevelopera hashtag. with literally no prior knowledge in gamemaking,...
View ArticleCreating your first game with Game Maker: Studio
IntroductionSo you want to start creating your own games? Then you've come at the right place. This article will get you started on creating simple 2D games.Game Maker: StudioWhat is that?Game Maker:...
View ArticleA List of HTML5 Game Publishers
(This article is a cross-post of the original article published at WiMi5.com) This is a list of the main HTML5 games publishers and distributors. If you are developing HTML5 games you should know how...
View ArticleTop 10 Best 2D Game Asset Sites
2D games are making a big come back with the proliferation of mobile games, HTML5 and major support of big publishers. Producing them now have been much easier than before with tools like Unity and...
View ArticleNot All is Fine in the Morrowind Universe
I have checked the OpenMW project by PVS-Studio and written this tiny article. Very few bugs were found, so OpenMW team can be proud of their code.OpenMW OpenMW is an attempt to reconstruct the popular...
View ArticleBrain Dead Simple Game States
Lately, I've realized that game state management is always vastly overcomplicated. Here's a brain dead simple system that does everything you probably need in a straightforward way.Just what the heck...
View ArticleAction Lists: Simple, Flexible, Extendable AI
As humans, we like to implement solutions which are familiar to us. We get caught up doing things the way we know how to do them, rather than the “best” way to do them. It’s easy to get caught up in...
View ArticleHow to Create a Mobile Game on the Cheap
This article originally appeared on medium.comThis is a guide that helps anyone, with software development experience, get started creating their first mobile game.This year, I made it one of my goals...
View ArticleDecoding Audio for XAudio2 with Microsoft Media Foundation
As I was learning XAudio2 I came across countless tutorials showing how to read in uncompressed .wav files and feed them into an XAudio2 source voice. What was even worse was most of these tutorials...
View ArticleSony C#/.NET Component Set Analysis
Some of you may know that we have recently released version 6.00 of our analyzer, that now has C# support. The ability to scan C# projects increases the number of open-source projects we can analyze....
View Article