You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It says to change the width and height, but for me the game constructor is called like so: new FlxGame(0, 0, MenuState). That's how it was when I called flixel tpl to get started (after changing PlayState to MenuState). So that line in the tutorial is a little confusing. It should either say to add arguments for width and height, or to edit the width and height arguments in Project.xml.
The text was updated successfully, but these errors were encountered:
Actually, the arguments aren't missing, they're just the 0s and not labeled unless your IDE shows constructor argument names on mouse-over. It would help to clarify that the 0s need to change, and also, since it's not obvious why changing width and height would make your game zoom, this tutorial should clarify that zooming is done automatically relative to the Project.xml width and height values.
Following the TurnBasedRPG tutorial, part 7 references width and height arguments that aren't yet provided by the template code:
here
It says to change the width and height, but for me the game constructor is called like so:
new FlxGame(0, 0, MenuState)
. That's how it was when I calledflixel tpl
to get started (after changing PlayState to MenuState). So that line in the tutorial is a little confusing. It should either say to add arguments for width and height, or to edit the width and height arguments in Project.xml.The text was updated successfully, but these errors were encountered: