Page 1 of 1

amoeba grows too fast

Posted: Thu Jan 04, 2018 9:19 am
by greyhead
regardless of "game speed". how can I set the growth rate of amoeba?

Re: amoeba grows too fast

Posted: Mon Jan 08, 2018 11:09 am
by Holger
In the level editor, select the amoeba element, click "properties", click "config", then change growth speed! :-)

Re: amoeba grows too fast

Posted: Tue Jan 16, 2018 12:30 pm
by greyhead
but I can't save changes because "level is reаd only" :|

Re: amoeba grows too fast

Posted: Fri Jan 19, 2018 4:07 pm
by Holger
Yep, that's right for all level sets included in the distribution package, and it's for the following reason: If you upgrade to a new version, it overwrites the old version, which would also overwrite your changed levels. Besides that, user data should generally not be written to the program installation directory, but to the user's home directory.

But of course you can edit those levels if you want; just do either of the following two:

1. The quick and dirty way:

Ignore the "read only" warning when entering the level editor, edit the level and press "save". You are now asked if the modified level should be added to your personal level set. This is useful for testing things with single level files, but probably not for systematically changing levels in a complete set. (Besides this, there are still some minor quirks with that approach, like not changing the current level set to your personal level set after saving, which would probably be a good idea.)

2. The more systematic way:

Just copy that whole level set from the program's "levels" sub-directory to your personal "levels" sub-directory inside your personal R'n'D directory (look at the "Download" page for some more details where to find it). You should rename the level set directory, as it is used as some sort of "primary key" when running the game. So simply do something like renaming "classic_sokoban" to "my_classic_sokoban", for example. You might also want to edit the "levelinfo.conf" file inside that directory, to change the line "name: Sokoban" to something like "My Sokoban", for example -- just to make it easier to identify the new level set inside the game.

Hope that works for you! :-)

Re: amoeba grows too fast

Posted: Fri Jan 19, 2018 6:56 pm
by filbo
(I find the idea of Sokoban levels with amoeba frightening... : )

Re: amoeba grows too fast

Posted: Fri Jan 19, 2018 6:57 pm
by filbo
(perhaps also somewhat intriguing...)

Re: amoeba grows too fast

Posted: Sat Jan 20, 2018 12:35 am
by Holger
Now that I think about it... yes, "Sokoban" was a bad example in this context! :-D

Re: amoeba grows too fast

Posted: Sat Jan 20, 2018 7:30 am
by greyhead
thanks!

Re: amoeba grows too fast

Posted: Mon Jan 22, 2018 4:22 pm
by Holger
P.S.:

I was reminded that there is a third way to edit "read only" levels, and although I do not recommend it for the reasons mentioned in my post with the two other solutions to the problem, I will add it here for the sake of completeness:

3. The quick and even more dirty way:

Add a line "readonly: false" to the file "levelinfo.conf" of the level set you want to edit.

But as said, I would recommend solution "2". :-)