Skip to main content

DevBlog # 10 - Game

     Man lucky number 10, feels like just a week or two ago that I started this thing. Oh... wait, it was!

    Today I worked on a very intimidating task. Connecting on of the independent frameworks that I have made work together and function as a family unit. This was and is not an easy task mind you. I have been working on this for hours, and yet I still have no idea if it works at all.

    The first thing I did was work on the scriptable objects for the cards, techs, and buildings. I made it so that now we can customize the types of tiles the buildings can be placed on and can customize even more about the other scripts. I made it so that you can check a bunch of bools for more information about what unit you are creating. For example, you can determine if the unit can mount, be upgraded, if so to what, is it ranged, naval, diplomat, religious, land, or siege. Furthermore, what about the stats, unit costs, can it merge and so much more. 

    I also created a system using the build and card script that will help me determine the types of buildings that can be placed by each of the cards. This script takes a raycast of where you are currently looking and grabs the data from the current game object that you are placing from its building script to see where it can be placed. I then added this system to the recently created player script.

    The player script will allow players to draw cards, keep track of turns and eras, and much much more. Furthermore, I created scripts for cities making it so that each city can store info about its self, like the religious followers, dominant religion, loyalty, etc. when the cards are drawn by the player, the player will then click one of the cards on the screen. This card then has its info sent to the placement script where you choose where to place the buildings based on their requirements determined by their buildings script.

    I also refined the system for the dealing of cards. We drop in all of the action cards into one main dealer script which then refines and sorts the cards into their respective categories, and then has the game draw from them with the odds being determined by the government class. Then the chosen cards are added to an array of action and event card slots, where their position becomes the slots position displaying them on the UI in a more physical sense. I then realized that every time new techs are researched the cards will be then sorted again creating duplicates which would mess with the odds of the dealing, so I made it so that once a card is sorted, then it is deleted from the array.

    In the end, this is a incredible journey and an incredible experience, and if you are interested in making games by either yourself, or like me with my friends my best advice is just to get started. The more you put off learning, the less you are going to learn and progress in this journey.

    Good bye yal, love ya!

Comments

Popular posts from this blog

DevBlog #4 - Fintech Platform

Progress Update (Life): 1) Just a quick update, nailed my forensics test (Monday) with a 93%. 2) Nailed my Calc exam (Applications of Derivatives: 92%, Function Analysis: 82%) 3) I have my AP Macroeconomics tomorrow with AP Psych right after that. 4) Next week I have finals for AP Mirco, AP Calc, AP Psych, AP Computer Science A, Forensics, and Langauge Arts. 5) What this means is that progress updates are going to be taking place at irregular intervals until everything settles, so sorry in advance. Progress Updates (Fintech Platform): 1) I have the connection to MongoDB established and have data being added to the DB from the signup forms. Data is taken from the forms, encrypted, and then sent to the database for storage. At the moment only the password is encrypted but I might change that. This means that I can begin moving to the next thing. At least once I fix a small little bug. Currently, it goes to a test DB and not the DB for this current project. I am going to have to figure ou...

DevBlog #23 - Game

      Today, a lot of cool things happened that have a drastic effect on the game and its systems. You can now add several effects to a single card. Each effect has their own duration, amount, type, requirements, etc. All one incredible system. This required me to rewrite a bunch of the cardEffectController script but was worth it. I now also have cities seeing and recognizing their effects and the buildings effects on them too. In addition to this, I also added the population growth system and the population feeding system. This allows the cities to grow and prosper.     I have added some more cards, and have been adding in all of the effects that the cards have on the world.      Pretty neat stuff.      I am going away to camp for 3 weeks so I don't know if I will be able to post or even work on it, but I will do my best to keep you updated on the game and on any changes as they come.     Thank you so much, bye...

DevBlog #19 - Game

      Today, I made a huge amount of visual progress. However this visual progress was easy to implement, so very little back end progress, as I had built it in a way to easily implement this new feature.     I have made building possible. I have also made all of the buildings and their effects happen in the game. It is response, and works very well in the MVP demo. However, I am going to change how it looks from a system where you drop the card and then your done, to a system pops up and allows you to build it. This system will show you a green, transparent, ghost game object for you to place, then once it has been placed it will turn int the real thing. You will also be able to drag and drop from the UI bar at the bottom the buildings that you an construct from the card you have chosen. This will look really intuitive and pretty, but will be simple and easy to implement.     This is a pretty big day as now I can actually do things on the...