Blender exporter
Jun
20
2013

My first 3D game had a little space ship in it. I modeled this in blender, and then started looking for a way to get it into my game, and it felt natural to simply have a look in the list of exporters if there was anything there I could parse while simultaneously containing what I needed, such as vertex normals and texture coordinates.

A while ago though, I spotted a forum post asking the same question, what file format is a good format for games? There were a bunch of suggestions, but one answer really stood out and got me thinking: Write an exporter for blender, it's got a decent python API and you can get exactly what you need.

{more …}

Client side prediction
Jun
9
2013

In a client-server set up, the server is the absolute authority how objects move in the game world, including all the player characters. This introduces a problem when playing over the internet vis-a-vis network latency, or lag. With round-trip times often a fair bit into the three digit range in milliseconds, it means whenever you turn or move, there'll be one or two tenths of a second delay before anything happens on screen. Such a delay is clearly noticeable and not at all acceptable for real-time/action games.

To counteract this delay, we turn to client-side prediction. The server is still the authority on everything in the game world, we just try to guess what the server will do next, and how it'll interpret our input.

{more …}

Categories

Archives