added constant or directional gravity which can be stored in the level json file or changed via level script file