stable for demo. added player and player collision.