Newcomers

warning: Creating default object from empty value in /home/hplus/enchantedage.com/modules/taxonomy/taxonomy.pages.inc on line 33.
Not very complex stuff.
jwatte's picture

Alternatives to inheritance when creating game classes

There is inheritance, there is interface, and there is configuration. Inheritance (of a base class) is seldom the best or most efficient choice. Sometimes, newbies read the wrong tutorials, and start down the rabbit hole of class inheritance, but in the end, that turns out to be a dead end.

jwatte's picture

Extracting packets from a TCP stream

When you send packets over TCP, you have to precede them with a byte count, because TCP just delivers a stream of bytes, with no particular block size. If you don't delimit your packets somehow, they will run into each other, and you won't be able to tell where one ends and the next one starts.

jwatte's picture

Write your own MMORPG in four hours using Python!

I moderate the multiplayer and networking forum on gamedev.net. It's a pretty easy job, because most users are very polite, helpful, and well behaved. However, it seems that, monthly, someone who has never written a networked program shows up and posts their "architecture" for an "MMO" server.

jwatte's picture

Estimating Xbox performance compared to a Windows PC

Sometimes, you hear statements like "an Xbox has nnn % of the performance of a Windows PC" where nnn will vary from 25 to 600 or so, depending on context. However, I disagree with any such statement -- you simply can't make that statement without being a whole lot more specific about what you are trying to measure.

You first need to understand how performance on CPUs actually work.

jwatte's picture

Estimating Xbox performance compared to a Windows PC

Sometimes, you hear statements like "an Xbox has nnn % of the performance of a Windows PC" where nnn will vary from 25 to 600 or so, depending on context. However, I disagree with any such statement -- you simply can't make that statement without being a whole lot more specific about what you are trying to measure.

You first need to understand how performance on CPUs actually work.

jwatte's picture

What is a particle system?

A particle system is something which can be used to make smoke, explosions, contrails, steam, and other kinds of "cloudy" or "sparkly" effects.

jwatte's picture

Finding entities within a game world

In most games, you'll need to know where everything is.

jwatte's picture

Extracting Vertices and Triangles from an XNA Model

Here is some code that lets you extract the vertices and indices from a loaded XNA Model. You do not need to use any special processor, such as the JigLibX VertexProcessor or some derivative of the ModelProcessor -- it works straight out of the box!

jwatte's picture

Download and Install Etwork

Download the latest version of etwork. You can find the file at the Etwork start page.

Unzip the archive somewhere where you can easily get to it. I use a folder called "c:\code" on my machine, but you can put it in your "My Documents", or "/usr/local/src", or wherever you feel like.

jwatte's picture

Etwork Quick Start

his book will get you started using etwork without too much pain.

Necessary pre-requisites include:

  • Knowledge of C++ programming
  • Microsoft Visual Studio 2005 (or Visual C++ Express 2005 with the Platform SDK addition)
  • The latest version of etwork
Syndicate content