Skip to main content

DevBlog #1 - Game

     Programming is going along relatively smoothly as I have made a substantial amount of progress in just a couple of days. I have created a system that generates realistic looking terrain formations that are based on perlin noise. I created a system that creates a bunch of hexagon tiles in a giant square (I am working on changing it from a square and into a giant hex board), and then uses perlin noise to generate a y value at the exact center of the tile. This Y value is then used to determine which type of tile it is going to be (Deep Sea, Shallow Sea, Sand/Desert/Beach, Plains, Mountains). 



    I then used a random number generator and a small frequency generator to place terrain objects like rocks, trees, and bushes onto the tiles that are supposed to have them on it. The picture below looks horrendous and the picture above looks pretty bad too, but all of it is place holder art used to see proof of concept. This is what it looks like with "bushes" and "trees".


    In addition to making the terrain generation system my friend and our studio's lead artist came up with some pretty cool concept art that helped us nail down the exact look of the game that we where going for. 


    The last thing I worked on for programming was the creation of a camera controller. The camera, much like other games in similar genres, allows you to pan, zoom, and rotate with both the mouse and the keyboard. Unfortunately their is no good image as it was just code. Promise to have a better one next time.

    The last thing that I worked on was setting up a system that would allow me and my friends to all work on our game. We where initially going to hook up unity's built in collaboration tool but that had changed since we last used it. Now we would have had to pay if we went over 3 users, or 5GB. Naturally this was not going to work so I escalated to the absolute max. I connected our game to GitHub and created a repository that would allow as many people as I wanted to be able to work on our game when ever we wanted. All they had to do was connect to it with GitHub and then manually download and upload to GitHub when they had changes or wanted a newer version. In the end I personally think that this is a better solution as it is easier, but most importantly free!

    Hopefully I will have more to share in the upcoming YouTube devlog that I will be releasing, but if not you can always keep coming back to read my blog.

    See ya!

Comments

Popular posts from this blog

DevBlog #41 - Game

    More progress has been made, and I feel like a million bucks because of this game.     1) Tech Tree Restructuring: I have switched my 1D list to a 2D list so that I can store all of the data about the branches and their different techs in each era. I have made it so that you can smart scroll through eras and through each tech category. Once researching the first tech, settlement, you can then get access to all other tech categories (Military, religious, education, industrial, etc), and each tech in that tree for each era. At the bottom, you can press a button to increase or decrease the era that you want to view. However, you can only increase up to a certain point, either the max of era 3 or the furthest era that branch goes to. This makes the tech tree feel a lot more advanced and less crowded.     2) Auction House: I have now got the viewing system working for all of the cards in the auction house, as well as the system to reassign who it is that is ...

DevBlog #18 - Game

      Today, I spent 10 hours working on the ability for a user to select a card, then a tile, the hit the card again in order to use it if it is tile specific. However, this idea sucks, and I don't like. Tomorrow I am going to go back and change the entire system. Instead you are going to drag the card to where you want it to go, then release it on the tile you want the effect to take place. This will then apply the effect to that tile. This way it is one click and not 3, and is also more interactive for the users. Furthermore, I wont have to convey to the user that certain cards are tile based, and some are not.     I also rewrote the terrain hex map generator script. I made the script completely modular, meaning that in the editor you can create an object to spawn on the terrain just by clicking a plus. You then plop in the model, the name, the description, the spawning frequencies, and the tiles that it can spawn on. Then for each tile that is generated it c...

DevBlog #5 - Game

      Hello, found out a solution to the problem that I was having yesterday. I have discovered the fabled perlin worms. We will use them by starting them off on high terrain values, and going to low terrain values changing every tile it touches into water tiles. This will create the effect of rivers.     Easy money!     Thats all for now, bye!