I have everything prepared, including vcpkg installed and SDL2 library and whatever, but once I try to run the game by pressing the play button in VS, i took a long time. That building time is till acceptable, but in game, every operation takes a long time to react, and loading a save also take an extremly long time, unlike when I am playing the version downloaded from release website. This is happending despite I run with debug or not.
I don't know are other people facing this problem or not, but for me, it is just build and run the game.
The game should be as fluent as normal.
N/A
My project is the updated to the newest master branch, with a little bit of code edited but I don't think this is the reason as I also tryed to build and run a game that i never edit at all.
I did not notice any differences last time I compiled it. Try closing VS and then running the compiled game, does that make a difference?
You need to build Release instead of Debug configuration.
As Zhilkin said, downloading source without changes will build it with debug flags enabled which has a lot more debug code (obviously) and hence runs slower.
OK, this time I build release, then it worked fine.
Most helpful comment
You need to build Release instead of Debug configuration.