How did you make it load and save game data? Could you provide a link?
xXTheRush905Xx 2 months ago
How did you get it so that you can save, and load game data?
How did you make the loading effect?
ChaseandDonny 1 year ago
@ChaseandDonny You'll need to include "Windows.h" for it to work, then just make a function which wait for the time you send as parameter, here's a working function for that:
void loading( int time ) // 1000 = 1 second
{
for( int i = 3; i > 0; i-- ) // do this 3 times
Sleep( time / 3 ); // wait for 1/3 of the time
std::cout << "."; // print out a dot
}
oonmm 1 year ago
make it to change color to! (with "color A" to "color F" and "color 1" to "color 9") ;)
TheTiirp21 1 year ago
How did you make it load and save game data? Could you provide a link?
xXTheRush905Xx 2 months ago
How did you get it so that you can save, and load game data?
xXTheRush905Xx 2 months ago
How did you make the loading effect?
ChaseandDonny 1 year ago
@ChaseandDonny You'll need to include "Windows.h" for it to work, then just make a function which wait for the time you send as parameter, here's a working function for that:
void loading( int time ) // 1000 = 1 second
{
for( int i = 3; i > 0; i-- ) // do this 3 times
{
Sleep( time / 3 ); // wait for 1/3 of the time
std::cout << "."; // print out a dot
}
}
oonmm 1 year ago
make it to change color to! (with "color A" to "color F" and "color 1" to "color 9") ;)
TheTiirp21 1 year ago