In todays devblog I will talk about todays progress. As it has only been a day my progress has changed very little, however, that does not mean that I haven't learned anything.
First things first I worked on the camera controller. Now when zooming you can only zoom in a fixed amount and zoom out a fixed amount. Sweet, great, that's fantastic, what's next you might ask. Well that one thing right there took me 45 minutes. 45 MINUTES!! How does that happen. I will tell you this you only do programming if you really love it.
Next, the second thing I worked on was making the map now able to generate some new terrain objects. I can now generate "rocks", "boulders" and "cacti". I also made rocks generate on the plains and the mountain tiles, whereas, the boulders only spawn on the mountain tiles. The important thing to remember is that these terrain objects are not just for decoration, but will actually provide you with resources when you use scavenging based cards. The rocks and boulders will provide you with gold and silver, while the plants and stuff will provide you with food.
Lastly, I also attempted to optimize the code, and the program itself so that it would run smoother, however, it did not work. I thought that if I disabled the colliders on game objects if they where out of sight, it would increase performance, however, it did not work like that. So optimization will be worked on later as I want to keep progressing with game play based functionality for now.
So long! See you tomorrow!

Comments
Post a Comment