Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial pt. 7 references missing arguments #245

Open
NQNStudios opened this issue Jan 4, 2021 · 1 comment
Open

Tutorial pt. 7 references missing arguments #245

NQNStudios opened this issue Jan 4, 2021 · 1 comment

Comments

@NQNStudios
Copy link
Contributor

NQNStudios commented Jan 4, 2021

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 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.

@NQNStudios
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant