Skip to main content

DevBlog#43 - Game

     Networking for the game has been tested, and it is a bag of mixed news. Here is how this post will go, I will first go over networking-based updates, then game updates, and then future updates. Here It goes.

    Networking Updates:

    1) Lobby System: Firstly, this aspect of the game works well. Players can create a lobby then receive a code they can use to invite other people to their lobby. Once there the clients are created and in the same game together. They get the same map when playing, and things like placing buildings (Building data not shared, and prefabs, not displayed) work (tech tree allows research for cards, cards place, and tiles update values globally for all players to see).

    2) Client Side Code: The client-side code works for the most part. The years don't seem to update visually for the client but do for the server, but almost everything else works. The tech tree, card placements, building placements, etc. All works very well on single players, and working on making these impacts/actions global.

    3) Server Side Code: The interval system is now working keeping track of intervals, and properly updating everyone else when the server says a new interval passed. Additionally, map gen and client-side creation also work.

    4) Client-to-Client Code: This part is not working yet. I have not yet implemented a way for a player to interact with another player due to the information not being shared with each other on things like building creation. This, however, should work once I have the info updated and shared globally.

    General Updates:

    1) 3D Models: I am working on my blender skills, and making some 3D models for the game, I am now working on making the library which will provide tech points and can be manipulated by religion and other factors. This means when I create the building multiple systems will need to be built up around it for the game to fully function.

    2) GitHub Updates: I have made my workflow a whole lot better by simplifying my current GitHub setup. Now I can push and pull and test the multiplayer systems with incredible ease. What a relief it has been.

    Plans for the Future:

    1) Models/Art: I will keep working on the buildings, units, tiles, and more trying to make the game fully functional and ready for playtesting as soon as possible.

    2) Sound/Music: I have struck a deal with one of my musician friends who will make all of the music for my game for a small commission/percentage of the profits. This works perfectly for me as I can not make music at all. He will own the music, and I will effectively license the music for 10% of the profit I generate off of Steam when it goes up for sale.

    3) Combat Mechanics: I have fully developed the combat system. It will be turn and luck based much like the rest of my game. When someone starts the battle both sides tally their total attack points. Based on their percentage of the total combined attack points, odds are given for the winner of the battle. Dice are then rolled, and the winner is decided. The winner's troops each do one round of damage to the loser's troops. Once the damage has been dulled out, the loser gets to decide if they wish to retreat or if they want to roll the dice again for another round of combat. This is repeated until the battle is complete, and the victor has been chosen.

    Conclusion: Multiplayer games honestly suck to make, and I should have made a smaller game as my first actual self-made game. However, I learn the best when I am in the thick of it, so I am sure the rewarded insight and knowledge will be incredibly worth it.

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...