Skip to main content

​​How is Math used in Video Game designing and programming.!

 ​​How is Math used in Video Game designing and programming?

Math is an absolute fundamental foundation to successful game development and game design.

Maths in programming

Math is everything when it comes to games. From having the ability to calculate the trajectory of an Angry Bird flying through the sky, to ensuring that a character can jump and come back down to the ground without the help of mathematics, games simply wouldn't work.

A character wouldn't be able to walk up a slope, slide down a slide, fire a bullet from a gun, or even jump without the help of the mathematics. The most basic of games use some form of math to the most complex of games. Math is essential to the production of games. It is the flour to the cake that game developers are trying to bake. Without it, the cake wouldn't rise.

Math is used in every aspect of game development, including art. Maya is a math based program that plots out the vertices and normals in mathematical form while the artist just uses a tool that allows them to create stunning 3D graphics without worrying about math. Simply put, you could model Godzilla in notepad and push it into Maya, if you knew were to plot the points in numerical form (which is extremely difficult).

However, a lot of the math is computed at runtime and handled by the game engines that render back face culling, and the other nitty gritty things that would be too cumbersome to do without the use of using an engine to alleviate the math calculation portion at runtime.

A lot of math in gameplay scripting is fairly simple, but math used in game engine architecture is far more complex and a lot more taxing mentally. Math in game development is simulated either by the developer or handled by the engine at runtime by running computations to calculate the operation that is needed.

Comments

Popular posts from this blog

What is the smallest possible Distance in The Universe?

In physics, the Planck length, denoted ℓP, is a unit of length that is the distance light travels in one unit of Planck time. It is also the reduced Compton wavelength of a particle with Planck mass. It is equal to 5.72938×10⁻³⁵ m (Lorentz–Heaviside version) or 1.61623×10⁻³⁵ m (Gaussian version). It is a base unit in the system of Planck units, developed by physicist Max Planck. The Planck length can be defined from three fundamental physical constants: the speed of light in a vacuum, the Planck constant, and the gravitational constant. It is the smallest distance about which current, experimentally corroborated, models of physics can make meaningful statements. At such small distances, the conventional laws of macro-physics no longer apply, and even relativistic physics requires special treatment. The smallest possible size for anything in the universe is the Planck Length, which is 1.6 x10 -35 m across. It is impossible to determine the difference between two locations less than one ...

How do Ants sense Food?

  S ugar has a slight odor, particularly granulated beet sugar. While all species of ants can differentiate between a wide variety of odors, the smelling range differs from a few centimeters to meters. Desert ants can smell sugar from up to 3 meters. the food sources that ants cannot smell from a distance they 'smell' it (contact chemoreception) by touching it. So in a way, all the food they detect, they detect it by smelling. So yes, ants smell (although contact chemoreception is more like taste) the sugar. The ant colonies send scout ants to search for food in various directions, often up to a range of 100 to 200 meters.(Depends on the territorial boundary and time of the year). The scout marches steadily in less circuitous paths initially if it has memories of previous feeder locations. (Ants use visual landmarks, and a stereo-smell system to create an odor map and navigate) Periodically it will halt and look for olfactory cues. It will then take into a more circuitous rando...

What is The International Space Station?

  The International Space Station is a large spacecraft. It orbits around Earth. It is a home where astronauts live. The space station is also a science lab. Many countries worked together to build it. They also work together to use it. The space station is made of many pieces. The pieces were put together in space by astronauts.  The ISS consists of pressurized modules, external trusses, solar arrays and other components. ISS components have been launched by Russian Proton and Soyuzrockets as well as American Space Shuttles. The space station's orbit is about 220 miles above Earth. NASA and other space agencies uses the station to learn about living and working in space. The first piece of the International Space Station was launched in 1998. A Russian rocket launched that piece. After that, more pieces were added. Two years later, the station was ready for people. The first crew arrived in October 2000. People have lived on the space station ever since. Over time more pieces...