Category: Prototyping


  • Prototype 1

    Breaking down what you’re seeing:

    • Drag & Drop Mechanic
      • One of the first mechanics / features that I needed to develop was the drag and drop mechanic. Using the already planned UI grey box I created a simple layout in unity and began work on developing the drag and drop mechanic between the characters and the camps that they will be assigned to. Whilst creating this script I noticed that having to drag characters around to reset their location was tedious. As such, I implemented an automatic location reset if the character is not dropped within a camp. Also, the characters that are already in the camps are able to be reset by just the click of a mouse, instead of dragging it all the way back.
    • Resource Tracker
      • As the game is a resource management game I felt it necessary to tackle this mechanic early on so that I could get as much feedback and bug testing done in the remaining weeks. Simply, each character can be placed in each camp, once a character is placed in a camp and the end day button is pressed the resources section is updated and tracks how much resources should have been collected. It’s a very simple script that will need to be updated as I develop character specific benefits / skills that change how much resources are received each day.
    • Progression Buttons
      • There’s not much to say with the progression buttons. The ‘End Day’ button was simple to implement as unity has built in buttons that do all the work for you. It was similar for the ‘Progress’ button, same implementation. I wrote a simple script that just greys out either of the buttons when they cannot be in use and added a gamemanger to detect when they have been pressed to then update the game scene accordingly.
    • Scene Changer
      • This was the one implementation that stumped we for a while. I have never in my previous games or experiments had to change scenes through a button or change to a different scene all together. Such a simple switch should’ve been very easy. However, what I failed to realise is that I was using an up to date version of unity, what this means is that some of the websites and threads I was using to find any help was outdated. Luckily after playing around with build profiles I finally worked out how to set two scenes that can be switched between if called correctly in a gamemanger script.