Every progression in a game is a series of calculations managed by the processor. When you defeat an enemy or complete a mission, the computer does not “understand” the concept of level, but performs a simple arithmetic operation: it adds the experience points you have gained to those you already had. If the total exceeds a pre-set threshold, the processor automatically unlocks the next level and updates all your statistics.
To determine whether a hit has struck its target, the processor performs geometric calculations in real time. Imagine your character is protected by a circular shield: to find out whether an arrow will hit it, the computer calculates whether the projectile’s trajectory crosses the shield’s perimeter. Based on the result of this calculation, the game instantly determines whether you have taken damage or dodged the blow. All of this happens in a few milliseconds, without the player even noticing.
To determine whether a hit has struck its target, the processor performs geometric calculations in real time. Imagine your character is protected by a circular shield: to find out whether an arrow will hit it, the computer calculates whether the projectile’s trajectory crosses the shield’s perimeter. Based on the result of this calculation, the game instantly determines whether you have taken damage or dodged the blow. All of this happens in a few milliseconds, without the player even noticing.
The position of every object in the game is defined by three numbers indicating where it is in virtual space. When you move the camera, the processor recalculates in real time the position of every element in the scene — trees, walls, enemies — to determine what must appear on screen and from which angle. It is this continuous work of calculation that transforms a series of numerical data into the graphical environment the player sees and perceives as real.