The workers, when you assign them, you are actually assigning a worker to a task that comes in, so when that person leaves, the place you assigned him to, actually loses a worker, so its not random, perhaps not the best way to do it tho.
also, the high crime is because you are not protecting their houses with guard towers
the height issue, I could maybe take it down a bit less than 768, but I woudln't want to go down to 800x600, just not enough UI space. Of course a resolution chooser would be the ultimate answer.
As for the tutorial, that is def going to be the first thing I add, guess the 'hovers' were no where near as helpful as I thought they would be :( Just waiting for them to say it compiles on their judge's vm before I add new features :)
Here is a link to a windows build for my entry, Villages, I can't find a way to get cmake to get an all-in-one download for linux (you need to have all 4 SDL packages installed to run), so I didn't bother to provide that. If you know a solution to my problem, please let me know!
I've made a few commits since I submitted, but they have only been to the cmake file and the text files (COPYING etc) that the LPC required (COPYING etc were in the zip file I submitted, but I had not commited them before to the repo) There have been no 'code' C++ etc changes.
the cmake changes are 1) it copies over the title.mp3 file to the build directory's data/music folder (title.mp3 is already there in the main data/music folder), and of course 2) hopefully *crosses fingers* fixes the build issues you were having. The changes I made for (2) let me build it on my copy of your vm at least.
if doing the above would be against the rules, I can either re-post with the new cmake file attached, or even outline the exact lines that need to be changed in the cmake file :)
- Extract Villages.zip
- Open CMake
- For the path to source, use the base directory of the villages directory (ie, this directory has the src, assests, data, etc folders)
- For the build directory, choose the build/linux/ directory
- Click the compile button
- Select Unix Makefiles
- Keep 'Use default native compilers' option selected
- click Finish
If you installed SDL in the base directory, all the paths should auto-resolve. If for some reason they do not, then you will have to browse for the proper paths.
- Click Generate
Navigate to the build/linux directory with a command line
*note, as part of the cmake generate command, the data/ folder should have been copied in here*
- use the make command with no additional parameters
* there are a few warnings, but there should be no errors*
any news on if I can post my change? its just a few lines changed to the cmake file....
were you able to get villages running from my change?
thanks for the suggestions guys :)
The workers, when you assign them, you are actually assigning a worker to a task that comes in, so when that person leaves, the place you assigned him to, actually loses a worker, so its not random, perhaps not the best way to do it tho.
also, the high crime is because you are not protecting their houses with guard towers
the height issue, I could maybe take it down a bit less than 768, but I woudln't want to go down to 800x600, just not enough UI space. Of course a resolution chooser would be the ultimate answer.
As for the tutorial, that is def going to be the first thing I add, guess the 'hovers' were no where near as helpful as I thought they would be :( Just waiting for them to say it compiles on their judge's vm before I add new features :)
Here is a link to a windows build for my entry, Villages, I can't find a way to get cmake to get an all-in-one download for linux (you need to have all 4 SDL packages installed to run), so I didn't bother to provide that. If you know a solution to my problem, please let me know!
EDIT: Now have windows and linux downloads!
http://holzumdesigns.com/villages/villages-downloads/
I think I fixed the problem botanic. Would it be possible for you to do a repull from my git repo?
https://github.com/rwhwilliam/LPC
I've made a few commits since I submitted, but they have only been to the cmake file and the text files (COPYING etc) that the LPC required (COPYING etc were in the zip file I submitted, but I had not commited them before to the repo) There have been no 'code' C++ etc changes.
the cmake changes are 1) it copies over the title.mp3 file to the build directory's data/music folder (title.mp3 is already there in the main data/music folder), and of course 2) hopefully *crosses fingers* fixes the build issues you were having. The changes I made for (2) let me build it on my copy of your vm at least.
if doing the above would be against the rules, I can either re-post with the new cmake file attached, or even outline the exact lines that need to be changed in the cmake file :)
also, maybe this will help with villages:
sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev
is this a 64bit vm?
I tried running your Ubuntu vm, but it just sits on a black screen
When will that link work for I can download your vm? :)
nvm, just edited the url a bit and got it to work :)
For Villages: -Have SDL 1.2 installed in the 'default' location (http://www.libsdl.org/download-1.2.php)- Have SDL-image installed -
http://www.libsdl.org/projects/SDL_image/
- have SDL-ttf installed -
http://www.libsdl.org/projects/SDL_ttf/
- have SDL_mixer installed -
http://www.libsdl.org/projects/SDL_mixer/
-Install CMake (http://www.cmake.org/cmake/resources/software.html)
- Extract Villages.zip
- Open CMake
- For the path to source, use the base directory of the villages directory (ie, this directory has the src, assests, data, etc folders)
- For the build directory, choose the build/linux/ directory
- Click the compile button
- Select Unix Makefiles
- Keep 'Use default native compilers' option selected
- click Finish
If you installed SDL in the base directory, all the paths should auto-resolve. If for some reason they do not, then you will have to browse for the proper paths.
- Click Generate
Navigate to the build/linux directory with a command line
*note, as part of the cmake generate command, the data/ folder should have been copied in here*
- use the make command with no additional parameters
* there are a few warnings, but there should be no errors*
- Execute Villages
Pages