Video games draw inspiration from all sorts of places and it's not unusual for feature films to work together with the gaming industry. Licensed video games that are tie-ins with movies have been around since the '70s and they've resulted in a mixed bag of quality that ranges from success stories like GoldenEye 007 and embarrassing experiments like E.T. The Extraterrestrial.
Source:https://www.cbr.com/licensed-canon-video-games-franchises/