Skip to content

Commit

Permalink
Merge pull request #58 from glyph/patch-1
Browse files Browse the repository at this point in the history
README gives incorrect kwarg names for BufferedRenderer
  • Loading branch information
bitcraft authored Sep 22, 2023
2 parents a21fef8 + 8847733 commit 7ce82e4
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 @@ -115,8 +115,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 7ce82e4

Please sign in to comment.