Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
these parameters are misnamed
  • Loading branch information
glyph authored Sep 21, 2023
1 parent a21fef8 commit 8847733
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 8847733

Please sign in to comment.