Charts make it possible to plot multiple variables while running your diagrams, to visualise possible outcomes, and help you monitor certain parameters either standalone, or in relationship to others.
🔧 Here's an example of plotting 2 variables. In a basic diagram representing a running game, we are plotting Coins earned by a player during a run and the Difficulty Factor that influences the player's Chance of Error (aka crashing into obstacles).
In the video above, Machinations simulates one run, and plots the evolution over time steps of the 2 Pools. Notice this run took over 100 seconds (time steps). By the time the run was over, the player accumulated 272 Coins and reached a Difficulty Factor of 51.
A quick look at the chart could tell us that we may possibly be handing out Coins at a too high rate. From here on, you can start iterating, and answering questions like: Is it an early or a late run issue? Do I have enough content for my player to sink the Coins, or can the rate of Coin collecting result in inflation? How does this chart look like when I introduce power-ups? Should I increase the Difficulty Factor?
You can find a similar diagram to the one in the video in our Intro Tutorial: Endless Runner - a step-by-step walkthrough of how to build the core loop of a runner.
All Chart Options can be found in the Options Bar, found at the top of the plotting area.
There are 3 types of charts you can use to visualise your data: Line, Area and Bar Chart. Select the one that fits best, in the top bar of the plotting area, next to the chart's name.
Currently, there are 2 options: CSV export of the simulations values, or an image export of the chart
You can run multiple simulations on the same chart instance by:
Stopping and running the diagram manually
Setting a limited number of steps for which to run the simulation
Having an End Condition on the diagram
To see the plotted results for each of these iterations, use the buttons in the top bar of the chart to navigate through them.