Questions tagged [architecture]

How code is structured. For questions on the internal design of a game engine.

Filter by
Sorted by
Tagged with
10
votes
3answers
1k views

Why aren't more games 64-bit executables? [closed]

Until now I've seen that many games are still compiled in 32-bit architecture although nearly 50% of current Windows users are on 64-bit OS? Why is this? If the reason is for getting larger audience (...
10
votes
5answers
2k views

Cross platform low level graphic API

When creating a system abstraction is better to have the platform different APIs hidden by a common interface at the lowest level that makes sense. Taking in account the different modern (with no ...
5
votes
2answers
385 views

How to handle game states for a single-player / multiplayer game? [closed]

I'm developing a little simon-like game and I'd like to know what the best approach is when it comes down to game states. What would be the best approach? Creating different states/screens for 1-...
130
votes
3answers
82k views

How should I write a main game loop? [closed]

How should I write a main game loop? What are some things that you should do in the game loop, and what are some things that you shouldn't do in the game loop? I've written plenty of them, but I've ...
6
votes
2answers
379 views

Tips for developing 3D games on newer engines targeting old hardware [closed]

I see a lot of examples and tutorials for 3D engines like Unity3D, UDK, Source etc. They all seem to be under the assumption that you are making a game for current(ish) hardware. I would like some ...
9
votes
3answers
12k views

Synchronizing clients with a server and with each other

What is the best way for keeping all clients synchronized with a server and with each other? Currently, we have two approaches in mind: When a client sends something to the server, the server ...
9
votes
2answers
6k views

How to structure a simple game server for a multiplayer game?

I would like to create a simple multiplayer game server for a simple game: The game is supposed to be similar to Command & Conquer, you have a few tanks and a few soldiers. You can select one ...
104
votes
11answers
34k views

Good resources for learning about game architecture? [closed]

Are there any good resources for learning about game architectures? I am looking for high level overviews of different architectures. I tend to find information about the various pieces of a game such ...
11
votes
3answers
1k views

How do I make complex AI manageable? [closed]

In the past, I've used simple systems like finite state machines (FSMs) and hierarchical FSMs to control AI behavior. This pattern falls apart very quickly or any complex system. I've heard about ...