Most Popular

1500 questions
69
votes
2 answers

What is unit slotting?

I was watching the "Devs Play" S01E05 where JP LeBreton sat down with John Romero and played through Doom, while Romero would explain some of the game/level design choices they made. There are loads of great points that both of them juggle around,…
tomsseisums
  • 3,366
  • 4
  • 30
  • 40
68
votes
9 answers

How can you put all images from a game to 1 file?

I've just finished a basic RPG game written in C++ SFML, I've put a lot of effort into the game and I'd want to distribute it, however I've ran into a small issue. Problem is, I have well over 200 images and map files (they're .txt files which hold…
Bugster
  • 2,024
  • 2
  • 25
  • 32
68
votes
26 answers

Game Development Degree vs Computer Science Degree

I'm at the point in my life where I'm starting to look at schools, and was hearing a lot of mixed things about schools such as Digipen or Fullsail that target game development specifically. As someone who is planning on becoming a programmer and…
Chris Bui
  • 855
  • 1
  • 9
  • 7
68
votes
7 answers

How does A* pathfinding work?

I would like to understand on a fundamental level the way in which A* pathfinding works. Any code or psuedo-code implementations as well as visualizations would be helpful.
Daniel X Moore
  • 1,775
  • 1
  • 20
  • 24
68
votes
15 answers

How might I eliminate asymmetrical gameplay caused by turn order?

I'm designing a turn based game in which players profit from buying, transporting, and selling resources. Each turn, the map has to produce a certain number of resources and different locations, and resource prices have to be updated. Because of…
Thomas
  • 723
  • 1
  • 5
  • 8
68
votes
5 answers

Making an indie with friends: Legal considerations

I am close to finishing a game I am making with 3 friends. 1 other coder, and 2 graphic designers. We agreed from the start to split revenue (40/40/10/10). However we have no contract, and I know that I don't own the graphics/sounds in my game just…
Green_qaue
  • 1,893
  • 4
  • 24
  • 55
67
votes
8 answers

Where to start with game development?

I asked this earlier in this thread at stackoverflow.com. One of the early comments redirected me here to gamedev.stackexchange.com, so I'm reposting here. Searching for related questions I found a number of very specific questions, but I'm afraid…
stevendesu
  • 543
  • 1
  • 7
  • 13
67
votes
9 answers

2D graphics - why use spritesheets?

I have seen many examples of how to render sprites from a spritesheet but I havent grasped why it is the most common way of dealing with sprites in 2d games. I have started out with 2d sprite rendering in the few demo applications I've made by…
Columbo
  • 773
  • 1
  • 6
  • 5
67
votes
6 answers

How can I know if my puzzle game is always possible?

I've made a sort of a puzzle game where the goal is to get rid of all of the white tiles. You can try it at the end of the question. Each time, the board is randomly generated with white tiles in random places on a 5*5 grid. You can click any tile…
Qwerty
  • 723
  • 1
  • 5
  • 7
66
votes
9 answers

Good GUI for OpenGL?

I am starting to learn OpenGL with FreeGLUT using the Superbible and the knowledge I have from my elementary graphics to brush up on my skills. To get more from this experience I want to integrate a GUI to overwrite the one FreeGLUT uses, now my…
Cristina
  • 400
  • 1
  • 9
  • 19
66
votes
6 answers

How do bullets work in video games?

I came across this question when I was designing a video game in C#. If we consider games such as Battlefield or Call of Duty, hundreds or even thousands of bullets are flying at the same time. Events are triggered constantly, and from what I know,…
Eric
  • 783
  • 1
  • 7
  • 14
66
votes
15 answers

What tools do you use for 2D art/sprite creation?

What cheap/free tools do you use for 2D art and/or animation? I don't really like Gimp's interface, Paint.NET is limited and GraphicsGale is sort of archaic. Cosmigo ProMotion looks like it could be good, anyone use it? Seems a bit pricey at $78/92…
daemious
  • 143
  • 1
  • 3
  • 5
65
votes
6 answers

What are the pro/cons of Unity3D as a choice to make games?

We are doing our school project with Unity3d, since they were using Shiva the previous year (which seems horrible to me), and I wanted to know your point of view for this tool. Pros: multi platform, I even heard Google is going to implement it in…
jokoon
  • 5,243
  • 8
  • 38
  • 59
65
votes
6 answers

Pathfinding for fleeing

As you know there are plenty of solutions when you wand to find the best path in a 2-dimensional environment which leads from point A to point B. But how do I calculate a path when an object is at point A, and wants to get away from point B, as fast…
Philipp
  • 119,250
  • 27
  • 256
  • 336
65
votes
3 answers

Random map generation

I'm starting/started a 2D tilemap RPG game in Java and I want to implement random map generation. I have a list of different tiles, (dirt/sand/stone/grass/gravel etc) along with water tiles and path tiles, the problem I have is that I have no idea…
Tom O
  • 793
  • 1
  • 6
  • 5