Geomentry in Games

 


Again, a bit of context is needed. What are we talking about? Geometry is the study of the measurement of figures in planes or in space. When we talk about the hyperbolic curves used by Gaudí in La Sagrada Familia we are talking about geometry. The simple action of moving in a video game implies geometry.

Movements such as planetary movements performed in our space, which is in three dimensions, can be reduced to two if we think of the planets as point bodies. The elliptical nature of this action allows the trajectory to be easily represented in a plane. It is this geometrical quality, of reducing the dimension of the problems, that is of great help in simplifying the accounts and clearing the field a little.

Geometry has always been used in video games, from immortal platformers like Mario Bros to the brilliant Hollow Knight. As said before, 3D problems can be reduced to 2D under certain conditions. These can be:

- Being able to represent the bodies involved as point particles. That is, the problem does not necessarily involve all the physical properties of the body.

- Not needing to involve the volume of the bodies involved.

- That the bodies involved can inhabit the same plane.






However, knowing how to locate a point on the plane is not enough. There is always movement in the game, so there are methods to calculate the distance travelled. To calculate distances, in those games in which we assign a destination and the HUDS shows us how many metres we are missing, the famous Pythagorean Theorem is used.







If you want to know more!






Comentarios

Entradas populares de este blog

Geometry in Architecture