Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Former-commit-id: 96447ef
  • Loading branch information
mwydmuch committed Apr 18, 2016
2 parents 3c3529e + 8df3848 commit f6bd3a4
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 f6bd3a4

Please sign in to comment.