May-07-2019, 05:04 PM
You can use treading and have a jump and move function. I won't give you the actual code, but execute the move and jump. The jump consists of going up and then down. Use time.sleep to make the jump realistic. The threading is needed so the sleep won't affect the main. Used with the move function they can move and jump at the same time. If you want them to not move while jumping, just don't thread it.