{"id":1955,"date":"2018-03-12T20:20:00","date_gmt":"2018-03-12T20:20:00","guid":{"rendered":"https:\/\/www.studypug.com\/blog\/?p=1955"},"modified":"2024-08-08T19:23:50","modified_gmt":"2024-08-08T19:23:50","slug":"3-ways-math-makes-games-more-fun","status":"publish","type":"post","link":"http:\/\/blog.studypug.com\/3-ways-math-makes-games-more-fun\/","title":{"rendered":"3 Ways Math Makes Games More Fun!"},"content":{"rendered":"

Games have enjoyed a meteoric rise in popularity and games design has become much more involved over the past few decades. Many years ago, gamers were few and far between, playing games like pong, <\/span>Tetris<\/span><\/a>, and Pac-man in their local arcades.<\/span><\/p>\n

\"pacman\"
Image by Dennis Crowley (https:\/\/www.flickr.com\/photos\/dpstyles\/15917357960)<\/figcaption><\/figure>\n

Now these games of yesterday are still <\/span>fun games<\/span>, but they\u2019re relatively simple by today\u2019s standards. Nowadays, there are so many <\/span>games to play<\/span> and games like Call of Duty, FIFA, and Forza Motorsport offer much more immersive and in-depth experiences to a much wider and broader demographic.<\/span><\/p>\n

While the games industry has evolved dramatically, there\u2019s still one key thing that the games of the past share with their modern-day counterparts, <\/span>math<\/span><\/a>. Whether it\u2019s the time between spawning enemies in classic arcade shooters, or calculating the bullet drop in PlayerUnknown\u2019s Battlegrounds, math can be found in practically every video game ever made.<\/span><\/p>\n

With that in mind, let\u2019s breakdown how <\/span>video game designers<\/span> use <\/span>math in games<\/span> to make them much more fun for you to play.<\/span><\/p>\n

<\/h2>\n

<\/h2>\n

<\/h2>\n

1.<\/b> Math Builds Fantastic Worlds<\/b><\/h2>\n

\"Zelda\"<\/p>\n

Math in video game design<\/span> helps programmers to construct beautifully realized worlds. Using basic <\/span>geometry<\/span><\/a>, designers can build isometric backdrops that give the illusion of a 3D space. They can also use geometry to build more complex 3D worlds and characters. Almost everything in the games world is made up of things called polygons. These polygons form basic shapes that when combined together, form practically every item you see in game. Trees, cars, birds, people, weapons, soccer balls, they\u2019re all made up of polygons, or \u201cpolys\u201d as they\u2019re often called.<\/span><\/p>\n

The more polys within a model, the more detailed the model will be and as video games become more powerful, designers can produce higher poly models, making them look better and more realistic. Before high powered games consoles, designers would need to make lower poly models in order to make the game run smoothly and efficiently, which is why games of the past don\u2019t look as detailed as modern day games.<\/span><\/p>\n

\"3d
Picture Credits: WikiCommons<\/figcaption><\/figure>\n

Outside of geometry, game designers also use math to calculate the space between objects and the distance a player can travel. Math helps designers to correctly place ledges and platforms in the right places for players to reach. It also allows them to determine how high to make walls or how far to make gaps, in order to block off certain areas of the world. Without these calculations, players could go anywhere in the world and potentially ruin the experience or even break the game in interested and unusual ways (see games done quick).<\/span><\/p>\n

Instead of building a specific world for players to roam, game designers can also build procedurally generated worlds that offer different playthroughs each time the player enters the games world. Using this method, designers create data (in-game assets) using a mathematical algorithm to place items in the right places and to build out a brand-new world from scratch. Games like spelunky have utilized this procedurally generated method \u00a0to great effect, adding a certain level of unpredictability and excitement to the gameplay.<\/span><\/p>\n

2.<\/b> Math Brings These Worlds to Life!<\/b><\/h2>\n

\"VR<\/p>\n

Without math, the characters wouldn\u2019t be able to function. Objects wouldn\u2019t move and the worlds would be lifeless. Mathematical vectors<\/a> are used within games to assign direction to objects and the length of the magnitude will dictate the speed at which they will travel. Using X and Y, basic formulas are constructed and each one of these helps to breathe life into the world.<\/span><\/p>\n

Mathematical formulas help programmers determine player acceleration\/deceleration. For example, lightly squeezing the trigger in a game like Forza, will result in the car accelerating slightly. Pulling the trigger down completely, will result in the car going faster. Similarly, pressing the other trigger (the breaks) will result in the car decreasing in speed. Calculating the impact of these button presses, allowing you to race through cities at breakneck speeds, making those perfect turns, and breaking at the right time, is all made possible through math.<\/span><\/p>\n

\"Mario
Picture Credits: BagoGames on Flickr<\/figcaption><\/figure>\n

Beyond just controlling the movement speed of the player, formulas can also be used to inform player actions like jumping. In a game like Super Mario (yes, there\u2019s even <\/span>math in Mario<\/span>!), the height of a jump will be controlled by a pressure sensitive button presses. A light tap, results in a short jump, and pressing the button down for longer, results in a much larger leap. This is all made possible through formulas behind the scenes.<\/span><\/p>\n

3.<\/b> \u00a0\u00a0\u00a0<\/span>Math Controls Who Wins in These Worlds!<\/b><\/h2>\n

Games like Street Fighter, Mortal Kombat, Tekken, and other fighting games, rely on math to determine who will emerge victorious. At the beginning of each battle, players have a full health meter (100%) and over the course of the battle, the players health can decrease depending on the attacks used by their opposition. Each attack is assigned a value (hit points) and if landed successfully, these attacks will deduct points from the opponent\u2019s life bar. This continues until one player reaches zero (no health) and is defeated.<\/span><\/p>\n

Math directly informs how players interact with the game. They will subconsciously build basic algebraic formulas in their heads to help them win. If the opponent\u2019s health is at Y and this move deals X amount of damage, the outcome will be success! This is true for many other games too as they all require problem solving in real-time. In a way, being better at math means you could be better at games.<\/span><\/p>\n

Fighting games will need to be balanced so that no character is too powerful and that each moveset has a fair balance of strong and weak attacks. Once again, this process is made possible by math!<\/span><\/p>\n

\"Dota\"
Picture Credits: BagoGames on Flickr<\/figcaption><\/figure>\n

Fighting games also have \u201cspecial meters\u201d that are built up through dealing damage and taking damage too. How they are built up and when they\u2019re available for use, is determined by in-game formulas that calculate damage dealt and received and how that translates to special meter power.<\/span><\/p>\n

This method is also used within action RPG games. These games often offer stat boosts or special moves in certain scenarios like low life or after a successful combo. Formulas behind the scenes, trigger certain abilities that are available to the player. For example, when the player\u2019s life is below X (25%), trigger Y (special move).<\/span><\/p>\n

Put Simply, Video Games = Math<\/b><\/h2>\n
\"PS4\"
Photo by JESHOOTS.COM on Unsplash<\/figcaption><\/figure>\n

If you\u2019ve made it this far, you now have a basic idea of <\/span>how math is used in video game design<\/span> and you should be able to answer the following question:<\/span><\/p>\n

Does video game design require math?<\/span><\/i><\/p>\n

Yes! It\u2019s clear to see that there\u2019s <\/span>different types of math<\/span> at the heart of practically every video game available today. We\u2019ve demonstrated algebra <\/a>in video games, calculus<\/a> in video games, vectors <\/a>in video games, and that\u2019s only scratching the surface.<\/span><\/p>\n

Math is integral to the building of games and to the playing of them too. Knowing how and when to land a move in Street Fighter, drive a car in Forza, and jump in Mario, it\u2019s all math.<\/span><\/p>\n

If you play games, you\u2019re using math, and if you dream of making your own <\/span>cool games<\/span>, you\u2019ll need to know various elements of math. With this in mind, take advantage of your math classes in school and build your understanding of the subject matter, it could lead to a career in video games!<\/span><\/p>\n

To assist you, use tools like <\/span>StudyPug<\/span><\/a>. It can help you revise for exams and is a great online support for your studies. Whether you need help with <\/span>trigonometry<\/span><\/a>, <\/span>calculus<\/span><\/a>, <\/span>basic algebra<\/span><\/a>, or any other math related topic, StudyPug has a range of helpful step-by-step videos that are incredibly easy to follow.<\/span><\/p>\n

Try it today and prepare yourself for that future career in games development.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"

Games have enjoyed a meteoric rise in popularity and games design has become much more involved over the past few decades. Many years ago, gamers […]<\/p>\n","protected":false},"author":1,"featured_media":1959,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1955","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-education"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/blog.studypug.com\/wp-json\/wp\/v2\/posts\/1955"}],"collection":[{"href":"http:\/\/blog.studypug.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.studypug.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.studypug.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.studypug.com\/wp-json\/wp\/v2\/comments?post=1955"}],"version-history":[{"count":14,"href":"http:\/\/blog.studypug.com\/wp-json\/wp\/v2\/posts\/1955\/revisions"}],"predecessor-version":[{"id":3199,"href":"http:\/\/blog.studypug.com\/wp-json\/wp\/v2\/posts\/1955\/revisions\/3199"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/blog.studypug.com\/wp-json\/wp\/v2\/media\/1959"}],"wp:attachment":[{"href":"http:\/\/blog.studypug.com\/wp-json\/wp\/v2\/media?parent=1955"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.studypug.com\/wp-json\/wp\/v2\/categories?post=1955"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.studypug.com\/wp-json\/wp\/v2\/tags?post=1955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}