Analytics Methodology (Using Python + matplotlib + pandas)
1) Set up analytics tracking in your game
We wrote a C# class called AnalyticsManager (singleton and DontDestroyOnLoad) dedicated to handling analytics data.
Copyright By PowCoder代写 加微信 powcoder
When a player collides with a checkpoint/end of a level, meaning the current checkpoint/level is finished, we upload the statistics of the current checkpoint/level.
2) Play the game and get the results
Test and play the game multiple times in order to get the results under each tracking parameter. Export your data in a raw format such as JSON.
3) Form the chart
Read the JSON data using Python and draw each chart using Python Panda, a very convenient plotting API. Use the json.loads method to read Data from JSON file to an array.
Finally, Import matplotlib.pyplot library to draw chart.
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com