nimgame2 icon indicating copy to clipboard operation
nimgame2 copied to clipboard

Deprecation warning while compiling bounce tutorial game

Open wizzardx opened this issue 6 years ago • 3 comments

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.

wizzardx avatar Sep 14 '19 10:09 wizzardx

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

Vladar4 avatar Sep 15 '19 10:09 Vladar4

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?

wizzardx avatar Sep 15 '19 11:09 wizzardx

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.

Vladar4 avatar Sep 15 '19 11:09 Vladar4