Most Popular
1500 questions
58
votes
9 answers
Is the TCP protocol good enough for real-time multiplayer games?
Back in the day, TCP connections over dialup/ISDN/slow broadband resulted in choppy, laggy games because a single dropped packet resulted in a resync. That meant a lot of game developers had to implement their own reliability layer on top of UDP, or…

kevin42
- 4,506
- 6
- 27
- 33
58
votes
4 answers
How is 2D lighting implemented?
I am wondering what the best way to approach a "lighting" effect in 2D games is. For instance, if my main character is glowing, what techniques can I use to complete the visual effect of the character glowing when it is near other objects which…

Christopher Horenstein
- 1,779
- 2
- 18
- 25
58
votes
4 answers
Using multiple shaders
I'm currently studying opengl shaders but I can't figure out something: how to apply different shaders to the objects, for example, a teapot rendered using toon shader and another one in the same scene using a very reflective surface and other…

ibrabeicker
- 2,941
- 4
- 22
- 20
58
votes
9 answers
New to creating AI - where to start?
I am new to game programming and am trying to make a basic 2d top-down space game with 2 space ships that fight each other. I am doing well with the user controlled space ship, but have no idea how to even start programming an AI. Are certain…

jle
- 727
- 1
- 6
- 5
58
votes
14 answers
Why do some games persistently have mostly one viable strategy, while others can have many?
The interesting thing in League of Legends is the existence of the "meta", which, for the purpose of this question, can be defined as the One Strategy That Rules Them All. The meta shifts between patches; but soon after a patch is released, a new…

gaazkam
- 937
- 1
- 7
- 10
58
votes
9 answers
How are deterministic games possible in the face of floating-point non-determinism?
To make a game like an RTS networked, I've seen a number of answers here suggest to make the game completely deterministic; then you only have to transfer the users' actions to each other, and lag what's displayed a little bit in order to "lock in"…

BlueRaja - Danny Pflughoeft
- 7,985
- 2
- 35
- 41
58
votes
5 answers
What exactly is a physics engine?
A program should take input, process it and give output. So what exactly does a physics engine take as input and provide as output?

user91119
- 619
- 5
- 3
57
votes
8 answers
How can I avoid having many singletons in my game architecture?
I use cocos2d-x game engine for creating games. The engine already uses many singletons. If someone used it, then they should be familiar with some of them:
Director
SimpleAudioEngine
SpriteFrameCache
TextureCache
EventDispatcher…

Narek
- 1,327
- 3
- 12
- 26
57
votes
18 answers
What are good JS libraries for game dev?
If I decide to write a simple game both text and graphical (2d) what libraries would I use? (Assume we are using a HTML5 compatible browser)
The main things I can think of
Rendering text on screen
Animating sprites (using images/css)
Input…
user1047
57
votes
9 answers
Where to promote your indie game?
Possible Duplicate:
Where to advertise my game?
Let's say I have developed a game and I want to "get it out there". What I have in mind is open-source, non-commercial games.
What websites do you know of where you can promote your newly developed…

Andreas Grech
- 252
- 2
- 5
- 12
57
votes
15 answers
Cross Platform 2D Graphics Engines
I'm looking for a 2D graphics engine that would allow me to release to Windows, Mac and the iPhone, much the way Unity does for 3D.
Is there a good engine that does this and is specific to 2D?

Kevin Laity
- 716
- 1
- 9
- 10
57
votes
7 answers
Why do game studios need graphics programmers if they're using game engines?
In the credits section of the games I play, there are names of graphics programmers. If they used a game engine, why do they need a graphics programmer? Isn't the game engine doing their job?

Shuvo Sarker
- 739
- 1
- 6
- 16
56
votes
7 answers
How can I draw outlines around 3D models?
How can I draw outlines around 3D models? I'm referring to something like the effects in a recent Pokemon game, which appear to have a single-pixel outline around them:

mystic portal
- 661
- 1
- 6
- 5
56
votes
3 answers
Algorithms for rainfall + river creation in procedurally generated terrain
I've recently become fascinated by the things that can be done with procedurally terrain and have started experimenting with world building a bit. I'd like to be able to make worlds something like Dwarf fortress with biomes created from meshing…

Peck
- 663
- 1
- 6
- 4
56
votes
3 answers
In an Entity-Component-System Engine, How do I deal with groups of dependent entities?
After going over a few game design patterns, I have settle with Entity-Component-System (ES System) for my game engine. I've reading articles (mainly T=Machine) and review some source code and I think I got enough to get started.
There is just one…

John Daniels
- 663
- 1
- 6
- 5