Unity: Working on my game part 2
finished link : https://simmer.io/@AbigailGG/a-cat-s-journey-home
Setting up the collectables was quite easy, I just edited the scripts I had from Ruby's adventure and the script I made for the collectables in the platformer game.
I don't think I had much trouble with these.
Once the collectables were working I made a note of where I had placed the crystals and then set up the NPC and the CollectMangager script so that the crystals would instantiate when the NPC gives the guest and then once the player has > 4 (Since the amount I added was 5 and I couldn't do = 5) the stone would move out of the way so the player could cross the bridge. I also set up the UI so that it appears and disappears when it needs to. I also made the CollectManager script edit the NPC's dialogue after the quest is complete.
At some point around here I added the decorations and I noted things that needed editing slightly. This included making a version of the crystal without a shadow for the UI and adding shadows to the statues and stones. Editing the statues was also helpful because one of the statues on the sprite sheet was not aligned properly. The annoying thing though was that I had to go through and edit the animations for the statue and stone, since I was using animations to move the stone and change the statue sprite. (There was probably another [possibly easier] way to do this, but this was the way that I used.)
I also made a sprite sheet for the health effect for the health collectables.
Once all the decorations and functionalities were working I went on to add sounds.
These are the sounds I found off the website Pixabay.com :
‘Light rain’ sound by liecio from pixabay.com
Ending sound ‘Chaos Emerald’ by wolfy_sanic | Pixabay
Background music ‘SweetVibe’ by Bigvegie from pixabay.com
Mystical wind chime transition.
Cat meow.
Game over arcade.
Collect coin. (Quest complete sound).
Collect.
Background option two ‘Birds singing in and leaves rustling with the wind’ by CaganCelik
Cat purring and meow by skymary. (Played at end with game complete sound)
News Ting
by robni7
There was also another sound which I switched out for the game complete sound.
I did come across I problem where some of the things like the clouds (lowering the players health) stopped working. I can't quite remember the cause of this, but one of the problems was becuase I hadn't added an empty audio source to the Cat. There was another problem on the Collectmanager script, I think because this was in the cat along with the cat controller and both of them were trying to play sounds. I also accidentally had the sound in a loop (since it was set up to play when the player has > 4 collectables) Therfore I added a bool. I also used a bool in the timer script.
For the rain I made the sound 3d.
Once all the sounds worked checked the game and then built it. When building I had to put it in a folder with no spaces. I found it a bit strange consideriong the default unity game folder name has spaces in it. I found this solution by looking on google.
I then had a small problem uploading to simmer since I there I din't build the un compressed version, after this it uploaded sucessfully. Another problem I had was the two scenes were in the wrong order when I built them, luckily I noticed before I uploaded the game.
Overall I am very happy with how the game turned out. I think it looks quite like how I had imagined, maybe even better. I was happy with the sounds I chose too since I think they fit well. The only downsides would be the small problem I noticed when playing the uploaded game which was that one of the health collectables can't be collected because it was placed too close to the water and therefore it was in the water tile's collider. Another thing I think I could have improved was the house since I don't think it matches the style of the game as much as I thought it would. I also think I should have thought more about shadows when making my sprite since it would be a bit annoying to add shadows to the cat at this stage since I would have to update all the animations.
Comments
Post a Comment