We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7f2b35 commit 5d7fc59Copy full SHA for 5d7fc59
examples/python/basic.py
@@ -41,7 +41,7 @@
41
# If not specified default doom2 maps will be used and it's pretty much useles... unless you want to play doom.
42
game.set_doom_scenario_path("../../scenarios/basic.wad")
43
44
-# Set map to start (scenario .wad files can contain many maps).
+# Sets map to start (scenario .wad files can contain many maps).
45
game.set_doom_map("map01")
46
47
# Sets resolution. Default is 320X240
@@ -74,6 +74,10 @@
74
# Makes the window appear (turned on by default)
75
game.set_window_visible(True)
76
77
+
78
+# Sets the livin reward (for each move) to -1
79
+game.set_living_reward(-1)
80
81
# Initialize the game. Further configuration won't take any effect from now on.
82
game.init()
83
0 commit comments