Container baseball with text

I’m trying to port this game:

So far I have:

function newBaseball () is failing to add a baseball container with text.
This is my first attempt at Phaser after the intro tutorials. Thanks.

Hello, you are trying to use “this” (the scene) in a function not bound to it.
You have to pass it as parameter or call it with context. Try…

1 Like