Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/tutorials/platform_tutorial/step_10.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ our score. This will just be an integer initially set to 0. We will set this in
self.score = 0

# Within setup
self.gui_camera = arcade.SimpleCamera(viewport=(0, 0, width, height))
self.gui_camera = arcade.Camera2D()
self.score = 0

Now we can go into our ``on_update`` function, and when the player collects a coin, we can increment our score variable.
Expand Down
Loading