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.

learn more… | top users | synonyms

7
votes
4answers
2k views

Why do games run so much better in Windows than in OSX?

For example, on my Mac Mini with Bootcamp, Team Fortress 2 runs at about 20fps in OSX and 80fps in Windows. This seems to be a common case. Why is this?
6
votes
1answer
845 views

How many shadow casting lights are in modern games?

I'd like to know how many shadow casting lights are supported in modern games, such as Uncharted 2, Crysis 2, Modern Warfare 2, Halo: Reach, etc. Do they all limit themselves to just a couple of ...
1
vote
1answer
460 views

Best way to do a strategic map for a 4X space game on a web page?

I'm currently looking at the options regarding how to do a strategic map for a web application. My goals here are : a synthethic view of what's happening in a stelar system the ability to ...
5
votes
4answers
1k views

Can Flash games packed for iOS and other mobile devices achieve reasonable performance?

I was thinking of developing a game in Flash, as a hobby/educational project. However, I was hoping I could make it run on a smartphone, but a friend who develops in Flash says that in their ...
8
votes
4answers
2k views

Which Database (RDBMS vs NoSQL vs BOTH) to use for a Realtime Multiplayer Game?

I'm working on a realtime multiplayer game that will require a database (for features such as player profiles, friends, unlocks, news, etc.) This is a standard PC game (not browser-based) and will use ...
6
votes
4answers
2k views

Is Carmack right about PC performance? And does Windows 8 address his concerns?

Here John Carmack claims that PCs are still slower that current gen console hardware because of the overhead. "A lot of it's driver overhead issues, where there's so much that we do in the game, ...
2
votes
3answers
421 views

Where to start with hardware-specific low-level programming?

Seeing as today's machines have insane computing power and near endless memory, it's tough for a hobbyist programmer to actually hit the limits of his machine without doing something totally ...
-3
votes
0answers
312 views

Why OpenGL provided with latest GeForce drivers is so extremely slow?

I'm writting a code in OpenGL and using two computers - an old and a new one. On the old computer (which I use for debugging/creating implementation for the old GL) I have GeForce 5500 FX. Before ...
14
votes
3answers
1k views

Is there any documentation comparing/contrasting C++ standard library implementations?

