Added variable choice between topdown and platformer