Most Popular
1500 questions
79
votes
5 answers
Huge procedurally generated 'wilderness' worlds
I'm sure you all know of games like Dwarf Fortress - massive, procedural generated wilderness and land. Something like this, taken from this very useful article.
However, I was wondering how I could apply this to a much larger scale; the scale of…

PrettyPrincessKitty FS
- 10,315
- 8
- 43
- 68
79
votes
10 answers
In Unity, how do I correctly implement the singleton pattern?
I have seen several videos and tutorials for creating singleton objects in Unity, mainly for a GameManager, that appear to use different approaches to instantiating and validating a singleton.
Is there a correct, or rather, preferred approach to…

Zack Brown
- 1,459
- 4
- 18
- 30
78
votes
11 answers
How do I determine my games minimum hardware/software requirements?
With me going it alone in development I only have limited resources at my disposal i.e one pc with which I develop and test the game. so I only know for certain my game works with that setup.
What options have I got in testing the game on the many…

Crippeoblade
- 883
- 1
- 7
- 6
77
votes
4 answers
How does one make games playable before they are fully downloaded?
Diablo 3 and StarCraft 2 have a nice feature: I can start playing before the full game or update has finished downloading.
I guess Diablo 3 downloads mandatory files like like UI assets and some meshes and textures that are used across several…

nikitablack
- 1,279
- 2
- 10
- 8
77
votes
11 answers
How to design a replay system
So how would I design a replay system?
You may know it from certain games like Warcraft 3 or Starcraft where you can watch the game again after it has been played already.
You end up with a relatively small replay file. So my questions are:
How to…

scable
- 821
- 1
- 7
- 5
77
votes
9 answers
Easy to use cross-platform 3D engines for C++ game development?
I want to try my hand at writing a 3D game. However I don't want to start at such a low level of drawing individual triangles and writing my own 3D object loader and so on. I've heard of things like Irrlicht, Crystal Space 3D, and Cafu, but I don't…

davr
- 726
- 1
- 10
- 14
76
votes
26 answers
Recommended 2D Game Engine for prototyping
What high-level game engine would you recommend to develop a 2D game prototype on windows? (or mac/linux if you wish)
The kind of things I mean by "high-level" includes (but is definitely not limited to):
not having to manage low-level stuff like…

Thomas Dufour
- 453
- 1
- 5
- 9
76
votes
5 answers
Which image format is more memory-efficient: PNG, JPEG, or GIF?
Which image format is more efficient to save memory? PNG, JPEG, or GIF?

Tredecies Nocturne
- 1,069
- 2
- 9
- 11
76
votes
5 answers
Good 2D Platformer Physics
I have a basic character controller set up for a 2D platformer with Box2D, and I'm starting to tweak it to try to make it feel good. Physics engines have a lot of knobs to tweak, and it's not clear to me, writing with a physics engine for the first…
user744
76
votes
6 answers
Why do RPGs let you know how much XP you need to level up?
I was reading this article called Behavioral Game Design, and it says:
...how do we make players maintain a high, consistent rate of activity? ... the answer is a variable ratio schedule, one where each response has a chance of producing a…

Daniel Kaplan
- 3,150
- 2
- 19
- 31
76
votes
1 answer
How can I make a "wet surface"/"shallow puddle" shader in Unity?
In my game I need to create dynamic water puddles but I cannot find a tutorial that shows how I can make such an effect (an example of which is shown below). How can I do it?

Seyed Morteza Kamali
- 8,333
- 12
- 50
- 84
75
votes
6 answers
How to write a network game?
Based on Why is it so hard to develop a MMO?:
Networked game development is not trivial; there are large obstacles to overcome in not only latency, but cheat prevention, state management and load balancing. If you're not experienced with writing a…

Tamara Wijsman
- 963
- 1
- 10
- 11
74
votes
7 answers
Good resources for learning modern OpenGL (3.0 or later)?
I stumble upon the search of a good resource to start with OpenGL (3.0 or later) . Well, I found a lot of books but none of them can be considered a good resource!
Here two examples:
OpenGL Programming Guide (7th…

MatterGoal
- 762
- 1
- 8
- 13
74
votes
3 answers
What is the correct order to multiply scale, rotation and translation matrices for a proper world matrix?
Assume DirectX as the platform, if that is important. (Pretty sure it isn't)
Assuming I have a proper scale, rotation and translation matrix, in what order do I multiply them to result in a proper world matrix and why?
By "proper", I mean "I could…

Narf the Mouse
- 935
- 2
- 8
- 8
74
votes
6 answers
How can I optimise a Minecraft-esque voxel world?
I found Minecraft's marvelous large worlds extremely slow to navigate, even with a quad core and meaty graphics card.
I assume Minecraft's slowness comes from:
Java, as spatial partitioning and memory management are faster in native C++.
Weak world…

SomeXnaChump
- 785
- 1
- 7
- 3