It is more than expected that an animated series will end up having its own game after being successful, as happened with Baku at Hero and Dragon Ball.
But the opposite happens too!
The greatest example of this is the epic Pokémon franchise, whose game was developed before the Ash and Pikachu anime.
Several other stories also followed the same path.

This

If you are interested in learning more about, check out the list prepared by MGG with 3 PC games and console that inspired anime.

NA NO ZUNI

Ni no Zuni is an RPG game franchise released in 2010, initially for Nintendo, in which the player joins the protagonist Oliver on a journey by a world inhabited by new friends and fierce enemies hoping to ing his mother back after a
tragic accident.
The anime style of the game is not occasional and was developed in partnership with Studio Ghibli, which later produced the animated series.
With an exciting narrative, impeccable visual experience of the producer behind irreverent films such as Chirico’s trip and engaging soundtrack, game-based animation has become a success and is available on Netflix.
In addition, Studio Ghibli also produced the franchise’s second game, NA Zuni II: Revenant Kingdom.
Launched in 2018, the game is available for PlayStation 4, Nintendo Switch, PC and Xbox Series X and Xbox Series One.

Steins Gate Elite (Classroom of Elite)

Steins Gate Elite originated the Anime Classroom of the Elite, available on Crunchyroll.
The game is available for PlayStation 4, Nintendo Switch, Windows and iOS platforms and was released internationally in 2019.
Have you ever thought about changing the past?
What if you knew of a group of young people who can do this using an email and a microwave?
This is the case of a group of laboratory youth in Steins Gate Elite.
But it is obvious that such an adventure comes out of control at some point, with teenagers challenging the timelines.
In the game, every choice that the gamer makes has its own consequence, giving a multiplicity of purposes.
The suspense anime follows the same group of students from the renowned college Tokyo Loud Hausa.
Kiyosaki, the protagonist, will end up in room 1-D, which houses the most problematic students of the school.

Persona 5 royal

A mask and the truth will be revealed.
This is the motto that defines persona 5!
Persona 5 Royal is an RPG with a deep narrative and unique visual style.
The player can explore Tokyo, use the Joker mask, and unlock new personas.

Filled with alternative finals, get ready for a unique experience.
Great robberies to infiltrate the minds of the corrupt wait for you in the game!
The game-based suspense anime is available on Crunchyroll and has the narrative started from Men Amalia.
About to start the second year of high school, Men’s persona awakens after an incident and everything changes.
He and his friends form the ghost thieves group, which seeks to investigate and steal the misrepresented wishes of corrupt adults to transform their character.
Persona 5 Royal is a game available for platforms: Nintendo Switch, PlayStation 5, PlayStation 4, Xbox Series X and Series S, Microsoft Windows.