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

Deprecation warning while compiling bounce tutorial game #31

Open
wizzardx opened this issue Sep 14, 2019 · 3 comments
Open

Deprecation warning while compiling bounce tutorial game #31

wizzardx opened this issue Sep 14, 2019 · 3 comments

Comments

@wizzardx
Copy link

In tutorial 1, for title.nim and main.nim near the start, the user is instructed to use an init() proc, but the compiler gives a deprecation warning that you should use initScene instead.

@Vladar4
Copy link
Owner

Vladar4 commented Sep 15, 2019

It looks like you are using devel branch of the engine, while reading master (stable) branch tutorial.

@wizzardx
Copy link
Author

I'm following docs which I can reach online:

https://vladar4.github.io/nimgame2/tut101_bounce.html
https://github.com/Vladar4/nimgame2/

Which is what leads me to the compiler warning.

Is there a different, preferable set of links I should be using?

eg, maybe the website can give install instructions for the nimgame2 version which matches the online docs?

@Vladar4
Copy link
Owner

Vladar4 commented Sep 15, 2019

For now just download and use devel's docs directory: https://github.com/Vladar4/nimgame2/tree/devel/docs

Once the new version will be released, the site will be updated automatically as well.

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

2 participants