(This is not game programming per se, but I'm certain if I asked this on SO I'd get told not to prematurely optimize, even though history tells us every large game ends up worrying about these ...
1
vote
1answer
166 views

optimal pixel-read back strategy

I need to render certain scenes and read the whole image back in main memory for further processing which is not suitable for rewriting into shaders of CUDA, and saving to disk. I've search for this ...
0
votes
2answers
654 views

Graphical Android game: Bad performance in some situations

I am developing a simple graphical game for Android (Java and OpenGL ES). There is no high-end graphics involved, basically a few (less than 10) sprites and some (about 10) dynamically drawn ...
1
vote
3answers
136 views

Regulating how much to draw based on how much was drawn last frame

[Edit: I found an answer - see below] I have a 3D game world on an iPhone (limited graphics speed), and I'm already regulating whether I draw each shape on the screen based on it's size and distance ...
5
votes
1answer
792 views

Java rendering performance bottlenecks

I've read a lot of forums about making 3D games in Java but I was unable to build a full picture of how it performs in video games. I know that it works smoothly for small and average size games, but ...
13
votes
1answer
855 views

Is nVidia's CUDA suited to performing pathfinding calculations?

I want to know if it would be worth executing pathfinding on the GPU (using nVidia's CUDA, or an equivalent) in certain situations, or whether it would be a wasted effort. The situation I imagine ...
4
votes
1answer
414 views

Network Game testing via Wireshark

How can i check/inspect the performance of my network game via Wireshark and specifically the Graphs available in Wireshark,i want to test the performance of my network game. which kind of graphs can ...
3
votes
3answers
487 views

Suitable Client Server setup for Network Game testing

I want to test my Client/Server game for which, currently, I am using localhost for both Client and Server. Obviously I'm not getting any fluctuation in data and measure idea of performance, and in ...
1
vote
2answers
154 views

Observing particular Port for measuring network game performance

How can I check/inspect the performance of some network application via observing the port it used, I want to test the performance of my network game. If my game is using port 1009, how can I check ...
2
votes
2answers
2k views

Fastest way to get all adjacent tiles?

What is the fastest way to get all adjacent tiles in a two-dimensional array of tiles, converted into a single-dimensional array? If you don't know the answer, then the fastest way to do it in a ...
11
votes
2answers
1k views

Multiplayer FPS server side performance

This is related to MMO Performance except that question is about bandwidth. This is about cpu load. I put together a simple FPS using node.js and webGL. It's extremely simple, a lot like the ...
0
votes
2answers
2k views

Fullscreen + Vsync = Stuttering

In my research for a stuttering problem in my game engine, I think, I have found the problem, but don't have any idea why this is happening, that's why I ask you if you have an idea ! The situation : ...
6
votes
3answers
488 views

Computing volumetric light effects analytically

In my previous question I have asked about an effect on how to visualize light spheres. The question resulted in a very nice formulated answer which described pretty well how to achieve this by adding ...
6
votes
8answers
418 views

Is it useful to monitor framerate over the course of an arbitrary (but long) period of time?

How useful is it to keep a measurement of framerate over the course of long times (such as an hour) spanning multiple scenes/data environments? I've had plenty of times where data throttling/pushing ...
6
votes
1answer
1k views

Adding a simple mix() destroys the framerate

I have a very simple shader and added linear fog via mix like this: finalColor = mix(finalColor, vec3(0.5, 0.8, 0.95), vUVoutAndViewZ.z); Note that the view Z distance is in the variable that also ...
5
votes
1answer
527 views

How to insert and remove blocks quickly in a Minecraftian world?

I currently have volume data for the world stored as an array of booleans. I then check each empty block and if it has non-empty neighbors the faces get drawn. This prevents me from sending a bunch ...
15
votes
5answers
18k views

Objective-C or C++ for iOS games?

I'm pretty confident programming in Objective-C and C++, but I find Objective-C to be somewhat easier to use and more flexible and dynamic in nature. What would be the pros and cons when using C++ ...
7
votes
2answers
2k views

Multi threaded game - updating, rendering, and how to split them

From the StackOverflow post (it was recommended I move this): So, I'm working on a game engine, and I've made pretty good progress. However, my engine is single-threaded, and the advantages of ...
4
votes
2answers
683 views

How should I manage events in XNA on the Windows Phone 7 without impacting performance?

It's best-practice to not to create lots of short-lived temporary objects the heap as it'll eventually force a garbage collection during game-play. It is best to create short lived value objects. ...
11
votes
5answers
2k views

Python Performance vs Game Maker [closed]

I was originally thinking of creating a game with Python and SFML. I understand Python is slow compared to C++, but how is it compared to Game Maker? The main reason I ask is I recently played a Game ...
3
votes
2answers
3k views

OpenGL VBOs are slower then glDrawArrays

So, this seems odd to me. I upload a large buffer of vertices, then every frame I call glBindbuffer and then the appropriate gl*Pointer functions with offsets into the buffer, then I use glDrawArrays ...
1
vote
5answers
1k views

OpenGL Performance Questions

This subject, as with any optimisation problem, gets hit on a lot, but I just couldn't find what I (think) I want. A lot of tutorials, and even SO questions have similar tips; generally covering: ...
8
votes
5answers
4k views

Designing a flexible tile-based engine

I'm trying to create a flexible tile-based game engine to make all sorts of non-realtime puzzle games, just as Bejeweled, Civilization, Sokoban, and so on. The first approach I had was to have a 2D ...
8
votes
4answers
8k views

How to improve batching performance

I am developing a sprite based 2D game for mobile platform(s) and I'm using OpenGL (well, actually Irrlicht) to render graphics. First I implemented sprite rendering in a simple way: every game object ...
8
votes
1answer
3k views

What does vsynched mean?

I'm always looking for ways to improve the smoothness of my games. When I read around the net I come across the term "vsynched" quite often. What does vsynched mean?
13
votes
3answers
4k views

Logging library for (c++) games

I know a lot of logging libraries but didn't test a lot of them. (GoogleLog, Pantheios, the coming boost::log library...) In games, especially in remote multiplayer and multithreaded games, logging ...
2
votes
2answers
495 views

Make OpenGL game perform better

I have programmed an OpenGL game which just contains one F1 car and a track. It is very simple and only uses around of 10'000 - 20'000 triangles. It should run on any PC but it won't, it needs a ...
12
votes
2answers
2k views

“Optimal” game loop for 2D side-scroller

Is it possible to describe an "optimal" (in terms of performance) layout for a 2D side-scroller's game loop? In this context the "game loop" takes user input, updates the states of game objects and ...
25
votes
4answers
12k views

why would you use textures that are not a power of 2?

In the early days of OpenGL and DirectX, it was required that textures were powers of two. This meant that interpolation of float values could be done very quickly using shifting and such. Since ...
35
votes
7answers
5k views

What are the performance difference between unsigned and signed integers?

I am aware of the performance hit when mixing signed ints with floats. Is it any worse to mix unsigned ints with floats? Is there any hit when mixing signed/unsigned without floats? Do the ...
10
votes
4answers
10k views

Preferred way to render text in OpenGL

I'm about to pick up computer graphics once again for an university project. For a previous project I used a library called FTGL that didn't leave me quite satisfied as it felt kind of heavy (I tried ...
3
votes
4answers
2k views

how to do partial updates in OpenGL?

It is general wisdom that you redraw the entire viewport on each frame. I would like to use partial updates; what are the various ways can do that, and what are their pros, cons and relative ...
3
votes
2answers
349 views

Handling sound effects for Multiple Collisions

How can I generate somewhat realistic sound effects for collisions in a physics engine that simulates lots of objects? E.g. take >10 marbles that are bouncing off walls and off each other. If I ...
1
vote
1answer
444 views

Farseer: what are its performance on xbox360?

Are there any performance issue related with lots of "new" calls and things like that? Did anyone test it? Something to take care of? Thanks
13
votes
1answer
706 views

Is there any performance benefit to sharing shaders between programs?

OpenGL allows you to share the same shader between multiple programs. Aside from saving small amounts of memory and a shader handle, are there any GPU-side performance benefits to doing this?
12
votes
4answers
3k views

Is SVG a viable technology choice for web-based game?

I have started to read up about the web technology available for doing web-based game with only Javascript, but I have no where got feedback about SVG with HTML5. Is is a viable choice ? Does it ...
1
vote
4answers
526 views

Import from mesh vs hardcoded vertices performance

Which brings better performance at run-time: a cube imported from a mesh, or a cube made from hardcoded vertices? Are there limitations to a certain method? Is one of them better architectural-wise?
3
votes
2answers
339 views

What are the technologies that makes physics engines so good for raycasting?

again. This question is strictly related to this one so, what is the technology that makes physics engines suitable for raycasting? It is a particular data structure? Has it to do with the engine's ...
5
votes
1answer
278 views

Handling Background & other objects in a Flash platformer

I asked a similar question in 'SO' not knowing about this place,anyways here goes: I wanted to know what the best approaches are while creating a platformer based game for handling background & ...
8
votes
5answers
1k views

Geometric Transformations on the CPU vs GPU

I've noticed that many 3d programs normally do vector/matrix calculations as well as geometric transformations on the CPU. Has anyone found an advantage in moving these calculations into vertex ...
3
votes
2answers
147 views

Trade offs of linking versus skinning geometry

What are the trade offs between inherent in linking geometry to a node versus using skinned geometry? Specifically: What capabilities do you gain / lose from using each method? What are the ...
2
votes
4answers
1k views

Objective-C to plain c iPhone game performance improvements

I'm testing a 2D OpenGL ES based iPhone game on both the iPhone 3G and the iPhone 4. It runs great on the iPhone 4... and pretty well on the 3G. The game state is updated at 60 Hz... and the ...