nimgame2
nimgame2 copied to clipboard
Deprecation warning while compiling bounce tutorial game
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.
It looks like you are using devel branch of the engine, while reading master (stable) branch tutorial.
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?
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.