Was finally able to finish the zoom feature of the game and have moved onto the actual population. Now that I think about it, this part of the process is more than just algorithms, I have to make a series of UI’s as well. I remember having the silly idea of finishing all this in 2 weeks, to leave room for other things at the end of the contest. Well it looks more like I’m now going to have a ‘deliverable’ release monday morning. Hopefully I can get some testing by some friends monday/tuesday, and still get in a working/enjoyable submition by Tuesday night!.
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.