> I don't think it makes sense for a game to be in someone's ~/.nimble/bin (or
> equivalent), and I don't expect anyone to use this project as a library.
Why not? If someone wants to play your game they may want to install it into
their PATH :)
> Can the user provide the name of a text file
Nimble is not just a package manager, it is also a build tool so if you want
something like requirements.txt, Nimble is the way. Many binaries are
distributed with Nimble since you can describe the dependencies with specific
versions or ranges.
It does not have to be installed into
Aren't Nimble packages supposed to be libraries and other tools, such as
nimterop's toast binary, that help people create code? I don't think it makes
sense for a game to be in someone's ~/.nimble/bin (or equivalent), and I don't
expect anyone to use this project as a library. Installing a game
thats why you should make it a proper nimble package.
Ah, right. The version of nimgame2 you currently have is either not from the
devel branch, or it was from the devel branch but is now too old.
Just run `nimble install nimgame2@#devel` to fix that. You'll also need to
update sdl2_nim or else you'll run into [this
last-gardener/src/pattern.nim(73, 16) Error: type mismatch: got
this one can be fixed by importing random, but then this error pops up.
last-gardener/src/scenes.nim(104, 9) Error: attempting to call undeclared
routine: 'initScene'
That's odd. Can you revert any changes you made and show me the compiler
errors? Also, what version of the Nim compiler are you using?
I tried compiling it in a Linux VM that initially didn't have Nim 1.0.4 in it
and it was successful, so the error message will be very helpful in figuring
out
doesn't compile. i tried fixing the errors, but each time a new pops up. you
probably pushed old version or missed some file.
Wow that looks really good!
I recently finished porting a game that a friend and I wrote together a few
years ago from Python to Nim, and I released the initial version (0.1.0) of
this port.
The game, which is titled The Last Gardener, was originally created for PyWeek
21, a week-long challenge in which submitted games
10 matches
Mail list logo