Questions tagged [architecture]

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

Filter by
Sorted by
Tagged with
3
votes
2answers
276 views

Architecture for Versioned Save Data

We're working on an iOS game that we plan on having several content updates for. It's a story type game with lots of little flags when things have been accomplished and such. There is also an ...
7
votes
1answer
856 views

Net code: What are your expected and max latency and packet loss targets?

When doing the net code for a video game what sort of latency targets and packet loss rates do you design around? To be more specific I have my net code working local network only at the moment. I ...
20
votes
4answers
3k views

Calculating the output of two armies fighting

I am programming a strategic game using Flash. The game works very similar to the famous game "Travian". My problem is as follows: I am trying to make the calculation of the troops lost as a result ...
3
votes
8answers
3k views

What is today's target platform?

The question came randomly and I think it will really help to know from everyone's experience. It all started from this article on gamedev.net http://www.gamedev.net/reference/programming/features/...
1
vote
2answers
532 views

Game architecture for someone with a background in LOB Apps

I've got a background that is almost entirely based around business applications - Web services, schedulers, desktop and web front-ends to CRM systems, etc... Now with almost all of the above ...
12
votes
6answers
474 views

Should I put a soundtrack behind my strategy game? Which games need music and sound

Shuffling cards and impact noises are cool (it is a card based game), but should I invest the time/effort in hooking up background music? I have found Play Audio from Stream Using C# which could be ...
1
vote
0answers
3k views

Where can I learn 2D game architecture [duplicate]

Possible Duplicate: Good resources for learning about game architecture? I know that game architecture can vary greatly, especially with the type of game being built, but I know that there are a ...
4
votes
2answers
1k views

Multiplayer architecture in games like Diablo 2

So I've been wondering, what kind of architecture would games like world of warcraft, diablo 2 (which is most probably a different beast than WoW) use? As far as I know, RTS games state-syncs every ...
21
votes
3answers
1k views

Do I, and how, separate the concerns of input and game objects?

In probably every game a developer has to somehow deal with input, may it be simple keyboard and mouse events, touch events or something as accelerometer input. This input directly of indirectly ...
9
votes
2answers
7k 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 ...
16
votes
4answers
6k views

Alternatives to Singletons / globals

I've heard countless times about the pitfalls of Singletons / globals, and I understand why they're so often frowned upon. What I don't understand is what the elegant, non-messy alternative is. It ...
14
votes
1answer
2k views

Why is is so hard to develop a game console emulator?

I have always found emulators rather fascinating. I would seriously like to create an emulator for an older ganeration console or handheld. It would help me gain a greater appreciation of the hardware ...
4
votes
2answers
887 views

Server-client communication: Quick and verbose or involved and compact?

TL;DR: Does the short development time required for HTTP/XML offset its size issues compared to developing a custom protocol? As some of you might have divined; I'm currently working on a turn-based ...
26
votes
3answers
3k views

What can cause ALT-TAB to be 'annoying'/slow/glitchy?

This is more of an open ended question, but I hope to get some good insight on how to avoid the issue. When playing Games on Windows, I might want to ALT-TAB out of it. Some games have no problems, ...
6
votes
5answers
765 views

How should I isolate game entities with their concrete Drawable components (in C#)?

I've designed my game entities using a common pattern of separating the entity from its components. In my case, I've used the Strategy pattern to give each of my entities an IDrawable component. I ...
14
votes
4answers
4k views

How can I design an effective game object interaction scheme with a component-based architecture?

This is a design question... I'm sure this could be generalized more, but I'm having a hard time with it. I am wondering about design for game object interactions - here is my example (2D puzzle-...
5
votes
3answers
2k views

Deal with mini states in game

Hi :) I want to ask what is the best way to deal with "mini-states" in game? For example I making game like Simcity, i can build buildings, roads, rails, or I can change something in economy. I am ...
17
votes
5answers
952 views

Getting It Done vs Solid Software Design?

With barely enough time at our hands to complete the games we craft, how can you strike a good balance between solid software architecture and making good progress to get it all done? My personal ...
15
votes
2answers
6k views

Tips for implementing MMO quest mechanics?

What tools, patterns, or best practices would you recommend to implement the quest mechanics given below listed requirements? I am talking about software architecture (how generic should you be) and ...
4
votes
2answers
2k views

Simple scene graph in 2D, without matrices?

First of all, I think I roughly know how a scene graph works. Please correct me if I'm wrong. It is a tree based structure, with each branch/leaf being a node. It means you can better organise ...
7
votes
3answers
847 views

Storing game objects in multiple containers

In the light of DRY, it seems desirable to store a collection of related game objects in one container only. However, one might need sub-collections of these objects in various contexts. It might be ...
9
votes
2answers
693 views

What role does developing with events have in games?

Most application development is based around developing with events, but considering the game-loop style of developing games and the (often) need for high performance/throughput, what role does ...
12
votes
5answers
4k views

Why use asset manifest files?

Sometimes you'll see people recommend that rather than using graphics/sound files/etc. like this... // Game code Image myImage = new Image("path/to/image.png"); ....
6
votes
6answers
319 views

Where are the requirements documents for console game software?

I hear that the console game platforms have strict requirements for their games. For example I just read an answer that stated loading screens must have an animation on them so that the game doesn't ...
9
votes
3answers
13k 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 ...

1
22 23 24 25
26