Got a relatively large amount of work done today! I not only got the road system to work, showing the proper graphics when roads meet and everything, but I’m also almost done with the zoom in/out feature. Currently everything already placed resizes correctly, and so far it looks like all collisions work and the ‘snap-to’ grid is resized as well. The only thing left now is placing new stuff which really boils down to an entire other half of the system, where all created images in the system use the current system’s zoom level. That is all for now!
Spent most the day re-sizing the images to 32×32 multiples and then push onto work on the road factory. I’m hoping to finish road and get the zoom feature done tomorrow. Only time will tell though.
I was able to get a scrolled map to still report collisions correctly and am in the process of getting a 32px snap-to-grid implemented. Hopefully tomorrow I will be able to finally implement roads. I’m making pretty good progress on the list of things I wanted to get done, but there is little chance I will get extra stuff done. Hopefully that outlook changes tomorrow.
Added road images which comprised of around 15 different images. I also started work on the road algorithms but really did not get far.
No Code changes again today. I did do so planning for the coming days though. Hopefully I will be able to get a lot accomplished in the next few days. Hopeful feature include
– Road placement
– Change all placement to ‘snap-to-grid’ with tile sizes of 32
– Zoom in/out
– Have collisions work with scrolling
– Add population including adding, leaving, assigning to job
Not a bad list. I’ll hopefully get a lot more than even that done, but that would be a nice minimum. I’m thinking that with the snap to grid, all roads will be made of 32×32 tiles. They will be told at creation what type of image they show (T intersection, intersection, vertical, horizontal, etc). I think I’ll also have to resize all the images so they are multiples of 32×32 just to make things look better on the map.
Short update today, but a whole lot of progress. I was able to add all the buildings in the game and it all works in windows and linux!
No Progress today 🙁
Was able to completely finish all the building images today. The process of adding them to the game should be trivial then I can start moving onto the main algorithms that will have to be balanced in the game. I only hope I can get them implemented with sufficient time to try to balance it all and route out the more obvious bugs.
No code changes were made today, but I did set up images for some of the buildings. Not as great as I had hoped, but I’m pretty sure I’ll be able to place all buildings on the map by the end of tomorrow. A lot of the hold up has been from trying to create buildings from the very limited amount of images provided in the contest.
Today was the day of mining camps and Wood Mills. Wood Mills and mining camps have to be within a certain distance of their respective map tiles to be place-able on the map. Beyond that the rest of the day was dedicated to fixing bugs and updating collisions checks. Hopefully tomorrow I will be able to get the rest of the buildings into the game. The main challenge in getting this done will be getting images for all the buildings out of the limited set of provided graphics. Hopefully all will go well and I will be able to post screenshots tomorrow!