Skip to content

Instantly share code, notes, and snippets.

@piEsposito
Last active January 21, 2020 00:10
Show Gist options
  • Save piEsposito/42e1eb876012658a55152b89ca6c257d to your computer and use it in GitHub Desktop.
Save piEsposito/42e1eb876012658a55152b89ca6c257d to your computer and use it in GitHub Desktop.
#Doom game assets: game env creation and frame resize functiom
#We are using the config and scenario paths from Thomas Simonini tutorial
#Those files are available on my GitHub repo from the post.
game = DoomGame()
game.load_config("health_gathering.cfg")
game.set_doom_scenario_path("health_gathering.wad")
game.set_seed(42)
game.init()
doom_actions = np.identity(3, dtype=int).tolist()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment