lordmauve / pgzero

A zero-boilerplate games programming framework for Python 3, based on Pygame.
https://pygame-zero.readthedocs.io/
GNU Lesser General Public License v3.0
536 stars 189 forks source link

Get Error: name 'storage' is not defined #256

Closed staatzstreich closed 3 years ago

staatzstreich commented 3 years ago

Hello,

i am new to python and pgzero... I found out that the wasabi2D engine has this feature with "storage" I added storage = {} bevor and I could start the game

https://github.com/lordmauve/pgzero/blob/5b32a183969af329aefe090198cc7f73efdf3c9f/examples/flappybird/flappybird.py#L20

MandiYang commented 3 years ago

Which version of pgzero are you using??????

staatzstreich commented 3 years ago

I am using 1.2.1 and the code is from master branch

MandiYang commented 3 years ago

Your problem is solved. Use pgzero version 1.3dev from master branch