There is a slight problem with Myrtle’s position, she is on the grid lines rather than being in the center of the calls.
Let’s fix that.
Add the following to MoveObject.py
:
# MoveObject.py
class MoveObject:
def __init__(self, game, allowed_through_portal, start_position):
self.game = game
self.start_position = start_position
self.current_position = start_position
self.allowed_through_portal = allowed_through_portal
##
self.goto_start_position()
##