Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mwydmuch committed Apr 18, 2016
2 parents 82177fe + 5d7fc59 commit 96447ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/python/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
# If not specified default doom2 maps will be used and it's pretty much useles... unless you want to play doom.
game.set_doom_scenario_path("../../scenarios/basic.wad")

# Set map to start (scenario .wad files can contain many maps).
# Sets map to start (scenario .wad files can contain many maps).
game.set_doom_map("map01")

# Sets resolution. Default is 320X240
Expand Down Expand Up @@ -74,6 +74,10 @@
# Makes the window appear (turned on by default)
game.set_window_visible(True)


# Sets the livin reward (for each move) to -1
game.set_living_reward(-1)

# Initialize the game. Further configuration won't take any effect from now on.
game.init()

Expand Down

0 comments on commit 96447ef

Please sign in to comment.