Game scripting and animation