Snakes and ladders GuideMe tease generator
Posted: Tue Jan 05, 2016 10:51 pm
I noticed there are quite a few snake and ladders teases released recently and i noticed that they are easily created. So i made i generator for them. It's script written in Python 2 and all you have to do is to run the gen and place images you want each page to have in a folder.
The generator is quite simple. You can easily edit how many pages should the game have (100 is default), how many of that are ladders and how many snakes which means how easy or hard the tease will be. You can also change some minor stuff like how far can snakes or ladders bring you or if they can chain (ladder/snake leading directly to another ladder or snake).
Some other detailed semi-dev info:
So here is what you have to do to generate your very own snakes and ladders tease:
Edit: As a bonus include python script which renames all *.jpg images in same folder where its ran to N.jpg where N is 0, 1, 2.. The images are shuffled in proccess! So just download all images you want into "imgs" folder, place there this script and run it. They will be shuffled and named to be accepted by the tease ;) You can download it here or here.
Edit 2: Scripts updated. Links in post updated to reflect it. Changelog:
The generator is quite simple. You can easily edit how many pages should the game have (100 is default), how many of that are ladders and how many snakes which means how easy or hard the tease will be. You can also change some minor stuff like how far can snakes or ladders bring you or if they can chain (ladder/snake leading directly to another ladder or snake).
Some other detailed semi-dev info:
- Spoiler: show
So here is what you have to do to generate your very own snakes and ladders tease:
- Get Python 2 here
- Download the script to generate the tease here
- Run the script (either by double clicking or opening command line, enter folder with the script and then run it by typing "py gen.py")
- In the folder where your script is there should be new file created called "ladders.xml", that is your generated tease
- Create a new folder in the same folder called "imgs" and place there images in format N.jpg where N is 0, 1, 2, 3 ...., 11, 12... etc. each number for 1 page in your tease (notice it starts from 0! the pages in tease are moved by 1 so page 5 displays on page 6.)
- Load the ladders.xml to GuideMe and enjoy
Edit: As a bonus include python script which renames all *.jpg images in same folder where its ran to N.jpg where N is 0, 1, 2.. The images are shuffled in proccess! So just download all images you want into "imgs" folder, place there this script and run it. They will be shuffled and named to be accepted by the tease ;) You can download it here or here.
Edit 2: Scripts updated. Links in post updated to reflect it. Changelog:
- Spoiler: show