Merged code for own map and player sprite. Commented out no more used code from example.