Spellthorn / pixel_adventure

A Flutter and Flame project to make the game Pixel Adventure, a 2D Pixel Art Platformer.
129 stars 42 forks source link

Undefined name 'gameRef' #5

Open WFNeIn opened 11 months ago

WFNeIn commented 11 months ago

Undefined name 'gameRef'.

How to fix this error?

afhslll commented 10 months ago

I encountered this issue while following the tutorial video on Scrolling Background & Collecting Fruit. I replaced 'gameRef' with 'game'.