Is it possible to refer to a variable dynamically? Eg:
player.("variable"&(1+2))
Would result in
player.variable3
Develop games in your browser. Powerful, performant & highly capable.