Tagged Questions
The quality, efficiency, and speed of running gameplay as a result of several factors in the design and structure of the game and its architecture.
2
votes
0answers
20 views
Is this sample generating any garbage? [migrated]
public class Foo
{
public void Draw() // Called 60 times per second
{
spriteBatch.Draw(new Vector2(x, y), null, Color.White);
}
private float x, y;
}
In particular, I am ...
8
votes
4answers
422 views
How to continuously find all entities within a radius efficiently?
I have a very large number of entities (units). On each step, each unit needs to know the positions of all units near it (distance is less then given constant R). All units move continuously. This is ...
6
votes
2answers
292 views
Why does OpenGL >= 3 only allow VBOs?
I see that OpenGL versions 3 and up eliminate the use of client-side rendering. Immediate mode has been eliminated, and vertex arrays seem to be deprecated. Instead, if I understand correctly, VBOs ...
0
votes
0answers
42 views
What are the responsibilities of a game engine, and which of these things need to especially be efficient? [closed]
Possible Duplicate:
What should a game engine do?
What are the usual responsibilities of a game engine, and which of these things especially need to be efficient (performance-wise)?
Can I ...
0
votes
0answers
73 views
Drawbacks for using only quads for model geometry [closed]
Possible Duplicate:
Why do game engines convert models to triangles compared to keeping it as four side polygon
What are the main drawbacks for using "only" quads for model geometry?
Does ...
10
votes
1answer
233 views
Is precomputed pathfinding still relevant?
Context
Old Lucas Arts (ScummVM era) point and click graphic adventure games used precomputed pathfinding. Here's a rough outline of the technique.
Step 1
The floor in each room was divided into ...
0
votes
0answers
34 views
Custom Parallax Class performance questions ( Related to Cocos2d or OpenGL)
Looking for best practices in performance! :)
I would like to know if my idea is a good approach trying to develop a custom Parallax system in Cocos2d ( although in terms of performance could be ...
2
votes
1answer
111 views
Moving a big set of box2d bodies in an iOS endless side-scroller game (such as Canabalt)
I am working on an iOS endless-running game (Robot Unicorn, Canabalt, etc). I'm using box2d for the Physics and Collision Checking and cocos2d for graphics.
To achieve the notion of an endless level, ...
0
votes
2answers
176 views
Which should be faster: 10 flat shaded polygons or 2 with a transparent texture
I have particle system, and I want to the individual particles to take the shape of a star. Which should be faster: Drawing the 10 polygons using a flat shader, or 2 polygons (a square) with a ...
2
votes
1answer
164 views
Drawing a textured triangle with CPU instead of GPU
I understand the benefits of GPU rendering and such, but for a certain limited application I need to render textured triangles purely using CPU.
I've built a 3D engine capable of object handling, ...
5
votes
3answers
207 views
How often to save player's state in persistent online games?
In online games, people prefer to log on and off whenever they want. Usually, their game achievements are seamlessly saved, on the server. That is not that difficult to achieve, but I am wondering how ...
4
votes
2answers
210 views
How to efficiently store and display a tile map on the web?
About
These are actually two questions in one. First of all I am looking for a way to efficiently store large amounts of tile data. The other aspect deals with querying the data set and displaying ...
0
votes
1answer
185 views
What early design decisions are important for creating “performant” multiplayer games?
I want to create online games and focus on the performance from the beginning.
I searched on the internet, but didn't find any an particular answer concerning the design level or development level ...
2
votes
1answer
216 views
How many moves to think ahead for chess minimax AI?
I am thinking of making a chess game, and I read up on minimax trees. How many moves should the AI think ahead so that the player doesn't have to wait a long time?
If there are 25 possible moves ...
3
votes
2answers
207 views
How to increase update speed of game?
I have a basic game, in which the player moves the environment around the screen, to give the gamer an impression that the player is actually moving.
I want this game to be large and have an open ...