Proximity - Racing games

About this model

This diagram models the progression system of a racing game, incorporating key metrics such as distance traveled ("Kilometres"), the current level ("Current Level"), total levels ("Total Levels"), as well as both overall and race-specific completion percentages ("Overall Completion Percentage" and "Current Race Completion Percentage"). Each level requires the player to complete a certain distance to advance, which increases exponentially based on the level number, specifically calculated as 10*1.2^currentLevel for the current race distance. As the player progresses through the levels, resources generated by source nodes simulate the kilometers traveled per game step, which ranges randomly between 2 and 10 kilometers.

The system employs registers to calculate and track the player's progress percentage for both the specific race and the overall game, updating these metrics based on the distance covered and the levels completed. A drain node consumes the resources once the race completion percentage reaches or surpasses 100%, indicating the player has completed the current level. This mechanism pushes the game state forward by incrementing the level and recalculating the distance required for the next race. The game concludes when the overall completion percentage meets the end conditions, marking the completion of all levels. This diagram adeptly encapsulates the dynamic progression system of a racing game, highlighting the milestones of race completion and total levels, handled through an intricate web of resource generation, accumulation, and condition-based transitions.

"Proximity - Racing games" is a public Machinations diagram shared in the Community by Nicolás Alejandro Munafó, with 23 components.

It was created in July 2023 and last edited in July 2023.

Open the diagram in the Machinations app and press Play to watch the resources move, adjust its values to test how the system responds, or remix it to make an editable copy in My diagrams.