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

3
votes
3answers
231 views

When is it best to load screens in mobile games?

In the develpment of a mobile game, is it a good to load all the screens at the start of the game, or destroy and create new ones during the game? I am doing the second thing, because I suppose that ...
3
votes
4answers
2k views

IOS OpenGl transparency performance issue

I have built a game in Unity that uses OpenGL ES 1.1 for IOS. I have a nice constant frame rate of 30 until i place a semi transparent texture over the top on my entire scene. I expect the drop in ...
4
votes
1answer
2k views

Starting a Java activity in Unity3d Android

I wrote a small Java activity extension of UnityPlayerActivity similar to what is described in the Unity docs. It has a method for displaying a song picking interface using an ACTION_GET_CONTENT ...
9
votes
1answer
243 views

Efficient solution for multiplayer space partioning?

This question is a little tricky, but I will try to make it clear. Lets say I am building an online game (not MMO-scale), but that supports as many players as possible, in a authoritative server ...
5
votes
1answer
274 views

Can I leverage the fact that my scene is often static to improve OpenGL (JOGL) performance?

My scene is drawn based on the location of several (often several million) vertices (kept in VBO's) and a camera. I can easily tell in my code when my scene has changed and when it hasn't. There are ...
2
votes
1answer
258 views

improving speed of 2d ball collision

I am making a game which has many balls bouncing around the screen (around 200-300 balls in a small area). One thing I am trying to do is improve the performance of the collision detection and ...
11
votes
2answers
2k views

How should I account for the GC when building games with Unity?

*As far as I know, Unity3D for iOS is based on the Mono runtime and Mono has only generational mark & sweep GC. This GC system can't avoid GC time which stops game system. Instance pooling can ...
3
votes
2answers
971 views

Which is worst: Too many VertexShader instructions, or FragmentShader instructions?

I want to have a better understanding of how to create shaders with optimal performance and realize where some bottlenecks can occur. Is it usually favorable (when possible) to delegate most of the ...
4
votes
1answer
2k views

Unity3D GUI - what exactly it does when create controls and check their statuses?

On unity3d website in the manual on this page: http://unity3d.com/support/documentation/Components/gui-Controls.html I found an example of "GUI.changed" function usage(below). And it looks like it ...
9
votes
1answer
419 views

Is it worthwhile to use particle pools in managed languages?

I was going to implement an object pool for my particle system in Java, then I found this on Wikipedia. To rephrase, it says that object pools aren't worth using in managed languages like Java and C#, ...
2
votes
2answers
135 views

A decent design for handling large creation/deletion of random objects?

So I was attempting a 'Hit the X' game (e.g Toss the turtle, spank the monkey) in which an uncontrollable object travels across the screen in hopes of hitting certain objects and avoiding others. My ...
1
vote
1answer
123 views

Drawback of using multiple bind flags

As far as I understand Direct3D 11 I have to specify certain BindFlags in order to use a resource in a specific stage of the pipeline. From my experience some combinations are more common like ...
4
votes
1answer
110 views

Capturing a programs performance

I'm trying to capture the performance of the GPU, CPU, FPS and memory usage on a program I'm currently working with and want to avoid having to write my own performance capture stuff. Does anyone know ...
3
votes
4answers
1k views

Why does using multithreading during my load screen increase my load times? [closed]

OK, I added a loading screen to my game, and in order for the game able to update and show a loading screen and load stuff in the background I came to the concludsion that I needed to host the loading ...
2
votes
1answer
409 views

Can using different vertex-buffers for each vertex-attributes be good in certain scenarios?

Is there scenarios where this is actually good practice? Or does it slow down performance? Example: //Vertex format is: //X, Y, U, V var myXYs:Vector.<Number> = new <Number>[ -1, -1, ...
22
votes
6answers
9k views

How can I improve rendering speeds of a Voxel/Minecraft type game?

I'm writing my own clone of Minecraft (also written in Java). It works great right now. With a viewing distance of 40 meters I can easily hit 60 FPS on my MacBook Pro 8,1. (Intel i5 + Intel HD ...
8
votes
2answers
497 views

Automating XNA Performance Testing?

I was wondering what peoples approaches or thoughts were on automating performance testing in XNA. Currently I am looking at only working in 2d, but that poses many areas where performance can be ...
11
votes
4answers
2k 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 ...
13
votes
3answers
5k 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
69 views

What are the responsibilities of a game engine, and which of these things need to especially be efficient? [duplicate]

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
93 views

Drawbacks for using only quads for model geometry [duplicate]

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
1k 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 ...
2
votes
1answer
683 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
3answers
421 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
778 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, ...
7
votes
3answers
541 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 ...
6
votes
2answers
2k 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
260 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 ...
3
votes
1answer
1k 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
443 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 ...
8
votes
2answers
4k views

How to handle multiplayer in JavaScript?

I'm just doing a bit of research into tech to use for a mobile multi-player game. It's more an experiment at present so for the moment, the only thing that Players need to be aware of is the other ...
8
votes
3answers
2k views

Better Way To Set Up an Event System

Event Systems are amazing, they make extremely unwieldy code tame and really allow for dynamic creation of games through easy communication of objects and the game loop. I am having a hard time with ...
3
votes
2answers
1k views

XNA game randomly drops to 40fps

I have a fairly straight forward 2D game written in XNA. I'm finding that it arbitrarily drops from 60fps to 40fps. I've tested this drop extensively and have concluded it's not related to graphics ...
5
votes
5answers
1k views

Path planning for volumes in games

How would you path plan a volume for a game? For example a 1 km cube with tunnels and caverns. Also the terrain is destructible. You have walking and flying modes. I would separate it into phases. ...
0
votes
1answer
359 views

Game (X-Plane) boot/startup time / performance

I use X-Plane for my question but it also concerns probably every other flight-simulator or simulation game in general. When developing a plugin what bothers me most is the startup-time of the ...
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
827 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
451 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
416 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
311 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
643 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
135 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
767 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
824 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
408 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 ...