Skip to content

Commit

Permalink
Corrected argument for BufferedRenderer in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
raiyankamal authored Jan 8, 2023
1 parent 07f1586 commit 82e40d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ tmx_data = load_pygame("desert.tmx")

# Make the scrolling layer
map_layer = pyscroll.BufferedRenderer(
map_data=pyscroll.TiledMapData(tmx_data),
screen_size=(400,400),
data=pyscroll.TiledMapData(tmx_data),
size=(400,400),
)

# make the pygame SpriteGroup with a scrolling map
Expand Down

0 comments on commit 82e40d2

Please sign in to comment.