diff --git a/examples/python/basic.py b/examples/python/basic.py index 2cef62f05..adc52cddb 100755 --- a/examples/python/basic.py +++ b/examples/python/basic.py @@ -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 @@ -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()