I can't use parallax gameref in vscode

23 views Asked by At

enter image description here I just try to make game for my term project everything's just fine and then about the background parts I use parallax to make it can scroll but I can't use to make it works so that I can minimize it at any size when it tests, and the background does not mess up when resize. I don't know how to solve this problem.

1

There are 1 answers

0
spydon On

You have to add the HasGameRef mixin to your component to be able to use gameRef.