From 8847733f0d78e2738b955521ed09316f9a9bf756 Mon Sep 17 00:00:00 2001 From: Glyph Date: Thu, 21 Sep 2023 11:56:39 -0700 Subject: [PATCH] Update README.md these parameters are misnamed --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 20d6311..4a47e58 100644 --- a/README.md +++ b/README.md @@ -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