Commented code with explanations, optimized some code
Solved error with distance from pointer to joystick center calculation
Changed some properties of the Character class to parameters, changed some character actions to functions, changed the joystick scale factor
Prevented joystick from being moved when the pointer that was used for it is down outside its radius, adjusted joystick scale factor
Added 'dead' game state, improved screen size adaption
Solved problem with game window height when on big screens
Improved screen adaption
Solved problem with joystick angle measurement
Joystick fully functional now, with x movement and jump
Made the joystick movement required for jumping smaller, changed dead text
Added the transparent joystick images (neccesary in commits before this one)
Added the dead state file (neccesary in commits before this one)
Solved merge conflict