Apples
  • Member for 9 years, 9 months
  • Last seen more than a month ago
  • Houston, TX, USA
Recommended method towards making custom maps for a 2d game?
Accepted answer
11 votes

There are many different types of level systems, most of which are customized specifically for a single game. This answer will not cover every implementation detail of these systems, but rather an ...

View answer
Game Designer or Game Programmer, please help me choose!
5 votes

You need to be a programmer and an artist... ...but lean heavily towards one side. Game design is both of these things. Programming is not hard. Programming is one of the easiest aspects of game ...

View answer
Height Map vs 3D Model Mesh
Accepted answer
4 votes

Performance-wise, both options should be equivalent since everything will be converted to a model sooner or later. Heightmaps: +Easy to store and edit +Easy to calculate texture coordinates if they'...

View answer
How to rotate a direction
Accepted answer
3 votes

Assuming C++ with GLM... C++: //Construct a rotation matrix to rotate 'degrees' around a certain axis glm::mat4 rotation = glm::rotate(glm::mat4(1.f), degrees, glm::vec3(/* axis */)); //Upload to ...

View answer
Estimate angle to launch missile, maths question
2 votes

I'll start off by saying: you're not going to be the very best in game programming if you don't have a strong grasp of mathematics. Even so, math should not prevent you from becoming a good game ...

View answer
Game architecture / design question - building an efficient engine while avoiding global instances (C++ game)
1 votes

You just have to make sure that there are no reverse or cyclical dependencies. For example, if you have a class Core, and this Core has a Level, and the Level has a list of Entity, then the dependency ...

View answer
How to remove jitter from motion input?
1 votes

It feels weird to answer my own question, but I think I've found my solution. //Pseudo-Java update() { //deltaYaw is the change in yaw of the controller since last update //yawBuffer is ...

View answer
Why Game engines use C++?
1 votes

C++ is generally considered "better" than other languages, for several reasons. Mainly, almost all professional programmers know C++, but aren't as familiar with other languages. Therefore, there is a ...

View answer
How to create reproducible probability in map generation?
1 votes

I'm not sure if there's any commonly practiced method of accomplishing this, but here's what I usually do for things like this: Since you are already using a Perlin noise function, you can simply use ...

View answer
How would I successfully split a vector to increase game performance?
0 votes

If the monsters are continuously being created and destroyed (if the vector is changing size), then try using a list instead.

View answer