Working on Our Game.

Working on Our Game.

Dev Diary #2


This week, me and Daniel finished creating our game 'Click to Pet!' Following my entry last week, I finished making the art and UI assets for the game as well as imported them into the Unity project file. Due to some communication issues between me and Daniel, as well as the deadline fast approaching, I made the decision to go ahead and program some scripts for the game myself. These scripts included the menu code, and the code that made the dog walk to the center of the screen, change the animation, wait to be clicked, change the animation once more and walk off screen before instantiating a new copy of the dog to repeat the process. Whilst I was able to code most of this myself, I decided to follow some online tutorials in order to add new features such as using a custom cursor. I felt adding these features made the game feel more personalized and unique as well as teaching me something new I can use for future games.

Some of the cursor icons as I was experimenting with colour

After compiling the scripts and putting the game together in Unity, Daniel got back to me with the code he'd been working on. Despite the fact we set out clear instructions on what he was going to program, the code he provided was completely different; a counter for how many times you've pet the dog. Thankfully, because of my impatience, we already had a set of code made for the core functions of having a dog walk across the screen, sit down, animation changes etc. Not wanting his efforts to go to waste, I found a way to integrate his code into what I had already made so that the counter will update to display how many times you've clicked to pet the dog. I figured it was, at least, a feature that might make our game more interesting/ playable.

With the last of the scripts complete, I finished adding the menu UI and exported it for Windows and HTML. After ensuring that the exported versions work, I set up a new itch.io account and created the game page as well as make an icon for the game and adding a background to make the page look nice. With this, I submitted the game and added Daniel as a collaborator, finalizing what we had been working on for the past 2 weeks.

If I were to complete this project again, I would ensure there was better communication between collaborators so that everyone knows what it is that they're working to complete. As well as this, I would ensure everyone knew what their roles were within the project so that the work is evenly split between people and wouldn't result in one person doing most of the work.