how do you change a string to all lowercase letters, but still be a string? i know tolower will take a char from a string and make sure its lowercase, but how do you put it back into the string , or a new one? i dont want to force the player to only type commands in lowercase. i want to be able to handle either or both as well.
also is there a way to setupHow can set up time elapsed based events separate from the game loop? i
I want the character to heal over real time rather than per cycle of the game loop. how How might i do that?
thanks