Main function uses metrics, every single time it launches. It measures the base performance of the program, as the main function runs most of the functionality. In most video games, the main function runs the main game loop. int main() { //main command arguments main_performance_game_loop(); return 0: } That is the most basic way to measure to game performance. Meaning RAM, CPU, VRAM and GPU. It is also possible to measure gameplay and graphics. A good way to do that is in the above presented code. Running performance and main game functionality in the same loop. Visual Studio has RAM measuring tools, but you can optimize them for your needs in the program. By running a main performance loop inside the main game loop. RAM analytics and and analysis can be adjusted by making code flags. You can also use the analytics settings from the Visual Studio settings and options. You can also the commnad line prompts: --shell That...
It is possible to actually test economy code. void test_market(int* trade_node, int* zone); This isn't just play testing, but to actually test how economy works in the game. This are actually two very different things, that have to distinguished. It also has to be noted, that this can be done after the playtesting, when the game is released. Testing the economy in the game, basically means tesing server data, but testing the economy code, while the game has released actually has effect on the game in game multiplayer economy. This is economy server data: main trade # # 0 0 And this is economy code: void test_market(int* trade_node, int* zone) { if ( & trade_node == 1) { zone = 1; } } The economy data provided means current economy standing, and trading and market statistics. One good example of such data is the grand exchange in old school runescape. It contains crucial data, on ...