Vladar4 / nimgame2

A simple 2D game engine for Nim language.
Other
174 stars 16 forks source link

Deprecation warning while compiling bounce tutorial game #31

Open wizzardx opened 5 years ago

wizzardx commented 5 years ago

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 commented 5 years ago

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

wizzardx commented 5 years ago

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 commented 5 years ago

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.