main_character.rb
#initialize and set x and y properties
initialize and set x and y properties
initialize and set x and y properties
def move_right
    @sprite = @spriteArr[8]
    @x += @velocity
    @moving = true
  end
def move_right @sprite = @spriteArr [ 8 ] @x += @velocity @moving = true end
initialize and set x and y properties
initialize and set x and y properties