Jump to content
  • Advertisement
  • entries
    32
  • comments
    0
  • views
    2831

Project: AI Legacy

Research Screen Complete

KrisWolfe

899 views

I honestly thought this would take me all weekend. But here we are.

image.png.8db14f022c5a149c1ab8292cb9d7d476.png

New button the tool bar. Research!

image.png.6698b6f833870a37826bc23f2e07e6f9.png

Not much to look at the moment. We have faded buttons for research that is not unlocked, and we have buttons for available research. This is clearly not going to be the researchs in the game, this is simply for testing. These buttons are hooked up to a database and enum that fills the buttons with whatever is in the database. I don't really want to spend the time to have it dynamically create the positions of the buttons, since I don't think it needs to be randomized or something...the research screen will likely be the same everytime. However, the order of the buttons in Unity will be the same, which I can use to fill the correct links to the correct research.

So, what happens when we click a button?

image.png.fe338615a259b922dad47d7437e704fd.png

The button fades and is not interactable, and a timer starts. The button actually sends a command to the data layer to handle the command, which is to switch research to whatever research I send down to the data layer. It then sends the research for my display to listen to, and on update it watches the time to unlock...what happens when the timer runs out?

image.png.ac7410b417f9bd2427f408cddfc63a92.png

The next research unlocks, and the Fire button is now permanently disabled. Awesome! The timer also continues when on other screens, since the data layer isn't apart of the display layer, and I can set the display layer to inactive when it's not needed.

So to polish this, we would need a tooltip to see requirements of research, maybe hints as to where to go to unlock research and so forth, and definitely things like multiple researches unlocked by a node or one node unlocking multiple researches...I want to section research into 4 categories of the 4 systems in the game (build, navigation, research, and combat). And we can also allow the player to scroll around and view the research tree, zoom out, so forth. But right now this works perfectly. I can change the research quickly, and none of the display changes the state of any of the research...it simply sends a command down to the data to ask them to switch, and it makes sure it is a valid command.

So we're onto the last system. Combat. In this, I wanted to play around with Unity's ECS system, see what shakes out. I will need a new building of a turret, to defend our colony. I expect this to take awhile, since I've never used ECS, so sounds like fun. Stay tuned!

 



0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Advertisement
  • Blog Entries

  • Similar Content

    • By HDR Games
      Yesterday I've published my new game to google play!
      I'm 16 years old and I will be very happy if you check my game and tell me what you think about it.
      It takes a minute to download and you won't regret it. Please let me know what you think in the comments.
      Best android game of the year! https://play.google.com/store/apps/details?id=com.HDRGames.FishTheFun
      Swim into the depths of the sea! Jump the highest and reach the sky. Beware of enemy fish, birds and obstacles. 
      1. Discover fish as you play!
      2. Buy fish to be able to play with them!
      3. Improve your best score to beat your friends'!
      4. Complete 100 quests to win rewards!
      5. Enter every day to receive daily rewards!
      6. Enjoy the sea, and Fish The Fun.
      Link to HDRGames website: http://hdrgames.sytes.net
      Link to HDRGames Instagram: https://www.instagram.com/hdr.games
      Watch the trailer: 
       



    • By COUNTING DEMON STUDIOS
      Devlog #4 showing the most recent updates to the game I've been working on in my spare time for about 2 years now.

      Any comments or suggestions are much appreciated!
       
    • By asmit10
      Read this first to not waste time
      Hey everyone! I'm basically brand new to game dev, specifically programming which is what I care to specialize in. Currently i'm working on a 3D Tile-based tower defense game in Unity. The plan is to plan for primary monetization on mobile, but it will come to PC too. I probably lack the most skills in the art department, primarily graphics work, but it's not like my modeling is great either. That being said, my main focus is programming so if you read further below and find yourself interested in the project and have a different interest, please let me know!
       
      Game Info
      TD Game ala Bloons TD
      Differences
      Towers are based on tiles pre-placed on a grid (plan to add ability to buy tiles, so that tile scarcity can be more of a part of level design)
      No Russian dolling of enemies, different enemies following a difficulty gradient
       flying enemies that normally follow a different path
      Misc
      Branching, occasionally choice making upgrade branches for each distinctly unique tower. (thinking something like 15 unique upgrades per turret, though that would be tough to come up with)
      Initially planning for 10 distinct level layouts not including an endless survival 'leaderboard' mode
      Seems like it would be silly to not include easy / medium / hard difficulties, just need to think of a way to reward the player for doing so
      Planning to have some long-term progression system. Maybe related to # of kills with a tower. Every 500 kills = 1% fire rate or something like that.
      All current art and models are place holders, screenshots of the project can be provided if you show interest
    • By Joey Nigro
      How can I automatically match the color with the tag?
    • By RoKabium Games
      Excluding the Minimap you can also use specific background relics and ancient structures as landmarks to keep track where you are. On Metis the background has some ancient Statues, temples, huts and caves that could be useful to remember specific locations.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!